[Android] Add a default sleep timer setting

Nicolas Pomepuy git at videolan.org
Tue Jun 11 14:50:38 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu May 30 08:16:34 2024 +0200| [2e765c1484cb8eaec5b7827ab992e133b53c9978] | committer: Nicolas Pomepuy

Add a default sleep timer setting

Fixes #3065

> https://code.videolan.org/videolan/vlc-android/commit/2e765c1484cb8eaec5b7827ab992e133b53c9978
---

 .../resources/src/main/res/values/strings.xml      |  1 +
 .../television/ui/preferences/PreferencesUi.kt     | 30 ++++++++++-
 .../src/main/java/org/videolan/tools/Settings.kt   |  3 ++
 application/vlc-android/res/xml/preferences_ui.xml |  6 +++
 .../videolan/vlc/gui/dialogs/PickTimeFragment.kt   |  3 +-
 .../videolan/vlc/gui/dialogs/SleepTimerDialog.kt   | 60 +++++++++++++++++-----
 .../videolan/vlc/gui/preferences/PreferencesUi.kt  | 29 +++++++++++
 7 files changed, 117 insertions(+), 15 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/2e765c1484cb8eaec5b7827ab992e133b53c9978


More information about the Android mailing list