summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Sergii Iegorov <sergii.iegorov@globallogic.com> 2019-11-28 16:33:39 +0200
committer Sergii Iegorov <sergii.iegorov@globallogic.com> 2020-04-07 15:44:06 +0000
commit45b9071670312fe62988e92977e5609273045cbb (patch)
tree865e6df57fc75603da0c9c9e6027ed1e4225e22e /libs/androidfw/StringPool.cpp
parenta13af898bd38e61fc991ae8b18d8db085cd7b7ae (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 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions