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>
|
<string name="category_name_color">Color</string>
|
||||||
<!-- Others category name [CHAR LIMIT=none] -->
|
<!-- Others category name [CHAR LIMIT=none] -->
|
||||||
<string name="category_name_others">Others</string>
|
<string name="category_name_others">Others</string>
|
||||||
|
<!-- General category name [CHAR LIMIT=none] -->
|
||||||
|
<string name="category_name_general">General</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@@ -33,10 +33,9 @@
|
|||||||
<intent android:action="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG"/>
|
<intent android:action="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG"/>
|
||||||
</com.android.settingslib.RestrictedPreference>
|
</com.android.settingslib.RestrictedPreference>
|
||||||
|
|
||||||
<Preference
|
<com.android.settings.widget.PrimarySwitchPreference
|
||||||
android:key="auto_brightness_entry"
|
android:key="auto_brightness_entry"
|
||||||
android:title="@string/auto_brightness_title"
|
android:title="@string/auto_brightness_title"
|
||||||
android:summary="@string/summary_placeholder"
|
|
||||||
android:fragment="com.android.settings.display.AutoBrightnessSettings"
|
android:fragment="com.android.settings.display.AutoBrightnessSettings"
|
||||||
settings:controller="com.android.settings.display.AutoBrightnessPreferenceController"/>
|
settings:controller="com.android.settings.display.AutoBrightnessPreferenceController"/>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
@@ -103,7 +102,7 @@
|
|||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:title="@string/category_name_others">
|
android:title="@string/category_name_general">
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:key="auto_rotate"
|
android:key="auto_rotate"
|
||||||
|
Reference in New Issue
Block a user