Remove On/Off string from Night light slice
We only deleted On/Off string from the subtitle of night light slice in the settings search result, and still keep On/Off string for Night Light preference. Fixes: 130364160 Test: visual Change-Id: Ibe7f2752f099a4ab0d4a01a205e4e8ce0a226f55
This commit is contained in:
@@ -52,7 +52,7 @@ public class NightDisplayTimeFormatter {
|
||||
return context.getString(summaryFormatResId, getAutoModeSummary(context, manager));
|
||||
}
|
||||
|
||||
private String getAutoModeSummary(Context context, ColorDisplayManager manager) {
|
||||
public String getAutoModeSummary(Context context, ColorDisplayManager manager) {
|
||||
final boolean isActivated = manager.isNightDisplayActivated();
|
||||
final int autoMode = manager.getNightDisplayAutoMode();
|
||||
if (autoMode == ColorDisplayManager.AUTO_MODE_CUSTOM_TIME) {
|
||||
|
Reference in New Issue
Block a user