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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1616538

Title:
  telepathyHelper.emergencyCallsAvailable no longer works

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to