← Back to team overview

touch-packages team mailing list archive

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

 

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dialer-app in Ubuntu.
https://bugs.launchpad.net/bugs/1089598

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

Status in “dialer-app” package in Ubuntu:
  Fix Released

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"
        )
     ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dialer-app/+bug/1089598/+subscriptions