Register package broadcast receivers for all users.
The existing code is already handling multi-user by reading EXTRA_UID, however the broadcast receiver was only registered for the primary user. So we just need to register it for all users. Fixes: 150038154 Fixes: 153600945 Test: adb shell pm create-user "Test user" Test: adb shell am switch-user 10 Test: atest android.app.appops.cts.AttributionTest Change-Id: I90f5989e858487a780aada00ba2fa7c2e08ff834
Loading
Please register or sign in to comment