Add compatibility aliases for shortcuts added to home screen in gingerbread.

Bug: 5016573
Change-Id: I1898b2f51216354829acca11e73186465f25ec32
This commit is contained in:
Amith Yamasani
2011-11-10 15:28:59 -08:00
parent 4b94e07385
commit af9252849f
5 changed files with 179 additions and 11 deletions

View File

@@ -560,10 +560,12 @@ public class ManageApplications extends Fragment implements
if (className == null) {
className = intent.getComponent().getClassName();
}
if (className.equals(RunningServicesActivity.class.getName())) {
if (className.equals(RunningServicesActivity.class.getName())
|| className.endsWith(".RunningServices")) {
defaultTabTag = TAB_RUNNING;
} else if (className.equals(StorageUseActivity.class.getName())
|| Intent.ACTION_MANAGE_PACKAGE_STORAGE.equals(action)) {
|| Intent.ACTION_MANAGE_PACKAGE_STORAGE.equals(action)
|| className.endsWith(".StorageUse")) {
mSortOrder = SORT_ORDER_SIZE;
mFilterApps = FILTER_APPS_ALL;
defaultTabTag = TAB_ALL;