Log DexManager realpath errors only in debug mode. am: 271bacbf5c
am: 42c7fc7f27
Change-Id: I68f14e9a0b7507a93a9569e670b3693958fd7c09
This commit is contained in:
@@ -271,7 +271,11 @@ 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) {
|
||||||
Slog.w(TAG, "Error to get realpath of " + ai.dataDir, 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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user