commit | d5f77513e5b9fd4fbceacea22eae7dd0de4dd2d1 | [log] [tgz] |
---|---|---|
author | shafik <shafik@google.com> | Fri Feb 21 15:29:58 2020 +0000 |
committer | shafik <shafik@google.com> | Fri Feb 21 17:45:08 2020 +0000 |
tree | 285ed617745531c0efe0180a83d71a5eaf756880 | |
parent | d4bf524ade73ff4c2cd4ddce9f2caecff09fa7c7 [diff] |
Ignore package mode for MANAGE_EXTERNAL_STORAGE OP_MANAGE_EXTERNAL_STORAGE's app-op mode should be set via setUidMode instead of setMode. This change ignores the package mode (set via setMode) for that app-op. Test: manual update test * adb pull /data/system/appops.xml # observe that app-op in the file * flash device with the change * adb pull /data/system/appops.xml # observe the app-op was removed Change-Id: I8dd503592ae20388e59b109a4b04f58d00a9597c