From d8a55f6dd87621faa8f8765e0e4cdf7be0824e56 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Tue, 23 Aug 2016 12:26:25 -0700 Subject: [PATCH] Don't complain about sender of MASTER_CLEAR Make an exception for MASTER_CLEAR broadcast when checking for non-protected broadcasts being sent by system uid; Settings app in this case. Change-Id: I296404faf2be03601f8f937b96d3e2f70c0e816d Fixes: 30891377 --- .../core/java/com/android/server/am/ActivityManagerService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index ff3f159b1d08f..21ff50ca078be 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -17777,6 +17777,7 @@ public final class ActivityManagerService extends ActivityManagerNative || Intent.ACTION_MEDIA_BUTTON.equals(action) || Intent.ACTION_MEDIA_SCANNER_SCAN_FILE.equals(action) || Intent.ACTION_SHOW_KEYBOARD_SHORTCUTS.equals(action) + || Intent.ACTION_MASTER_CLEAR.equals(action) || AppWidgetManager.ACTION_APPWIDGET_CONFIGURE.equals(action) || AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action) || LocationManager.HIGH_POWER_REQUEST_CHANGE_ACTION.equals(action)