diff options
author | Mady Mellor <madym@google.com> | 2021-03-29 16:48:30 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2021-03-30 23:23:08 +0000 |
commit | edddfb37ef05871f3d6411440f5140d23348db67 (patch) | |
tree | 896c6f92d280faf4fdc047fe5868b578c67523f4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4d7d9c5fceb9e437674257a239d787e87dbc6920 (diff) |
DO NOT MERGE Fix bubbles for workprofile
- use getPackageManagerForUser when looking up app info
- use the userId on the bubble, not the currentUserId from
BubbleController when writing to XML as the currentUserId
in BubbleController does not account for workprofile.
Test: atest SystemUITests
Test: atest BubbleControllerTest
Test: - have a managed work profile
- install the bubbles app *only* for the work profile
- make some bubbles
=> Notice bubbles appear
- dismiss all the bubbles
- restart the device, add a bubble
- open the bubble, navigate to the bubble overflow
=> notice the previously dismissed workprofile bubbles
are in the overflow
Bug: 184041127
Change-Id: Iefc4e4e80a569a4f3b4ac3b8a1268de1b475409b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions