This is how the SDK unlocks the phone:
powerd = subprocess.Popen(["powerd-cli", "display",
"on"],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)
sessionBus = dbus.SessionBus()
unityGreeter = sessionBus.get_object('com.canonical.UnityGreeter','/')
unityGreeterIFace =
dbus.Interface(unityGreeter,dbus_interface='com.canonical.UnityGreeter')
unityGreeterIFace.HideGreeter()
# run app and wait until its closed
powerd.terminate()
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1435364
Title:
Lockscreen unresponsive after starting app from QtC or cmdline
Status in unity8 package in Ubuntu:
Triaged
Bug description:
Steps to reproduce:
* Launch an app from QtCreator
* close the app again
* Lock the screen
* try to unlock the screen again
=> lockscreen unresponsive
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1435364/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp