Merge "Add toggle for auto brightness feature"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5f5c7539bb
@@ -12577,4 +12577,6 @@
|
||||
<string name="category_name_color">Color</string>
|
||||
<!-- Others category name [CHAR LIMIT=none] -->
|
||||
<string name="category_name_others">Others</string>
|
||||
<!-- General category name [CHAR LIMIT=none] -->
|
||||
<string name="category_name_general">General</string>
|
||||
</resources>
|
||||
|
@@ -33,10 +33,9 @@
|
||||
<intent android:action="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG"/>
|
||||
</com.android.settingslib.RestrictedPreference>
|
||||
|
||||
<Preference
|
||||
<com.android.settings.widget.PrimarySwitchPreference
|
||||
android:key="auto_brightness_entry"
|
||||
android:title="@string/auto_brightness_title"
|
||||
android:summary="@string/summary_placeholder"
|
||||
android:fragment="com.android.settings.display.AutoBrightnessSettings"
|
||||
settings:controller="com.android.settings.display.AutoBrightnessPreferenceController"/>
|
||||
</PreferenceCategory>
|
||||
@@ -103,7 +102,7 @@
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/category_name_others">
|
||||
android:title="@string/category_name_general">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="auto_rotate"
|
||||
|
Reference in New Issue
Block a user