Modifying the ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS action handling to default to All Apps tab
Change-Id: I5c18b916b09979117e4b746f521a81ca554903b4
This commit is contained in:
@@ -358,6 +358,7 @@
|
|||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" />
|
<action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" />
|
||||||
<action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" />
|
<action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" />
|
||||||
|
<action android:name="android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS" />
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.MONKEY" />
|
<category android:name="android.intent.category.MONKEY" />
|
||||||
<category android:name="android.intent.category.VOICE_LAUNCH" />
|
<category android:name="android.intent.category.VOICE_LAUNCH" />
|
||||||
|
@@ -431,6 +431,9 @@ public class ManageApplications extends TabActivity implements
|
|||||||
mSortOrder = SORT_ORDER_SIZE;
|
mSortOrder = SORT_ORDER_SIZE;
|
||||||
mFilterApps = FILTER_APPS_ALL;
|
mFilterApps = FILTER_APPS_ALL;
|
||||||
defaultTabTag = TAB_ALL;
|
defaultTabTag = TAB_ALL;
|
||||||
|
} else if (action.equals(Settings.ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS)) {
|
||||||
|
// Select the all-apps tab, with the default sorting
|
||||||
|
defaultTabTag = TAB_ALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (savedInstanceState != null) {
|
if (savedInstanceState != null) {
|
||||||
|
Reference in New Issue
Block a user