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

Skip to content
Commit b21751b2 authored by Victor Hsieh's avatar Victor Hsieh
Browse files

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
parent 742f7de4
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