Target Android API level 32

This commit is contained in:
Matéo Duparc 2023-04-18 14:59:05 +02:00
parent 24215a8b31
commit df3f84f526
Signed by: hardcoresushi
GPG Key ID: AFE384344A45E13A
4 changed files with 20 additions and 5 deletions

View File

@ -26,8 +26,7 @@ android {
defaultConfig {
applicationId "sushi.hardcore.droidfs"
minSdkVersion 21
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 30
targetSdkVersion 32
versionCode 29
versionName "2.0.0-alpha2"

View File

@ -25,13 +25,14 @@
tools:node="remove" /> <!--removing this permission automatically added by exoplayer-->
<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:requestLegacyExternalStorage="true"
android:supportsRtl="true"
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">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -79,7 +79,7 @@ class FileOperationService : Service() {
putExtra("bundle", bundle)
action = ACTION_CANCEL
},
PendingIntent.FLAG_UPDATE_CURRENT
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
)
))
if (total != null) {

View 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>