| commit | d0d7503fd3e941113094532f28986f49b11b5fdb | [log] [tgz] |
|---|---|---|
| author | Dianne Hackborn <hackbod@google.com> | Thu Apr 19 23:12:09 2012 -0700 |
| committer | Dianne Hackborn <hackbod@google.com> | Thu Apr 19 23:12:09 2012 -0700 |
| tree | 98866f30fbc23eceb6e34cc93801c92c93d4c812 | |
| parent | 5dd32fbcbf750b806175bc8648b6fae280dad576 [diff] [blame] |
Move handling of package changes to a background thread. Helps get rid of some jank when installing applications. Change-Id: I97d0022f82d67796e334d37086e5911dd6ca6b62
diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index a474cec..43c2292 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java
@@ -594,7 +594,7 @@ } 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);