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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user