Better named encryption flags, start triaging.
Create distinct flags for encryption aware, unaware, and both, and name them like the other MATCH_ flags. Start adding logic to help triage all system internal callers to verify that they've done their homework and thought about how to handle apps while locked. Call sites in the system should either ask for explicit matching behavior, or explicitly use the DEFAULT match flag to indicate that they've been triaged to use the default state-based matching. Bug: 26250295 Change-Id: I86214e5c4f71a6dc72f06930800388713aecd107
This commit is contained in:
@@ -1322,6 +1322,7 @@ public final class SystemServer {
|
||||
Intent intent = new Intent();
|
||||
intent.setComponent(new ComponentName("com.android.systemui",
|
||||
"com.android.systemui.SystemUIService"));
|
||||
intent.addFlags(Intent.FLAG_DEBUG_ENCRYPTION_TRIAGED);
|
||||
//Slog.d(TAG, "Starting service: " + intent);
|
||||
context.startServiceAsUser(intent, UserHandle.SYSTEM);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user