diff options
| author | Philip P. Moltmann <moltmann@google.com> | 2019-05-22 14:57:18 -0700 | 
|---|---|---|
| committer | Philip P. Moltmann <moltmann@google.com> | 2019-05-23 11:47:22 -0700 | 
| commit | 5f5783e1fd5003f0a6e5abfe20975978382209c3 (patch) | |
| tree | 6c1af48ecc185a6b35a5478e91f64d18fb50a994 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 261b3b13b0b950d58865f70592b2223de14869ae (diff) | |
Make sure to always upgrade runtime permissions
- For users running when the PermissionPolicyService is initialized we
  are not running onStartUser. Hence we have force to do this in
  onBootPhase
- Only write the runtime-permission fingerprint after all permission
  upgrade steps are done
  - This also means that if a user was not started in the first boot
    after an OTA we do not upgrade the fingerprint until the user was
    eventually started
Fixes: 132737426
Test: - Started a fresh build
      - Rebooted
      - Simulated an OTA
      - Added a second user
      - Simulated an OTA with a second user, rebooted and only then
        started the second user
Change-Id: I0758e8bdfefc16139bde2444f126adc3b0a17526
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
