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:
Mill Chen
2019-04-15 11:40:19 -07:00
parent 76ffb2df02
commit 7d0150d160
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ public class NightDisplayActivationPreferenceController extends TogglePreference
@Override
public CharSequence getSummary() {
return mTimeFormatter.getAutoModeTimeSummary(mContext, mColorDisplayManager);
return mTimeFormatter.getAutoModeSummary(mContext, mColorDisplayManager);
}
private void updateStateInternal() {