mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-29 09:21:01 +00:00
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:
@@ -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()) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user