Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18582a82 authored by Mathieu Chartier's avatar Mathieu Chartier Committed by Android Git Automerger
Browse files

am 0cd623bb: Merge "Use Runtime.gc instead of System.gc for DDMS."

* commit '0cd623bb':
  Use Runtime.gc instead of System.gc for DDMS.
parents 1c1827a6 0cd623bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ public class DdmHandleHeap extends ChunkHandler {

        if (false)
            Log.d("ddm-heap", "Heap GC request");
        System.gc();
        Runtime.getRuntime().gc();

        return null;        // empty response
    }