Loading res/values/strings.xml +5 −2 Original line number Diff line number Diff line Loading @@ -6841,10 +6841,13 @@ <string name="suggestion_remove">Remove</string> <!-- Name of the setting to change the display's color temperature --> <string name="color_temperature">Display color temperature</string> <string name="color_temperature">Cool color temperature</string> <!-- Description of the setting to change the display's color temperature --> <string name="color_temperature_desc">Enable cool temperature</string> <string name="color_temperature_desc">Use cooler display colors</string> <!-- Toast message letting the user know the color temperature setting is not immediate --> <string name="color_temperature_toast">To apply color change, turn off screen</string> <!-- Label for category for data usage [CHAR LIMIT=30] --> <string name="usage">Usage</string> src/com/android/settings/DevelopmentSettings.java +2 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ import android.webkit.IWebViewUpdateService; import android.webkit.WebViewProviderInfo; import android.widget.Switch; import android.widget.TextView; import android.widget.Toast; import com.android.internal.app.LocalePicker; import com.android.internal.logging.MetricsLogger; Loading Loading @@ -1295,6 +1296,7 @@ public class DevelopmentSettings extends SettingsPreferenceFragment SystemProperties.set(COLOR_TEMPERATURE_PROPERTY, mColorTemperaturePreference.isChecked() ? "1" : "0"); pokeSystemProperties(); Toast.makeText(getActivity(), R.string.color_temperature_toast, Toast.LENGTH_LONG).show(); } private void updateUSBAudioOptions() { Loading Loading
res/values/strings.xml +5 −2 Original line number Diff line number Diff line Loading @@ -6841,10 +6841,13 @@ <string name="suggestion_remove">Remove</string> <!-- Name of the setting to change the display's color temperature --> <string name="color_temperature">Display color temperature</string> <string name="color_temperature">Cool color temperature</string> <!-- Description of the setting to change the display's color temperature --> <string name="color_temperature_desc">Enable cool temperature</string> <string name="color_temperature_desc">Use cooler display colors</string> <!-- Toast message letting the user know the color temperature setting is not immediate --> <string name="color_temperature_toast">To apply color change, turn off screen</string> <!-- Label for category for data usage [CHAR LIMIT=30] --> <string name="usage">Usage</string>
src/com/android/settings/DevelopmentSettings.java +2 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ import android.webkit.IWebViewUpdateService; import android.webkit.WebViewProviderInfo; import android.widget.Switch; import android.widget.TextView; import android.widget.Toast; import com.android.internal.app.LocalePicker; import com.android.internal.logging.MetricsLogger; Loading Loading @@ -1295,6 +1296,7 @@ public class DevelopmentSettings extends SettingsPreferenceFragment SystemProperties.set(COLOR_TEMPERATURE_PROPERTY, mColorTemperaturePreference.isChecked() ? "1" : "0"); pokeSystemProperties(); Toast.makeText(getActivity(), R.string.color_temperature_toast, Toast.LENGTH_LONG).show(); } private void updateUSBAudioOptions() { Loading