Files
frameworks_base/core/java/android/content
Adam Bookatz a482921588 Allow bindServiceAsUser without _FULL if same app
Previously we allowed bindServiceAsUser in the following situations:
* caller has INTERACT_ACROSS_USERS_FULL
* caller has INTERACT_ACROSS_USERS and is in same profile group
* caller has INTERACT_ACROSS_PROFILES and is in same profile group and is the same app as the service

We now additionally allow:
* caller has INTERACT_ACROSS_USERS and is the same app as the service
(regardless of whether it is in the same profile group)

Bug: 209989958
Test: tested locally that granting the permission allows access to bindServiceAsUser
Test: atest UserControllerTest
Change-Id: I47d6f86fd159aa993971366ee9d7d334644d391e
2022-01-12 16:18:00 -08:00
..
2021-12-02 19:39:09 +00:00
2021-11-23 23:56:12 +01:00