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
6 files changed