Fix INTERACT_ACROSS_USERS change version

Commit I47d6f86fd159aa993971366ee9d7d334644d391e changed how bindServiceAsUser behaves  with INTERACT_ACROSS_USERS. This was a change in T, but the documentation accidentally referred to S. So we fix that.

Bug: 209989958
Change-Id: Ib8f614bfa4ae1b4333c56dec3e6cae731e4137ee
Test: N/A
This commit is contained in:
Adam Bookatz
2022-05-27 18:01:02 +00:00
parent d7df1b2804
commit be3eb54663

View File

@@ -3670,7 +3670,7 @@ public abstract class Context {
* <li>caller has {@code android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}</li>
* <li>caller has {@code android.Manifest.permission.INTERACT_ACROSS_USERS} and is the same
* package as the {@code service} (determined by its component's package) and the Android
* version is at least {@link android.os.Build.VERSION_CODES#S}</li>
* version is at least {@link android.os.Build.VERSION_CODES#TIRAMISU}</li>
* <li>caller has {@code android.Manifest.permission.INTERACT_ACROSS_USERS} and is in same
* profile group as the given {@code user}</li>
* <li>caller has {@code android.Manifest.permission.INTERACT_ACROSS_PROFILES} and is in same