← Back to team overview

ubuntu-phone team mailing list archive

Re: Status update: Planned changes to the developer mode/adb access

 

On Wed, Jul 9, 2014 at 10:54 AM, Oliver Grawert <ogra@xxxxxxxxxx> wrote:

> > ACTION (phonedations): Identify how to retrieve the lock screen state
>

There is a branch waiting to land into unity8 that allows this:
https://code.launchpad.net/~mterry/unity8/is-active/+merge/223653

Once that's in, you should be able to do something like:
gdbus call --session --dest com.canonical.UnityGreeter --object-path /
--method org.freedesktop.DBus.Properties.Get IsActive

References