Revert "Handle package broadcasts before apps do"

And fix b/29939691 (don't try to load locked users) in a different way

Bug 29939691
Bug 29895275

Change-Id: Ib55f9c5d5547c54daa4e05c1e50bf4bbceaf1991
This commit is contained in:
Makoto Onuki
2016-07-12 14:38:18 -07:00
parent 3750c9a15a
commit efbbe7ea9d
8 changed files with 116 additions and 509 deletions

View File

@@ -73,11 +73,4 @@ public abstract class ShortcutServiceInternal {
* any locks in this method.
*/
public abstract void onSystemLocaleChangedNoLock();
/**
* Called by PM before sending package broadcasts to other components. PM doesn't hold the PM
* lock, but do not take any locks in here anyway, and don't do any heavy tasks, as doing so
* would slow down all the package broadcasts.
*/
public abstract void onPackageBroadcast(Intent intent);
}