Public bug reported:

I have a simple code like:

        DeviceInfo {
            id: deviceInfos
        }


                ListItem.SingleValue {
                    objectName: "imeiItem"
                    property string imeiNumber
                    imeiNumber: deviceInfos.imei(0)
                    text: "IMEI"
                    value: imeiNumber
                    visible: true
                }


If I set the "Security Profile" to  the following:

{
    "policy_groups": [],
    "policy_version": 1.1,
    "template": "unconfined"
}

Then I can get the IMEI number. However, if I set it to:

{
    "policy_groups": [
        "networking",
        "connectivity"
    ],
    "policy_version": 1.1
}

I could not get the IMEI number. According to
http://developer.ubuntu.com/publish/apps/security-policy-for-click-
packages/

connectivity: Can access coarse network connectivity information
QML: qtdeclarative5-systeminfo-plugin
import QtSystemInfo <version>
Other APIs: Qt5 QHostAddress and QNetworkInterface

"connectivity" has been added, however, it does not retrieve any of the
useful information. I have checked the "/var/log/syslog", there is no
violation as well.

Best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1338420

Title:
  Cannot get the IMEI number

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1338420/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to