commit | 6cbd33fc25fa48dcb673edc150d2315bec4ade3a | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Mon Sep 17 18:28:24 2012 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Mon Sep 17 18:43:00 2012 -0700 |
tree | 48aaa5c77339442b75ae67e56f90823ee754e16c | |
parent | c71a57d6fa45edf67e79e948b4656fa25a11f1b8 [diff] [blame] |
Fix dumb bug merging receivers for multiple users. Also clean up some debug output. Change-Id: Ib19e47682e9ddfc6a234bd61d054275a362d28cc
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 989477f..24cdbdf 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -11432,7 +11432,7 @@ // Add the new results to the existing results, tracking // and de-dupping single user receivers. for (int i=0; i<newReceivers.size(); i++) { - ResolveInfo ri = receivers.get(i); + ResolveInfo ri = newReceivers.get(i); if ((ri.activityInfo.flags&ActivityInfo.FLAG_SINGLE_USER) != 0) { ComponentName cn = new ComponentName( ri.activityInfo.packageName, ri.activityInfo.name);