diff options
| author | Koushik Dutta <koushd@gmail.com> | 2013-06-21 16:34:44 -0700 |
|---|---|---|
| committer | Koushik Dutta <koushd@gmail.com> | 2013-06-29 21:31:18 -0700 |
| commit | e49288d5b13f33172eadd068d1ef1eb89295f78f (patch) | |
| tree | a3e4551b91438e5ea36975ebadc1f6fe8265581c /services/java/com/android/server/am/ActivityManagerService.java | |
| parent | 9929e6bc78030aa92bfe14094ea3c3696818915a (diff) | |
| download | frameworks_base-e49288d5b13f33172eadd068d1ef1eb89295f78f.zip frameworks_base-e49288d5b13f33172eadd068d1ef1eb89295f78f.tar.gz frameworks_base-e49288d5b13f33172eadd068d1ef1eb89295f78f.tar.bz2 | |
Add SMS Middleware layer.
Add fix so ordered broadcasts are delivered to system
apps first in the event of a tie. This works around
the issue where terrible apps steal SMS notifications
from the broadcast queue to simply prevent notifications
that could otherwise be removed by a toggle.
Change-Id: I4fff0c584f8fce9c5f2f4fe86a82fe6480c307c7
Diffstat (limited to 'services/java/com/android/server/am/ActivityManagerService.java')
| -rw-r--r-- | services/java/com/android/server/am/ActivityManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 618f02c..d7f9eb4 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java @@ -11522,7 +11522,7 @@ public final class ActivityManagerService extends ActivityManagerNative + " was previously registered for user " + rl.userId); } BroadcastFilter bf = new BroadcastFilter(filter, rl, callerPackage, - permission, callingUid, userId); + permission, callingUid, userId, (callerApp.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0); rl.add(bf); if (!bf.debugCheck()) { Slog.w(TAG, "==> For Dynamic broadast"); |
