Loading core/java/android/app/LoadedApk.java +1 −2 Original line number Original line Diff line number Diff line Loading @@ -597,8 +597,7 @@ public final class LoadedApk { // Avoid the binder call when the package is the current application package. // Avoid the binder call when the package is the current application package. // The activity manager will perform ensure that dexopt is performed before // The activity manager will perform ensure that dexopt is performed before // spinning up the process. // spinning up the process. if (!Objects.equals(mPackageName, ActivityThread.currentPackageName())) { if (!Objects.equals(mPackageName, ActivityThread.currentPackageName()) && mIncludeCode) { VMRuntime.getRuntime().vmInstructionSet(); try { try { ActivityThread.getPackageManager().notifyPackageUse(mPackageName, ActivityThread.getPackageManager().notifyPackageUse(mPackageName, PackageManager.NOTIFY_PACKAGE_USE_CROSS_PACKAGE); PackageManager.NOTIFY_PACKAGE_USE_CROSS_PACKAGE); Loading Loading
core/java/android/app/LoadedApk.java +1 −2 Original line number Original line Diff line number Diff line Loading @@ -597,8 +597,7 @@ public final class LoadedApk { // Avoid the binder call when the package is the current application package. // Avoid the binder call when the package is the current application package. // The activity manager will perform ensure that dexopt is performed before // The activity manager will perform ensure that dexopt is performed before // spinning up the process. // spinning up the process. if (!Objects.equals(mPackageName, ActivityThread.currentPackageName())) { if (!Objects.equals(mPackageName, ActivityThread.currentPackageName()) && mIncludeCode) { VMRuntime.getRuntime().vmInstructionSet(); try { try { ActivityThread.getPackageManager().notifyPackageUse(mPackageName, ActivityThread.getPackageManager().notifyPackageUse(mPackageName, PackageManager.NOTIFY_PACKAGE_USE_CROSS_PACKAGE); PackageManager.NOTIFY_PACKAGE_USE_CROSS_PACKAGE); Loading