summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2017-02-03 15:15:57 -0800
committerSudheer Shanka <sudheersai@google.com>2017-03-01 12:03:10 -0800
commitb4e2ddde4f08ba25f57c97a4fe7c339cbe805559 (patch)
treed6cfa60c0ae9a0482c7610ac13a2f14dbae03363 /tools/aapt2/diff/Diff.cpp
parent3b264fa2afdeb7c01753eb6879e0f7f2461267e4 (diff)
Use context's userId in ContentResolver class.
- When registering and notifying observers, we should use the user in the context as opposed to current user. - Relax the permission check while registering and notifying content observers to use INTERACT_ACROSS_USERS instead of INTERACT_ACROSS_USERS_FULL permission. Change-Id: I973936903d4a2272c5722f3b98a057a40c0402be Fixes: 32955100 Test: Created managed profile and verified that there are not failures. runtest -x core/tests/coretests/src/android/content/SecondaryUserContentResolverTest.java runtest -x core/tests/coretests/src/android/content/ManagedUserContentResolverTest.java
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions