diff options
author | Jing Ji <jji@google.com> | 2021-05-07 03:19:14 -0700 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2021-05-07 11:44:34 -0700 |
commit | eaa7835d03348af38535ce6a835408a63cee7b87 (patch) | |
tree | a7e5d3e9464a2ea71e4156c5f84d8a58a2b6b9eb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 610ec38145abd6284ea594320420d8b54a0c5b1a (diff) |
Fix issue with acquiring singleton content provider from another user
The content provider host app could be living in a different user from
the client app's expectation when it's singleton, this could result in
client app ignores notification of the start of the content provider
because of the discrepancy of user id. Now remember the original
expected user id so client app can clearly know whether the incoming
notification of the start of a content provider is what it expects or
not.
Bug: 181789697
Test: atest CtsContentTestCases:android.content.cts
Test: atest FrameworksCoreTests:android.content
Test: Manual - steps in b/181789697#comment1
Change-Id: Ic909620059e1f989a5e7c8cf3ede2b8d63814a96
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions