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:
Dianne Hackborn
2012-04-19 23:12:09 -07:00
parent 5dd32fbcbf
commit d0d7503fd3
13 changed files with 95 additions and 68 deletions

View File

@ -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() {