Skip to content

Commit

Permalink
Update androidxActivity to v1.9.0 (#914)
Browse files Browse the repository at this point in the history
* Update androidxActivity to v1.9.0

* fix error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anil Kumar Beesetti <[email protected]>
  • Loading branch information
renovate[bot] and anilbeesetti authored Apr 27, 2024
1 parent a394a51 commit 520ff43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -690,16 +690,14 @@ class PlayerActivity : AppCompatActivity() {
super.finish()
}

override fun onNewIntent(intent: Intent?) {
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
if (intent != null) {
playlistManager.clearQueue()
viewModel.resetAllToDefaults()
setIntent(intent)
prettyPrintIntent()
shouldFetchPlaylist = true
playVideo(intent.data!!)
}
playlistManager.clearQueue()
viewModel.resetAllToDefaults()
setIntent(intent)
prettyPrintIntent()
shouldFetchPlaylist = true
playVideo(intent.data!!)
}

override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ aboutlibraries = "11.1.3"
accompanist = "0.34.0"
androidGradlePlugin = "8.2.2"
androidMaterial = "1.11.0"
androidxActivity = "1.8.2"
androidxActivity = "1.9.0"
androidxAppCompat = "1.6.1"
androidxComposeCompiler = "1.5.11"
androidxComposeBom = "2024.04.01"
Expand Down

0 comments on commit 520ff43

Please sign in to comment.