Target Android API level 32
This commit is contained in:
parent
24215a8b31
commit
df3f84f526
@ -26,8 +26,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "sushi.hardcore.droidfs"
|
applicationId "sushi.hardcore.droidfs"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
//noinspection ExpiredTargetSdkVersion
|
targetSdkVersion 32
|
||||||
targetSdkVersion 30
|
|
||||||
versionCode 29
|
versionCode 29
|
||||||
versionName "2.0.0-alpha2"
|
versionName "2.0.0-alpha2"
|
||||||
|
|
||||||
|
@ -25,13 +25,14 @@
|
|||||||
tools:node="remove" /> <!--removing this permission automatically added by exoplayer-->
|
tools:node="remove" /> <!--removing this permission automatically added by exoplayer-->
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="false"
|
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:requestLegacyExternalStorage="true"
|
android:requestLegacyExternalStorage="true"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/BaseTheme"
|
android:theme="@style/BaseTheme"
|
||||||
android:name=".VolumeManagerApp">
|
android:name=".VolumeManagerApp"
|
||||||
|
android:fullBackupContent="false"
|
||||||
|
android:dataExtractionRules="@xml/backup_rules">
|
||||||
<activity android:name=".MainActivity" android:exported="true">
|
<activity android:name=".MainActivity" android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
@ -79,7 +79,7 @@ class FileOperationService : Service() {
|
|||||||
putExtra("bundle", bundle)
|
putExtra("bundle", bundle)
|
||||||
action = ACTION_CANCEL
|
action = ACTION_CANCEL
|
||||||
},
|
},
|
||||||
PendingIntent.FLAG_UPDATE_CURRENT
|
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
if (total != null) {
|
if (total != null) {
|
||||||
|
15
app/src/main/res/xml/backup_rules.xml
Normal file
15
app/src/main/res/xml/backup_rules.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<data-extraction-rules>
|
||||||
|
<cloud-backup>
|
||||||
|
<exclude domain="file" path="."/>
|
||||||
|
<exclude domain="database" path="."/>
|
||||||
|
<include domain="sharedpref" path="."/>
|
||||||
|
<exclude domain="external" path="."/>
|
||||||
|
</cloud-backup>
|
||||||
|
<device-transfer>
|
||||||
|
<exclude domain="file" path="."/>
|
||||||
|
<exclude domain="database" path="."/>
|
||||||
|
<include domain="sharedpref" path="."/>
|
||||||
|
<exclude domain="external" path="."/>
|
||||||
|
</device-transfer>
|
||||||
|
</data-extraction-rules>
|
Loading…
Reference in New Issue
Block a user