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

Commit d7c538d5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "iorap: Add a DEBUG guide on IORap debugging log."

parents 162ac933 e702bf07
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -727,10 +727,14 @@ public class ArtManagerService extends android.content.pm.dex.IArtManager.Stub {
                                       "compiled_trace.pb");
            try {
                boolean exists =  Files.exists(tracePath);
                if (DEBUG) {
                    Log.d(TAG, tracePath.toString() + (exists? " exists" : " doesn't exist"));
                }
                if (exists) {
                    long bytes = Files.size(tracePath);
                    if (DEBUG) {
                        Log.d(TAG, tracePath.toString() + " size is " + Long.toString(bytes));
                    }
                    return bytes > 0L;
                }
                return exists;