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

Commit 271bacbf authored by Calin Juravle's avatar Calin Juravle
Browse files

Log DexManager realpath errors only in debug mode.

Test: runtest -x .../DexManagerTests.java
Bug: 33807524

(cherry picked from commit bb9ed1f3)

Change-Id: Ib962edf67ce7f5b9b93c9bc6855675e00e025810
parent 5a9094c1
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);
                }
            }

        }