diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-04-07 17:31:48 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-04-07 17:31:48 -0700 |
commit | 472ad8716e6fda1350d85cdf0c3028333f3aef41 (patch) | |
tree | 7cd9d708fba91630709e226269866e22566ca8e6 /services | |
parent | 25c2dd60d43298c18b9459abd6ff33046d675fe6 (diff) | |
download | frameworks_base-472ad8716e6fda1350d85cdf0c3028333f3aef41.zip frameworks_base-472ad8716e6fda1350d85cdf0c3028333f3aef41.tar.gz frameworks_base-472ad8716e6fda1350d85cdf0c3028333f3aef41.tar.bz2 |
Fix issue #2528537: android.os.DeadObjectException
Nice.
Change-Id: I6142b12b5770b508ff4a43361da6f5e52bed2de9
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/am/ActivityManagerService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 3b655fa..bc26fa0 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java @@ -1369,7 +1369,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen return; } } else { - procs = service.mLruProcesses; + procs = new ArrayList<ProcessRecord>(service.mLruProcesses); } } dumpApplicationMemoryUsage(fd, pw, procs, " ", args); @@ -10202,7 +10202,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen return numPers; } - private static final void dumpApplicationMemoryUsage(FileDescriptor fd, + static final void dumpApplicationMemoryUsage(FileDescriptor fd, PrintWriter pw, List list, String prefix, String[] args) { final boolean isCheckinRequest = scanArgs(args, "--checkin"); long uptime = SystemClock.uptimeMillis(); |