commit | 6dd9fb7004e888ec1efc4676cd3e4d42b7ac68c9 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Wed Jun 01 13:55:54 2016 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Tue Jun 07 10:32:19 2016 -0700 |
tree | 7ddf75121a9fa05e1d51c35266754414d65780e1 | |
parent | 779adf8879f94ffa97d0f889f1376c5bb3929ef4 [diff] |
ShortcutManager: Optimize package scanning SM needs to check all packages when a user is unlocked in case any apps have been upgraded while the user was not running, in which case it'll publish the manifest shortcuts. Currently it actually scans all apps' manifests. This CL optimizes it by remembering the last scan time (for each user) and checks only the packages that have been updated since then. Bug 29069154 Change-Id: Id10b6be8915fe7c1e26daccde7951ddbd01ea452