Reorganised code and added support for low-power mode and power-saver modes.
This commit is contained in:
@ -4,8 +4,10 @@
|
||||
<string name="cellular">Cellular network connectivity</string>
|
||||
<string name="enable_disable">Shows or hides the notification icon</string>
|
||||
<string name="enable_switch">Enabled</string>
|
||||
<string name="lockscreen_summary">Show the notification in the lockscreen when the phone is locked</string>
|
||||
<string name="lockscreen_summary">Show the notification in the lockscreen when the device is locked</string>
|
||||
<string name="lockscreen_title">Publicly visible</string>
|
||||
<string name="lowpower_title">Disable on low battery</string>
|
||||
<string name="lowpower_summary">Disable the notification and the service when the device\'s battery is low or when the power saving mode is enabled</string>
|
||||
<string name="color_summary">Background color of the notification icon</string>
|
||||
<string name="color_title">Color</string>
|
||||
</resources>
|
||||
|
@ -10,6 +10,11 @@
|
||||
android:key="lockscreen"
|
||||
android:summary="@string/lockscreen_summary"
|
||||
android:title="@string/lockscreen_title"/>
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="lowpower"
|
||||
android:summary="@string/lowpower_summary"
|
||||
android:title="@string/lowpower_title"/>
|
||||
<com.mridang.colorpicker.ColorPreference
|
||||
android:defaultValue="@android:color/transparent"
|
||||
android:key="color"
|
||||
|
Reference in New Issue
Block a user