Loading res/values/cm_strings.xml +4 −0 Original line number Diff line number Diff line Loading @@ -76,4 +76,8 @@ <!-- Proximity wake --> <string name="proximity_wake_title">Prevent accidental wake-up</string> <string name="proximity_wake_summary">Check the proximity sensor prior to waking up screen</string> <!-- Wake on plug --> <string name="wake_when_plugged_or_unplugged_title">Wake on plug</string> <string name="wake_when_plugged_or_unplugged_summary">Turn the screen on when connecting or disconnecting a power source</string> </resources> res/xml/display_settings.xml +6 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,12 @@ android:summary="@string/status_bar_double_tap_to_sleep_summary" android:defaultValue="true" /> <lineageos.preference.LineageGlobalSettingSwitchPreference android:key="wake_when_plugged_or_unplugged" android:title="@string/wake_when_plugged_or_unplugged_title" android:summary="@string/wake_when_plugged_or_unplugged_summary" android:defaultValue="@*android:bool/config_unplugTurnsOnScreen" /> <!-- Prevent accidental wake-up --> <lineageos.preference.LineageSystemSettingSwitchPreference android:key="proximity_on_wake" Loading Loading
res/values/cm_strings.xml +4 −0 Original line number Diff line number Diff line Loading @@ -76,4 +76,8 @@ <!-- Proximity wake --> <string name="proximity_wake_title">Prevent accidental wake-up</string> <string name="proximity_wake_summary">Check the proximity sensor prior to waking up screen</string> <!-- Wake on plug --> <string name="wake_when_plugged_or_unplugged_title">Wake on plug</string> <string name="wake_when_plugged_or_unplugged_summary">Turn the screen on when connecting or disconnecting a power source</string> </resources>
res/xml/display_settings.xml +6 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,12 @@ android:summary="@string/status_bar_double_tap_to_sleep_summary" android:defaultValue="true" /> <lineageos.preference.LineageGlobalSettingSwitchPreference android:key="wake_when_plugged_or_unplugged" android:title="@string/wake_when_plugged_or_unplugged_title" android:summary="@string/wake_when_plugged_or_unplugged_summary" android:defaultValue="@*android:bool/config_unplugTurnsOnScreen" /> <!-- Prevent accidental wake-up --> <lineageos.preference.LineageSystemSettingSwitchPreference android:key="proximity_on_wake" Loading