Skip to content
Commit c72c9d17 authored by Zim's avatar Zim
Browse files

Disable resetting OP_LEGACY_STORAGE

When app preferences are reset AppOpsService toggles the appops for
all apps. This gives the Op watchers a chance to reset any state.

For OP_LEGACY_STORAGE case, the StorageManagerService listens for
changes so it can remount the appropriate storage view for the app.
This remount operation is expensive and unnecessary when resetting
app preferences because the view would not change at the end of the
reset.

Test: No remount uid logs from op changes when resetting app preferences
Bug: 141678467
Change-Id: I86c36786652b36504e624e3f021ad73396328c5d
parent 0f2b7fd2
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