summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorBookatz <bookatz@google.com>2019-02-06 13:14:52 -0800
committerBookatz <bookatz@google.com>2019-02-06 16:09:50 -0800
commitea05bd56d2f27d2504a15f325be1e2366186b2c8 (patch)
tree9c78aa173b50ecc9c47982937f2a3c01a1b7b30c /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent38cb44b8991d3aab7c85c64bec1217ce62fe0741 (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