summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Victor Hsieh <victorhsieh@google.com> 2024-03-08 11:51:04 -0800
committer Victor Hsieh <victorhsieh@google.com> 2024-03-14 08:17:52 -0700
commitb21751b27805cf99493d6a982e1be7bee3e43837 (patch)
treef176025cb629d43ed192dca85b675115816edc4d /libs/androidfw/StringPool.cpp
parent742f7de477e38d6c0a2413583ead2ed33f4f7284 (diff)
Switch FRP check to the new trustworthy source
Previously, FRP state is stored in a setting. It isn't trustworthy because once an attacker escape from SUW, they can enable adb shell to override the value. In V, we revamped FRP. This change switches the check against the new API. Bug: 328802636 Test: adb shell cmd persistent_data_block activate # Install APK from AOSP Files app failed Test: adb shell cmd persistent_data_block auto_deactivate # Install APK from AOSP Files app succeeded Change-Id: I404ff769a5158a967539722235e3a7dd269d6e1c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions