OSDN Git Service

Move OTA package update before fstrim, hide "Optimizing apps" dialog
authorDavid Brazdil <dbrazdil@google.com>
Wed, 30 Mar 2016 10:45:52 +0000 (11:45 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Wed, 30 Mar 2016 12:39:14 +0000 (13:39 +0100)
commitf5c444ffd4fdce4fab939fcd88f163288dc804c5
tree0cb85f79cc62bbb85046dec6ca0b26213d3320f0
parent6b69b122025631290380f4350f7bd0074bad10dd
Move OTA package update before fstrim, hide "Optimizing apps" dialog

This patch moves the updating of packages before performing fstrim,
which runs asynchronously anyway, and stops showing the UI dialog.

Bug: 27350503
Change-Id: I6fceda10d7696f9badb97978fb9dc7927d698a4b
core/java/android/content/pm/IPackageManager.aidl
services/core/java/com/android/server/pm/PackageManagerService.java
services/java/com/android/server/SystemServer.java