summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorNicholas Sauer <nicksauer@google.com>2018-12-16 11:23:46 -0800
committerNicholas Sauer <nicksauer@google.com>2018-12-16 19:34:36 +0000
commit8d7120f68a5f62cf0e173c7a1062cf50f6eb5822 (patch)
tree1d1583202fdf9c7162d30e487e434b0bc8aafa0c /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent90dcdb2177a1edae7b37ae72a54bedb8eb19507b (diff)
Retrieve packages for the specified user.
DefaultDialerManager#setDefaultDialerApplication is meant to execute on the current user. However it retreives packages for the user specified in the context -- which can be different than the user specified in the method call. As a result, calls to setDefaultDialerApplication can be successful even if the component is disabled in the current (secondary) user. bug: 121094764 Test: via CTS adb shell am switch-user 10 cts-tradefed run cts-dev -a arm64-v8a -m CtsTelecomTestCases -t android.telecom.cts.DefaultDialerOpest#testSetDefaultDialerNoDialIntent_notSupported adb shell am switch-user 0 cts-tradefed run cts-dev -a arm64-v8a -m CtsTelecomTestCases -t android.telecom.cts.DefaultDialerOpest#testSetDefaultDialerNoDialIntent_notSupported Change-Id: I0992594f8791791eacba43e03ca1c293832eddcf
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions