Allow Recents in current user to access APIs in its child profile
At this point, we just need to whitelist Recents for these: isDeviceLocked loadTaskDescriptionIcon getActivityInfo However, I think in the long run, it may need more than that, so I modified AMS.handleIncomingUser accordingly. PKMS does not use handleIncomingUser and hence isRecentsAccessingChildProfiles is introduced there. Fix: 71722266 Test: Manual 1. Setup work profile 2. Launch some work and personal apps 3. Swipe up to see the new Recents 3. Can see recent apps are rendered correctly with icons badged accordingly. 4. Can switch to the task 5. Can remove task Change-Id: I56b5f6091c232fc8327e01de472467d630570030
Loading
Please register or sign in to comment