-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some deprecations and other warnings #750
Conversation
* Replace deprecated onBackPressed() * Fixes some AndroidManifest warnings * Use android:dataExtractionRules for Android 12+ * Add tools:ignore for ScopedStorage and QueryAllPackagesPermission * Make VideoDownloadRestartReceiver not exported (fixes " Exported receiver does not require permission") - if this was incorrect I can revert this part * Bump tools:targetApi * Enable android:enableOnBackInvokedCallback for predictive back gestures on Android 13 (if enabled in developer options) and Android 14 (also fixes "OnBackInvokedCallback is not enabled for the application." which is commonly seen in logcat)
lol, I was just minutes away from creating similar backpressed upgrade pr |
app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultTrailerPlayer.kt
Outdated
Show resolved
Hide resolved
Very nice to see this, maybe we can implement some cool predictive back gestures after this 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing looks good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳 Very good job, nice pr as always. Reply with 👍 or react and I will merge it
Exported receiver does not require permission") - if this was incorrect I can revert this part