Update to work with the activity manager taking over OOM settings.
The values it needs are no longer in properties. Also fix a few problems: bug with apps being left in the services list, sorting of internal storage. Change-Id: Ife9706e004931269c36a7bc37b9dbb016064c2e4
This commit is contained in:
@@ -333,7 +333,17 @@ public class ManageApplications extends Fragment implements
|
||||
}
|
||||
switch (mLastSortMode) {
|
||||
case SORT_ORDER_SIZE:
|
||||
comparatorObj = ApplicationsState.SIZE_COMPARATOR;
|
||||
switch (mWhichSize) {
|
||||
case SIZE_INTERNAL:
|
||||
comparatorObj = ApplicationsState.INTERNAL_SIZE_COMPARATOR;
|
||||
break;
|
||||
case SIZE_EXTERNAL:
|
||||
comparatorObj = ApplicationsState.EXTERNAL_SIZE_COMPARATOR;
|
||||
break;
|
||||
default:
|
||||
comparatorObj = ApplicationsState.SIZE_COMPARATOR;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
comparatorObj = ApplicationsState.ALPHA_COMPARATOR;
|
||||
|
Reference in New Issue
Block a user