summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSergii Iegorov <sergii.iegorov@globallogic.com>2019-11-28 16:33:39 +0200
committerSergii Iegorov <sergii.iegorov@globallogic.com>2019-12-06 19:36:14 +0200
commit926e83a4f64932ba84e806f07306074f1a301af3 (patch)
treed906ee80813a8dc75f036319ebd716cb5e5a79e6 /tools/aapt2/java/JavaClassGenerator.cpp
parent6a8eaf415d61525d604377e641532951ba26ca1d (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions