OSDN Git Service

Hide 'Optimizing apps' dialog if not M->N upgrade
authorDavid Brazdil <dbrazdil@google.com>
Wed, 27 Apr 2016 12:53:55 +0000 (13:53 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Fri, 6 May 2016 13:49:58 +0000 (14:49 +0100)
commitee057752cce759520e3ba7a022f8616504c12fa0
tree4d9fe696028b1f415219648ee4cf37fdd23b01f1
parent13532bdd2ea63c1b8a5a8d4f95346f3d1e7ecbb5
Hide 'Optimizing apps' dialog if not M->N upgrade

Recent changes reduced the amount of time spent optimizing apps at
post-OTA boot. Instead of briefly showing the 'Optimizing apps'
dialog, we hide it completely.

The dialog is still shown for OTAs from a pre-N version of Android
since they can take a non-negligible amount of time (still much less
than in M).

Bug: 27350503
Change-Id: I5f6dae0c69799e1fc522f36453d2671b333bef0e
services/core/java/com/android/server/pm/PackageManagerService.java