mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: Callback broken on video activity launch
This commit is contained in:
parent
47128eb3b6
commit
91c548c412
1 changed files with 1 additions and 3 deletions
|
|
@ -62,9 +62,7 @@ class MainActivity : AudioServiceFragmentActivity(), NativeVideoActivity {
|
|||
try {
|
||||
videoPlayerCallback = callback
|
||||
|
||||
val intent = Intent(this, VideoPlayerActivity::class.java).apply {
|
||||
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)
|
||||
}
|
||||
val intent = Intent(this, VideoPlayerActivity::class.java)
|
||||
|
||||
videoPlayerLauncher.launch(intent)
|
||||
} catch (e: Exception) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue