[Android] Remove upgrade intent extra once consumed
Geoffrey Métais
git at videolan.org
Tue Feb 14 18:54:40 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 14 15:40:29 2017 +0100| [b497cdebaacf4116cf960436ab9bff39e6983b66] | committer: Geoffrey Métais
Remove upgrade intent extra once consumed
> https://code.videolan.org/videolan/vlc-android/commit/b497cdebaacf4116cf960436ab9bff39e6983b66
---
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 136ecca..d32946a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -205,6 +205,7 @@ public class MainActivity extends AudioPlayerContainerActivity implements Filter
mDrawerLayout.openDrawer(mNavigationView);
}
}, 500);
+ getIntent().removeExtra(StartActivity.EXTRA_UPGRADE);
}
/* Reload the latest preferences */
More information about the Android
mailing list