Prepare for Android 15 (#542)

* Bump Project gradle

* Bump dependencies

* Bump gradle to 8.7

* Bump gradle properties

* Add missing null safety

* Fix unresolved color

* Use alternative version
This commit is contained in:
Sadwhy
2024-12-14 02:03:01 +06:00
committed by GitHub
parent 1686854632
commit eac4604b3d
5 changed files with 11 additions and 11 deletions

View File

@@ -513,7 +513,7 @@ internal object ExtensionLoader {
*/
private fun getSignatureHash(pkgInfo: PackageInfo): String? {
val signatures = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
pkgInfo.signingInfo.signingCertificateHistory
pkgInfo.signingInfo?.signingCertificateHistory
else
@Suppress("DEPRECATION") pkgInfo.signatures
return if (signatures != null && signatures.isNotEmpty()) {

View File

@@ -36,7 +36,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="@color/exo_error_message_background_color"
android:background="@color/bg"
android:gravity="center"
android:padding="16dp"
android:visibility="gone"
@@ -344,4 +344,4 @@
android:id="@+id/exo_touch_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</merge>
</merge>