Only check INTERACT_ACROSS_USERS_FULL when user handle is not current

Bug: 326057017
Change-Id: I83ab4461f28e7f40c676099213c840a1a7dc932a
Test: atest; open app info pages from both primary and secondary profile -> verify they open as expected
Flag: EXEMPT bug fix
This commit is contained in:
Chris Antol
2024-08-29 19:50:55 +00:00
parent d72678d33d
commit 78ee160c20
2 changed files with 10 additions and 10 deletions

View File

@@ -250,7 +250,7 @@ public class AppInfoWithHeaderTest {
}
@Override
protected boolean hasInteractAcrossUsersPermission() {
protected boolean hasInteractAcrossUsersFullPermission() {
return true;
}
@@ -267,7 +267,7 @@ public class AppInfoWithHeaderTest {
private static final class TestFragmentWithoutPermission extends TestFragment {
@Override
protected boolean hasInteractAcrossUsersPermission() {
protected boolean hasInteractAcrossUsersFullPermission() {
return false;
}
}