Settings: OverlayCategoryPreferenceController: Sort overlays by name
No, the user has no reason to view em by priority, thank you. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ public class OverlayCategoryPreferenceController extends DeveloperOptionsPrefere
|
||||
static final String PACKAGE_DEVICE_DEFAULT = "package_device_default";
|
||||
private static final String OVERLAY_TARGET_PACKAGE = "android";
|
||||
private static final Comparator<OverlayInfo> OVERLAY_INFO_COMPARATOR =
|
||||
Comparator.comparingInt(a -> a.priority);
|
||||
Comparator.comparing(OverlayInfo::getPackageName);
|
||||
private final IOverlayManager mOverlayManager;
|
||||
private final boolean mAvailable;
|
||||
private final String mCategory;
|
||||
|
||||
Reference in New Issue
Block a user