commit | 2b90f11639a20cde2dc64b9755a3c2d3a3f7a12c | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Wed Jun 21 18:10:17 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Jun 21 18:10:17 2017 +0000 |
tree | 9f4f0ac111c9a884aa1c31f7a9753ce930c24f70 | |
parent | 5a1d16c91975e1b6d2dd41cb5d55dc06ddd40f87 [diff] | |
parent | 9abbd86e299c4ca7b24c38ede52c7bab39f7de30 [diff] |
Merge "Adding utility method to find an app from a component key" into ub-launcher3-dorval-polish am: 9abbd86e29 Change-Id: I41b50e1c938bda05d85300b9fc7da8cd9b35530b
diff --git a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java index b84c627..7bf6651 100644 --- a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java +++ b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
@@ -621,6 +621,10 @@ return result; } + public AppInfo findApp(ComponentKey key) { + return mComponentToAppMap.get(key); + } + /** * Returns the cached section name for the given title, recomputing and updating the cache if * the title has no cached section name.