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

Commit e25bf5dc authored by Yu Shan Emily Lau's avatar Yu Shan Emily Lau Committed by Android (Google) Code Review
Browse files

Merge "Fix the bug that it should write the zero diff to the output file when...

Merge "Fix the bug that it should write the zero diff to the output file when the actual diff is negative."
parents bb51d9fe adc238a9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -395,9 +395,9 @@ public class MediaPlayerPerformance extends ActivityInstrumentationTestCase<Medi
        Thread.sleep(10000);
        mEndPid = getMediaserverPid();
        int memDiff = mEndMemory - startMemory;
        if (memDiff < 0)
        if (memDiff < 0) {
            memDiff = 0;
        else
        }
        output.write("The total diff = " + memDiff);
        output.write("\n\n");
        // mediaserver crash