Cherish:LockscreenCharging: squashed (3/3)
based on: [1/2] Settings: show more battery info on lockscreen when charging by yank555-lu Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -214,4 +214,8 @@
|
||||
<!-- ANBI -->
|
||||
<string name="anbi_title">Accidental touch</string>
|
||||
<string name="anbi_summary">Prevent interaction with navigation buttons while the screen is being touched</string>
|
||||
|
||||
<!-- Lockscreen battery info indicator -->
|
||||
<string name="lockscreen_battery_info_title">Lockscreen charging info</string>
|
||||
<string name="lockscreen_battery_info_summary">Display negociated charger max current and voltage and battery temperature on lockscreen while charging</string>
|
||||
</resources>
|
||||
|
||||
@@ -18,6 +18,12 @@
|
||||
android:title="@string/lockscreen_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_battery_info"
|
||||
android:title="@string/lockscreen_battery_info_title"
|
||||
android:summary="@string/lockscreen_battery_info_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<!-- Lock screen -->
|
||||
<PreferenceCategory
|
||||
android:key="lockscreen_category"
|
||||
|
||||
Reference in New Issue
Block a user