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

Commit 42c7fc7f 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

Change-Id: I94aca4959284912e6d5008f56617254be2fc3ea7
parents dc10a3bd 271bacbf
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);
                }
            }

        }