mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07: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 {
|
try {
|
||||||
videoPlayerCallback = callback
|
videoPlayerCallback = callback
|
||||||
|
|
||||||
val intent = Intent(this, VideoPlayerActivity::class.java).apply {
|
val intent = Intent(this, VideoPlayerActivity::class.java)
|
||||||
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)
|
|
||||||
}
|
|
||||||
|
|
||||||
videoPlayerLauncher.launch(intent)
|
videoPlayerLauncher.launch(intent)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue