Loading services/core/java/com/android/server/pm/dex/ArtManagerService.java +6 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
services/core/java/com/android/server/pm/dex/ArtManagerService.java +6 −2 Original line number Diff line number Diff line Loading @@ -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; Loading