summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2024-08-19 11:39:47 -0400
committer Fabián Kozynski <kozynski@google.com> 2024-08-19 12:03:59 -0400
commit0003864b9073be9f99de175a8d76dd686587e81b (patch)
tree04acf317dc201501ec55e76e38d70cd8bc9737a2 /libs/androidfw/StringPool.cpp
parentd208ee5f7ed1de421f460fbd4ed2450a92492443 (diff)
Properly check for secondary user ServiceInfo
When a TileService is only installed in a secondary user (for example, with HSUM), the checks for isActive and isToggleable would return false, as the package cannot be found (because we are implicitly checking for user 0). With this fix, check using the correct user. Fixes: 360367168 Test: atest com.android.systemui.qs Test: manual, install TileService only in secondary user Flag: EXEMPT bugfix Change-Id: I1ebeef62d046a3ad7afbfc48bba5b0308becb906
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions