Merge "Re-enable Optimizing apps dialog" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4ac550f681
@@ -7014,6 +7014,15 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
Log.i(TAG, "Extracting app " + curr + " of " + total + ": " + pkg.packageName);
|
||||
}
|
||||
|
||||
if (!isFirstBoot()) {
|
||||
try {
|
||||
ActivityManagerNative.getDefault().showBootMessage(
|
||||
mContext.getResources().getString(R.string.android_upgrading_apk,
|
||||
curr, total), true);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
|
||||
if (PackageDexOptimizer.canOptimizePackage(pkg)) {
|
||||
// If the cache was pruned, any compiled odex files will likely be out of date
|
||||
// and would have to be patched (would be SELF_PATCHOAT, which is deprecated).
|
||||
|
||||
Reference in New Issue
Block a user