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
Loading
Please register or sign in to comment