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/core/java/android/widget/ActivityChooserModel.java b/core/java/android/widget/ActivityChooserModel.java index bc44521..c53b5f6 100644 --- a/core/java/android/widget/ActivityChooserModel.java +++ b/core/java/android/widget/ActivityChooserModel.java
@@ -365,7 +365,7 @@ } else { mHistoryFileName = historyFileName; } - mPackageMonitor.register(mContext, true); + mPackageMonitor.register(mContext, null, true); } /**