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

Commit 4b92117b 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

am: 46b32386

Change-Id: I55e04d69bba9d14f0527c648d29f8ec8b7bbddfb
parents a9911290 46b32386
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -271,8 +271,12 @@ public class DexManager {
            try {
            try {
                dataDirs.add(PackageManagerServiceUtils.realpath(new File(ai.dataDir)));
                dataDirs.add(PackageManagerServiceUtils.realpath(new File(ai.dataDir)));
            } catch (IOException e) {
            } 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);
                    Slog.w(TAG, "Error to get realpath of " + ai.dataDir, e);
                }
                }
            }


        }
        }