Small improvements for issue #5225666
Sort disabled apps to the bottom of the list to make them easier to find together. Also change the order of the tabs because with the new layout anything after the third tab is buried so put all apps at the end so the running tab is more visible. Change-Id: Id022fdbf366505cf0da3fb9a6270c3f2e2704d51
This commit is contained in:
@@ -153,6 +153,9 @@ public class ApplicationsState {
|
||||
private final Collator sCollator = Collator.getInstance();
|
||||
@Override
|
||||
public int compare(AppEntry object1, AppEntry object2) {
|
||||
if (object1.info.enabled != object2.info.enabled) {
|
||||
return object1.info.enabled ? -1 : 1;
|
||||
}
|
||||
return sCollator.compare(object1.label, object2.label);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user