diff options
author | Makoto Onuki <omakoto@google.com> | 2016-06-01 13:55:54 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2016-06-07 10:32:19 -0700 |
commit | 6dd9fb7004e888ec1efc4676cd3e4d42b7ac68c9 (patch) | |
tree | 7ddf75121a9fa05e1d51c35266754414d65780e1 /rs/java/android/renderscript/RenderScript.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions