Skip to content
Commit edddfb37 authored by Mady Mellor's avatar Mady Mellor
Browse files

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
parent 4d7d9c5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment