summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2024-01-30 17:41:14 -0800
committer Alejandro Nijamkin <nijamkin@google.com> 2024-01-31 07:47:59 -0800
commit922c54c427157ac3f41e4d163a5c51252388159f (patch)
tree22c4ff98263d81595b95c4b70ef4cc9755b19601 /libs/androidfw/StringPool.cpp
parentb997300a8535109dd47668f379099b481fb5a4ad (diff)
[flexiglass] FRP support.
When FRP (factory reset protection) is active, System UI shouldn't be visible, avoiding security holes and letting the setup wizard prompt the new user of the device to enter the credentials of the previous user. To achieve this in Flexiglass, we simply observe the isFactoryResetProtectionActive state and make sure that, if it's true, the visibility of the entire scene container is false. Fix: 322197941 Test: manually made sure that SysUI is completely gone and cannot be interacted with when I hard-coded DeviceProvisionedController.isFrpActive to return true. Test: I WASN'T ABLE TO actually trigger FRP to fully test the feature despite multiple device factory resets Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Change-Id: I043507704ccb6ab9f4b828aef74a43c37c21bf53
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions