Loading services/core/java/com/android/server/pm/PackageDexOptimizer.java +3 −0 Original line number Diff line number Diff line Loading @@ -725,6 +725,9 @@ public class PackageDexOptimizer { } catch (IOException ioe) { Slog.w(TAG, "IOException reading apk: " + path, ioe); return DEX_OPT_FAILED; } catch (Exception e) { Slog.wtf(TAG, "Unexpected exception when calling dexoptNeeded on " + path, e); return DEX_OPT_FAILED; } return adjustDexoptNeeded(dexoptNeeded); } Loading services/core/java/com/android/server/pm/dex/DexManager.java +10 −0 Original line number Diff line number Diff line Loading @@ -548,6 +548,16 @@ public class DexManager { continue; } if (dexUseInfo.isUnsupportedClassLoaderContext() || dexUseInfo.isVariableClassLoaderContext()) { String debugMsg = dexUseInfo.isUnsupportedClassLoaderContext() ? "unsupported" : "variable"; Slog.w(TAG, "Skipping dexopt for system server path loaded with " + debugMsg + " class loader context: " + dexPath); continue; } int newResult = pdo.dexoptSystemServerPath(dexPath, dexUseInfo, overriddenOptions); // The end result is: Loading Loading
services/core/java/com/android/server/pm/PackageDexOptimizer.java +3 −0 Original line number Diff line number Diff line Loading @@ -725,6 +725,9 @@ public class PackageDexOptimizer { } catch (IOException ioe) { Slog.w(TAG, "IOException reading apk: " + path, ioe); return DEX_OPT_FAILED; } catch (Exception e) { Slog.wtf(TAG, "Unexpected exception when calling dexoptNeeded on " + path, e); return DEX_OPT_FAILED; } return adjustDexoptNeeded(dexoptNeeded); } Loading
services/core/java/com/android/server/pm/dex/DexManager.java +10 −0 Original line number Diff line number Diff line Loading @@ -548,6 +548,16 @@ public class DexManager { continue; } if (dexUseInfo.isUnsupportedClassLoaderContext() || dexUseInfo.isVariableClassLoaderContext()) { String debugMsg = dexUseInfo.isUnsupportedClassLoaderContext() ? "unsupported" : "variable"; Slog.w(TAG, "Skipping dexopt for system server path loaded with " + debugMsg + " class loader context: " + dexPath); continue; } int newResult = pdo.dexoptSystemServerPath(dexPath, dexUseInfo, overriddenOptions); // The end result is: Loading