Skip to content
Commit a6850061 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Permit Recents component to access multiple users data

After switching users, Recents maintains task state
listeners for all users and as such needs to request
tasks from all users instead of just the current one.
There's a separate task in which we need to audit the
callbacks and associate userIds with them or only
send callbacks to potentially active users.
See b/146080174
However, some components around sysUi still need
access to multiple users data so this removal of this
check is still necessary.

Fixes: 144702576
Test: Setup work profile under primary user using
Test DPC app. Opened both work and non-work profile
apps, switch profile to guest, observed no crash.
Also did test steps in ag/3469837 for which the
checks were originally introduced.

Change-Id: I9b30a0287246594200fba7a3af075d0051b5fac2
parent 433d6038
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment