Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a00f801b authored by Adam Bookatz's avatar Adam Bookatz
Browse files

Communal profile is always keyguard-unlocked

The Communal Profile is a profile with no parent, and is expected to
be visible over any user's lockscreen. By its very nature, it is
therefore never considered locked. If something (such as
GrantPermissionsActivity) asks whether the device is locked for this
user, it should therefore be told no.

We accomplish this by making sure that unsecured profiles (like the
communal profile) are set to unlocked, just like how managed profiles
were.

Bug: 311073113
Flag: ACONFIG android.multiuser.support_communal_profile DISABLED
Test: atest CtsAppTestCase:asndroid.app.cts.KeyguardManagerStatusTest
Test: Manually confirmed that permissions can be accepted, despite it
requiring a keyguard check

Change-Id: Iffe150cfb6ff65a9c870eafe5b3a2903638cfaf3
parent 4e60e545
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment