Add Device Owner disclosure to Add Accounts dialog
This CL adds a footer to the Add Accounts dialog that tells the user when the device is managed by a Device Owner app. Bug: 32692748 Test: make RunSettingsRoboTests Change-Id: I0dd161eb0bbbc87c04692d4fa6547bd41dab05e0
This commit is contained in:
@@ -198,7 +198,7 @@ public final class InstalledAppCounterTest {
|
||||
}
|
||||
}
|
||||
|
||||
private class IsLaunchIntentFor extends ArgumentMatcher<Intent> {
|
||||
private static class IsLaunchIntentFor extends ArgumentMatcher<Intent> {
|
||||
private final String mPackageName;
|
||||
|
||||
IsLaunchIntentFor(String packageName) {
|
||||
@@ -211,7 +211,7 @@ public final class InstalledAppCounterTest {
|
||||
if (intent == null) {
|
||||
return false;
|
||||
}
|
||||
if (intent.getAction() != Intent.ACTION_MAIN) {
|
||||
if (!Intent.ACTION_MAIN.equals(intent.getAction())) {
|
||||
return false;
|
||||
}
|
||||
final Set<String> categories = intent.getCategories();
|
||||
|
Reference in New Issue
Block a user