Ignore proguard errors
This commit is contained in:
parent
c518baa33d
commit
1481cdc909
|
@ -93,6 +93,14 @@
|
||||||
-keep public class * extends com.bumptech.glide.module.AppGlideModule
|
-keep public class * extends com.bumptech.glide.module.AppGlideModule
|
||||||
-keep class com.bumptech.glide.GeneratedAppGlideModuleImpl
|
-keep class com.bumptech.glide.GeneratedAppGlideModuleImpl
|
||||||
|
|
||||||
|
-dontwarn org.bouncycastle.**
|
||||||
|
-dontwarn org.conscrypt.**
|
||||||
|
-dontwarn org.openjsse.javax.net.ssl.**
|
||||||
|
-dontwarn org.openjsse.net.ssl.**
|
||||||
|
|
||||||
|
-dontwarn org.checkerframework.checker.nullness.qual.EnsuresNonNull
|
||||||
|
-dontwarn org.checkerframework.checker.nullness.qual.RequiresNonNull
|
||||||
|
|
||||||
##---------------Begin: proguard configuration for Gson ----------
|
##---------------Begin: proguard configuration for Gson ----------
|
||||||
# Gson uses generic type information stored in a class file when working with fields. Proguard
|
# Gson uses generic type information stored in a class file when working with fields. Proguard
|
||||||
# removes such information by default, so configure it to keep all of it.
|
# removes such information by default, so configure it to keep all of it.
|
||||||
|
|
|
@ -252,7 +252,7 @@ class PostCreationActivity : BaseThemedWithoutBarActivity() {
|
||||||
else MediaStore.Images.Media.EXTERNAL_CONTENT_URI
|
else MediaStore.Images.Media.EXTERNAL_CONTENT_URI
|
||||||
val imageUri: Uri = resolver.insert(store, contentValues)!!
|
val imageUri: Uri = resolver.insert(store, contentValues)!!
|
||||||
path = imageUri.toString()
|
path = imageUri.toString()
|
||||||
outputStream = resolver.openOutputStream(Objects.requireNonNull(imageUri))!!
|
outputStream = resolver.openOutputStream(imageUri)!!
|
||||||
} else {
|
} else {
|
||||||
@Suppress("DEPRECATION") val imagesDir =
|
@Suppress("DEPRECATION") val imagesDir =
|
||||||
Environment.getExternalStoragePublicDirectory(getString(R.string.app_name))
|
Environment.getExternalStoragePublicDirectory(getString(R.string.app_name))
|
||||||
|
|
Loading…
Reference in New Issue