[Android] Code clean-up
Robert Stone
git at videolan.org
Tue May 30 09:37:05 UTC 2023
vlc-android | branch: master | Robert Stone <rhstone at gmail.com> | Mon May 22 20:37:13 2023 -0700| [9c1e266b23c29742197e31fb0dda05d2b634ada8] | committer: Robert Stone
Code clean-up
> https://code.videolan.org/videolan/vlc-android/commit/9c1e266b23c29742197e31fb0dda05d2b634ada8
---
application/vlc-android/src/org/videolan/vlc/PlaybackService.kt | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/PlaybackService.kt b/application/vlc-android/src/org/videolan/vlc/PlaybackService.kt
index ef4def5c5b..32f9962322 100644
--- a/application/vlc-android/src/org/videolan/vlc/PlaybackService.kt
+++ b/application/vlc-android/src/org/videolan/vlc/PlaybackService.kt
@@ -177,10 +177,8 @@ class PlaybackService : MediaBrowserServiceCompat(), LifecycleOwner, CoroutineSc
}
VLCAppWidgetProvider.ACTION_WIDGET_INIT -> updateWidget()
VLCAppWidgetProvider.ACTION_WIDGET_ENABLED, VLCAppWidgetProvider.ACTION_WIDGET_DISABLED -> updateHasWidget()
- VLCAppWidgetProvider.ACTION_WIDGET_ENABLED, VLCAppWidgetProvider.ACTION_WIDGET_DISABLED -> updateHasWidget()
MiniPlayerAppWidgetProvider.ACTION_WIDGET_INIT -> updateWidget()
- MiniPlayerAppWidgetProvider.ACTION_WIDGET_ENABLED, VLCAppWidgetProvider.ACTION_WIDGET_DISABLED -> updateHasWidget()
- MiniPlayerAppWidgetProvider.ACTION_WIDGET_ENABLED, VLCAppWidgetProvider.ACTION_WIDGET_DISABLED -> updateHasWidget()
+ MiniPlayerAppWidgetProvider.ACTION_WIDGET_ENABLED, MiniPlayerAppWidgetProvider.ACTION_WIDGET_DISABLED -> updateHasWidget()
AudioManager.ACTION_AUDIO_BECOMING_NOISY -> if (detectHeadset) {
if (BuildConfig.DEBUG) Log.i(TAG, "Becoming noisy")
headsetInserted = false
More information about the Android
mailing list