Theres an option in settings that exposes a power button option that turns off Smart Lock, fingerprint unlocking and notifications on the lock screen.
Could Lockdown be triggered by an Action? I'm not sure if this a standard Pie feature exposed by an API or Pixel-specific...
Pixel 2 on Pie Lockdown option
Moderator: Martin
Pixel 2 on Pie Lockdown option
Last edited by Wibbly on 20 Oct 2018 18:06, edited 2 times in total.
Re: Pixe 2 on Pie Lockdown option
I don't quite get what you want to do. Do you mean to disable android security feature? You can try to use Set Disabled Keyguard Features, and disable the ones you want.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Pixe 2 on Pie Lockdown option
Pie seems to have an option to do a number of things concurrently from the power menu with an option that can be added. I would like to be able to activate the option programatically to 'lock down' the phone under some conditions, especially stopping notification visibility...
Re: Pixel 2 on Pie Lockdown option
Oh, you mean you want to toggle the Show lockdown option? You can try to do this using Set System Setting. But first you have to find which value correspond to that setting. With Automagic 1.36.0, we can put * in the Trigger System setting Changed. So you can put 3 of them at the same flow and use my variable logger (see my index) to log the changes. Toggle the Show lockdown option and check the value at the glovar. Use that value in the Set System Setting. Doesn't guarantee to work properly
The other definite method is to use control UI, navigate to the menu and toggle the menu. Of course, this will work only on screen on and have UI distraction.
The other definite method is to use control UI, navigate to the menu and toggle the menu. Of course, this will work only on screen on and have UI distraction.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Pixe 2 on Pie Lockdown option
What's the recommended method to re-enable the features that have been disabled with this action? Run action again with everything unticked?Desmanto wrote:You can try to use Set Disabled Keyguard Features, and disable the ones you want.
Re: Pixel 2 on Pie Lockdown option
Yes, exactly like that. tick to disable and untick to enable.Wibbly wrote: What's the recommended method to re-enable the features that have been disabled with this action? Run action again with everything unticked?
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.