|
352 | 352 | import com.android.server.firewall.IntentFirewall; |
353 | 353 | import com.android.server.job.JobSchedulerInternal; |
354 | 354 | import com.android.server.pm.Installer; |
355 | | -import com.android.server.pm.Installer.InstallerException; |
356 | 355 | import com.android.server.uri.GrantUri; |
357 | 356 | import com.android.server.uri.UriGrantsManagerInternal; |
358 | 357 | import com.android.server.utils.PriorityDump; |
|
364 | 363 | import com.android.server.wm.WindowManagerService; |
365 | 364 | import com.android.server.wm.WindowProcessController; |
366 | 365 |
|
367 | | -import dalvik.system.VMRuntime; |
368 | | - |
369 | 366 | import libcore.util.EmptyArray; |
370 | 367 |
|
371 | 368 | import java.io.File; |
@@ -5205,26 +5202,6 @@ final void finishBooting() { |
5205 | 5202 | mCallFinishBooting = false; |
5206 | 5203 | } |
5207 | 5204 |
|
5208 | | - ArraySet<String> completedIsas = new ArraySet<String>(); |
5209 | | - for (String abi : Build.SUPPORTED_ABIS) { |
5210 | | - ZYGOTE_PROCESS.establishZygoteConnectionForAbi(abi); |
5211 | | - final String instructionSet = VMRuntime.getInstructionSet(abi); |
5212 | | - if (!completedIsas.contains(instructionSet)) { |
5213 | | - try { |
5214 | | - mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)); |
5215 | | - } catch (InstallerException e) { |
5216 | | - if (!VMRuntime.didPruneDalvikCache()) { |
5217 | | - // This is technically not the right filter, as different zygotes may |
5218 | | - // have made different pruning decisions. But the log is best effort, |
5219 | | - // anyways. |
5220 | | - Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" + |
5221 | | - e.getMessage() +")"); |
5222 | | - } |
5223 | | - } |
5224 | | - completedIsas.add(instructionSet); |
5225 | | - } |
5226 | | - } |
5227 | | - |
5228 | 5205 | IntentFilter pkgFilter = new IntentFilter(); |
5229 | 5206 | pkgFilter.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART); |
5230 | 5207 | pkgFilter.addDataScheme("package"); |
|
0 commit comments