[telephony-app] should check for network registration state before enabling the call/send sms button

Bug #1089598 reported by Ricardo Salveti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dialer-app (Ubuntu)
Fix Released
High
Ricardo Salveti

Bug Description

Currently the telephony-app is not checking for network registration state at all, and always giving the user the possibility to do calls and send sms, even if that's not enabled by ofono.

With latest ofono (1.9phablet9), the registration property is already exported via ofono dbus api, so this just needs to be added to the app itself.

E.g.:
- NetworkRegistration.GetProperties:
root@localhost:/# dbus-send --system --print-reply --dest=org.ofono /galaxynexus_0 org.ofono.NetworkRegistration.GetProperties
method return sender=:1.15 -> dest=:1.22 reply_serial=2
   array [
      dict entry(
         string "Status"
         variant string "registered"
      )
      dict entry(
         string "Mode"
         variant string "auto"
      )
      dict entry(
         string "LocationAreaCode"
         variant uint16 50219
      )
      dict entry(
         string "CellId"
         variant uint32 12593173
      )
      dict entry(
         string "Technology"
         variant string "umts"
      )
      dict entry(
         string "MobileCountryCode"
         variant string "724"
      )
      dict entry(
         string "MobileNetworkCode"
         variant string "03"
      )
      dict entry(
         string "Name"
         variant string "TIM 3G 19"
      )
   ]

Revision history for this message
Tony Espy (awe) wrote :

Note, the connection manager should be able to listen for an associated PropertiesChanged signal to monitor when the registration status changes.

information type: Proprietary → Public
affects: manhattan → touch-preview-images
Changed in touch-preview-images:
assignee: nobody → Ricardo Salveti (rsalveti)
affects: touch-preview-images → dialer-app (Ubuntu)
tags: added: touch-preview-images
Revision history for this message
Bill Filler (bfiller) wrote :

call/send button always enabled but an error is displayed if the network is not connected

Changed in dialer-app (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.