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:
@ -65,7 +65,7 @@ public class RecognitionManagerService extends Binder {
|
||||
RecognitionManagerService(Context context) {
|
||||
mContext = context;
|
||||
mMonitor = new MyPackageMonitor();
|
||||
mMonitor.register(context, true);
|
||||
mMonitor.register(context, null, true);
|
||||
}
|
||||
|
||||
public void systemReady() {
|
||||
|
Reference in New Issue
Block a user