Release shrink fixes: unsafe features & camera focus marker
This commit is contained in:
parent
3189a81f60
commit
9d0a6e170e
@ -24,6 +24,8 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
7
app/proguard-rules.pro
vendored
7
app/proguard-rules.pro
vendored
@ -19,3 +19,10 @@
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
-keepattributes InnerClasses
|
||||
-keep class sushi.hardcore.droidfs.SettingsActivity$** {
|
||||
*;
|
||||
}
|
||||
-keep class sushi.hardcore.droidfs.explorers.ExplorerElement
|
||||
-keep class com.otaliastudios.cameraview.markers.DefaultAutoFocusMarker
|
@ -7,12 +7,13 @@
|
||||
android:name="${applicationId}.WRITE_TEMPORARY_STORAGE"
|
||||
android:protectionLevel="signature" />
|
||||
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
|
||||
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
||||
<uses-feature android:name="android.hardware.camera.any" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.fingerprint" android:required="false"/>
|
||||
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove"/> <!--removing this permission automatically added by exoplayer-->
|
||||
|
||||
<application
|
||||
android:name=".ColoredApplication"
|
||||
|
@ -15,6 +15,7 @@
|
||||
app:cameraAutoFocusMarker="@string/cameraview_default_autofocus_marker"
|
||||
app:cameraHdr="on"
|
||||
app:cameraPictureFormat="jpeg"
|
||||
app:cameraPlaySounds="false"
|
||||
app:cameraAudio="off"/>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
Loading…
Reference in New Issue
Block a user