Adding utility method to find an app from a component key

Change-Id: I445b512f29a0a45910c523f2f905c0a9e3c241f1
This commit is contained in:
Sunny Goyal
2017-06-20 21:03:20 -07:00
parent 990b319bf7
commit d36ed7d982

View File

@@ -621,6 +621,10 @@ public class AlphabeticalAppsList {
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.