[Android] Fix onboarding and preference storage fragment not closed when clicking close
Nicolas Pomepuy
git at videolan.org
Thu Aug 5 05:25:53 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Aug 4 08:47:46 2021 +0200| [963e825b1cde65d0936418ffb1230b383ed22c23] | committer: Nicolas Pomepuy
Fix onboarding and preference storage fragment not closed when clicking close
Fixes #2119
> https://code.videolan.org/videolan/vlc-android/commit/963e825b1cde65d0936418ffb1230b383ed22c23
---
.../src/org/videolan/vlc/gui/AudioPlayerContainerActivity.kt | 4 ----
1 file changed, 4 deletions(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.kt
index 2fe9d6515..14a069a47 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.kt
@@ -245,10 +245,6 @@ open class AudioPlayerContainerActivity : BaseActivity() {
// Handle item selection
when (item.itemId) {
android.R.id.home -> {
- // Current fragment loaded
- val current = currentFragment
- if (current is StorageBrowserFragment && current.goBack())
- return true
finish()
return true
}
More information about the Android
mailing list