Skip to content
Commit 6a2480d9 authored by Hai Zhang's avatar Hai Zhang
Browse files

Fix performance issue from refreshing runtime permission state before write.

- The writeRuntimePermissionsForUserLPr() call in
  installPackageFromSystemLIF() doesn't seem necessary at all.
- Call writeLegacyPermissionStateTEMP() only once for all users in
  writePermissionSettings().

Fixes: 172297495
Test: presubmit
Change-Id: I459bc853cd4f72b70fad84bae9fb189dd974cfbf
parent fd4623c3
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