b4e2ddde4f08ba25f57c97a4fe7c339cbe805559 |
|
04-Feb-2017 |
Sudheer Shanka <sudheersai@google.com> |
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
/frameworks/base/core/tests/coretests/src/android/content/CrossUserContentService.java
|
da2006a0bd169f8ac22d3c626eeb5616c907fed3 |
|
15-Feb-2017 |
Esteban Talavera <etalavera@google.com> |
Revert "Use context's userId in ContentResolver class." This reverts commit 2b44387f5d706e477418795c2d57d0909dc7ed22. Bug: 35374151 Change-Id: Ifdde7a3b4e9141d7e283478aff49971c6a5dcaa2
/frameworks/base/core/tests/coretests/src/android/content/CrossUserContentService.java
|
2b44387f5d706e477418795c2d57d0909dc7ed22 |
|
04-Feb-2017 |
Sudheer Shanka <sudheersai@google.com> |
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. Fixes: 32955100 Test: runtest -x core/tests/coretests/src/android/content/CrossUserContentResolverTest.java Change-Id: Idc169d6cc1ec0cea40a736b87c12d4609f1de9c7
/frameworks/base/core/tests/coretests/src/android/content/CrossUserContentService.java
|