Change default filter to third party when launched via settings and all apps when launched via

low storage. Update string name.
fix padding for Force Stop button
Change message when clearing application data.
This commit is contained in:
Suchi Amalapurapu
2009-09-20 14:25:46 -07:00
parent 8cd8b0b7ed
commit fe4a2bc43f
3 changed files with 7 additions and 5 deletions

View File

@@ -142,11 +142,11 @@ public class ManageApplications extends ListActivity implements
public static final int FILTER_APPS_RUNNING = MENU_OPTIONS_BASE + 4;
public static final int FILTER_OPTIONS = MENU_OPTIONS_BASE + 5;
// Alert Dialog presented to user to find out the filter option
AlertDialog mAlertDlg;
private AlertDialog mAlertDlg;
// sort order
private int mSortOrder = SORT_ORDER_ALPHA;
// Filter value
int mFilterApps = FILTER_APPS_ALL;
private int mFilterApps = FILTER_APPS_THIRD_PARTY;
// Custom Adapter used for managing items in the list
private AppInfoAdapter mAppInfoAdapter;
@@ -1577,6 +1577,7 @@ public class ManageApplications extends ListActivity implements
String action = intent.getAction();
if (action.equals(Intent.ACTION_MANAGE_PACKAGE_STORAGE)) {
mSortOrder = SORT_ORDER_SIZE;
mFilterApps = FILTER_APPS_ALL;
mSizesFirst = true;
}
mPm = getPackageManager();