diff options
author | Bookatz <bookatz@google.com> | 2019-02-06 13:14:52 -0800 |
---|---|---|
committer | Bookatz <bookatz@google.com> | 2019-02-06 16:09:50 -0800 |
commit | ea05bd56d2f27d2504a15f325be1e2366186b2c8 (patch) | |
tree | 9c78aa173b50ecc9c47982937f2a3c01a1b7b30c /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 38cb44b8991d3aab7c85c64bec1217ce62fe0741 (diff) |
TextClock registerContentObserver with UserHandle
When adding a widget that uses TextClock to the home screen from a work
profile, the home screen may crash due to a
android.permission.INTERACT_ACROSS_USERS permission error, due to a
mismatch between the caller's userId and the widget's userId.
This fix uses the caller's userId to register the ContentObserver.
Bug: 111627637
Test: added a widget (as specified in the bug) that uses TextClock from a work profile
Change-Id: I153e55b755d656f1d7882645df15290bf8ad56f9
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions