summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Adam Bookatz <bookatz@google.com> 2024-01-17 14:37:50 -0800
committer Adam Bookatz <bookatz@google.com> 2024-01-29 19:56:54 +0000
commita00f801be109b3cd55d3f54db940ac6aed6b050e (patch)
treee3d698cec510be545da5a4f9c28e585611419441 /libs/androidfw/FileStream.cpp
parent4e60e545c6d49db586a190b0e1d0d548abff5d5d (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions