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

Commit 46b32386 authored by Calin Juravle's avatar Calin Juravle Committed by android-build-merger
Browse files

Log DexManager realpath errors only in debug mode. am: 271bacbf

am: 42c7fc7f

Change-Id: I68f14e9a0b7507a93a9569e670b3693958fd7c09
parents ea1c34d4 42c7fc7f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -271,8 +271,12 @@ public class DexManager {
            try {
                dataDirs.add(PackageManagerServiceUtils.realpath(new File(ai.dataDir)));
            } catch (IOException e) {
                if (DEBUG) {
                    // Verify why we're getting spam at boot for some devices.
                    // b/33807524
                    Slog.w(TAG, "Error to get realpath of " + ai.dataDir, e);
                }
            }

        }