Move handling of package changes to a background thread.
Helps get rid of some jank when installing applications. Change-Id: I97d0022f82d67796e334d37086e5911dd6ca6b62
This commit is contained in:
@ -594,7 +594,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
}
|
||||
mImListManager = new InputMethodAndSubtypeListManager(context, this);
|
||||
|
||||
(new MyPackageMonitor()).register(mContext, true);
|
||||
(new MyPackageMonitor()).register(mContext, null, true);
|
||||
|
||||
IntentFilter screenOnOffFilt = new IntentFilter();
|
||||
screenOnOffFilt.addAction(Intent.ACTION_SCREEN_ON);
|
||||
|
Reference in New Issue
Block a user