ShortcutManager: add remaining APIs.
- Icons are now persisted. (under /data/system_ce, as PNGs) - the "load icon" APIs in LauncherApps are supported. - Implement updateShortcuts() - Addressed all the comments on the previous CL - @hide the newly added constructor for PersistableBundle - Enhance incoming shortcut validation - A lot of internal clean-up. Bug 27548047 Change-Id: I8e3c1ccd3e0a997a6d271c84d81170f0c022b60e
This commit is contained in:
@@ -726,9 +726,6 @@ public final class SystemServer {
|
||||
// Always start the Device Policy Manager, so that the API is compatible with
|
||||
// API8.
|
||||
mSystemServiceManager.startService(DevicePolicyManagerService.Lifecycle.class);
|
||||
|
||||
// TODO is this a good place?
|
||||
mSystemServiceManager.startService(ShortcutService.Lifecycle.class);
|
||||
}
|
||||
|
||||
if (!disableSystemUI) {
|
||||
@@ -1139,6 +1136,8 @@ public final class SystemServer {
|
||||
}
|
||||
Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER);
|
||||
}
|
||||
// LauncherAppsService uses ShortcutService.
|
||||
mSystemServiceManager.startService(ShortcutService.Lifecycle.class);
|
||||
|
||||
mSystemServiceManager.startService(LauncherAppsService.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user