Public bug reported:

I believe it used to.

I wanted to use it to control whether we show the "Emergency" button on
the lockscreen.

Here's a sample qml file that you can run like so to reproduce:

qmlscene test.qml --desktop_file_hint=webbrowser-app.desktop

"""
import QtQuick 2.4
import Ubuntu.Components 1.3
import Ubuntu.Telephony 0.1 as Telephony

MainView {
    height: units.gu(20)
    width: units.gu(40)

    Column {
        anchors.fill: parent
        spacing: units.gu(2)

        Label {
            text: "Ready: " + (telepathyHelper.ready ? "yes" : "no")
        }

        Label {
            text: "Emergency Calls Available: " + 
(telepathyHelper.emergencyCallsAvailable ? "yes" : "no")
        }

        Label {
            text: "Both: " + ((telepathyHelper.ready && 
telepathyHelper.emergencyCallsAvailable) ? "yes" : "no")
        }
    }
}
"""

** Affects: telephony-service (Ubuntu)
     Importance: Undecided
     Assignee: Gustavo Pichorim Boiko (boiko)
         Status: New

** Changed in: telephony-service (Ubuntu)
     Assignee: (unassigned) => Gustavo Pichorim Boiko (boiko)

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to telephony-service in Ubuntu.
https://bugs.launchpad.net/bugs/1616538

Title:
  telepathyHelper.emergencyCallsAvailable no longer works

Status in telephony-service package in Ubuntu:
  New

Bug description:
  I believe it used to.

  I wanted to use it to control whether we show the "Emergency" button
  on the lockscreen.

  Here's a sample qml file that you can run like so to reproduce:

  qmlscene test.qml --desktop_file_hint=webbrowser-app.desktop

  """
  import QtQuick 2.4
  import Ubuntu.Components 1.3
  import Ubuntu.Telephony 0.1 as Telephony

  MainView {
      height: units.gu(20)
      width: units.gu(40)

      Column {
          anchors.fill: parent
          spacing: units.gu(2)

          Label {
              text: "Ready: " + (telepathyHelper.ready ? "yes" : "no")
          }

          Label {
              text: "Emergency Calls Available: " + 
(telepathyHelper.emergencyCallsAvailable ? "yes" : "no")
          }

          Label {
              text: "Both: " + ((telepathyHelper.ready && 
telepathyHelper.emergencyCallsAvailable) ? "yes" : "no")
          }
      }
  }
  """

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/telephony-service/+bug/1616538/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-apps-bugs
Post to     : ubuntu-apps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-apps-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to