diff options
Diffstat (limited to 'cmds/am/src/com')
-rw-r--r-- | cmds/am/src/com/android/commands/am/Am.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java index 0a53371..908d46e 100644 --- a/cmds/am/src/com/android/commands/am/Am.java +++ b/cmds/am/src/com/android/commands/am/Am.java @@ -1189,12 +1189,12 @@ public class Am extends BaseCommand { private void runSetWatchHeap() throws Exception { String proc = nextArgRequired(); String limit = nextArgRequired(); - mAm.setDumpHeapDebugLimit(proc, Long.parseLong(limit)); + mAm.setDumpHeapDebugLimit(proc, 0, Long.parseLong(limit), null); } private void runClearWatchHeap() throws Exception { String proc = nextArgRequired(); - mAm.setDumpHeapDebugLimit(proc, -1); + mAm.setDumpHeapDebugLimit(proc, 0, -1, null); } private void runBugReport() throws Exception { |