summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSergii Iegorov <sergii.iegorov@globallogic.com>2019-11-28 16:33:39 +0200
committerMakoto Onuki <omakoto@google.com>2020-04-09 08:10:44 -0700
commit477c433b985cdf045baf2d9e70eec256720aa803 (patch)
tree90c0a8bfea53b4a093e2b1ef691453e29aa32106 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent53c55f826006c5345d269351445c8381a96b81f7 (diff)
Fix CtsShortcutHostTestCases#testSecondaryUser
This patch uses Instrumentation parameter inside getDefaultLauncher function to obtain user ID from it and get default launcher namely for that user as setDefaultLauncher function sets launcher for the user from Instrumentation context. This fixes incorrect launcher settings for the cases that use two sequential calls to get/set default launcher. Bug: 145774461 Test: run cts -m CtsShortcutHostTestCases -t \ android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest#testSecondaryUser Signed-off-by: Sergii Iegorov <sergii.iegorov@globallogic.com> Change-Id: I8941f5648ad783c7681fdb56677e855756db957d Merged-in: I8941f5648ad783c7681fdb56677e855756db957d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions