Added "screen always on"-feature to TrackDetailActivity.

And the "show on lockscreen"-feature is only used while recording.
This commit is contained in:
Dennis Guse
2019-12-03 07:46:07 +01:00
parent eaa6083586
commit 355f3ef614
5 changed files with 42 additions and 1 deletions
+3
View File
@@ -25,6 +25,9 @@
<string name="stats_show_on_lockscreen_while_recording_key" translatable="false">trackdetail_show_on_lockscreen_while_recording</string>
<bool name="stats_show_on_lockscreen_while_recording_default" translatable="false">false</bool>
<string name="stats_keep_screen_on_while_recording_key" translatable="false">trackdetail_keep_screen_on_while_recording</string>
<bool name="stats_keep_screen_on_while_recording_default" translatable="false">false</bool>
<string name="settings_reset_key" translatable="false">settingsReset</string>
<string name="settings_sensor_bluetooth_heart_rate_key" translatable="false">bluetoothSensor</string>
+7
View File
@@ -1194,6 +1194,13 @@ limitations under the License.
While recording, show statistics without unlocking the device.
</string>
<string name="settings_recording_keep_screen_on_while_recording_title" translation_description="In the 'Settings' page, the option to change the 'show on lockscreen' behavior while recording.">
Keep screen on
</string>
<string name="settings_recording_keep_screen_on_while_recording_summary" translation_description="In the 'Settings' page, the option to change the 'show on lockscreen' behavior while recording.">
While recording, keep the screen on.
</string>
<string name="settings_recording" translation_description="In the 'Settings' page, the option to change the recording settings.
Character limit: ~26 (1 line)">