This commit is contained in:
5ec1cff
2024-10-04 10:56:27 +08:00
parent ab0f9bdd42
commit 56b3cb8214
9 changed files with 5 additions and 40 deletions

View File

@@ -6,8 +6,6 @@
<application <application
android:allowBackup="true" android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"

View File

@@ -9,4 +9,4 @@ class FileSystemService : RootService() {
override fun onBind(intent: Intent): IBinder { override fun onBind(intent: Intent): IBinder {
return FileSystemManager.getService() return FileSystemManager.getService()
} }
} }

View File

@@ -190,4 +190,4 @@ class MainActivity : AppCompatActivity() {
super.onDestroy() super.onDestroy()
connection?.let { RootService.unbind(it) } connection?.let { RootService.unbind(it) }
} }
} }

View File

@@ -189,4 +189,3 @@ public final class SuFilePathHandler implements WebViewAssetLoader.PathHandler {
return mimeType == null ? DEFAULT_MIME_TYPE : mimeType; return mimeType == null ? DEFAULT_MIME_TYPE : mimeType;
} }
} }

View File

@@ -7,4 +7,4 @@
<color name="teal_700">#FF018786</color> <color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color> <color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color> <color name="white">#FFFFFFFF</color>
</resources> </resources>

View File

@@ -6,4 +6,4 @@
<string name="loading">Loading …</string> <string name="loading">Loading …</string>
<string name="author">Author: %s</string> <string name="author">Author: %s</string>
<string name="version">Version: %s</string> <string name="version">Version: %s</string>
</resources> </resources>

View File

@@ -7,4 +7,4 @@
<item name="android:windowLightStatusBar">true</item> <item name="android:windowLightStatusBar">true</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">true</item> <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">true</item>
</style> </style>
</resources> </resources>

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample backup rules file; uncomment and customize as necessary.
See https://developer.android.com/guide/topics/data/autobackup
for details.
Note: This file is ignored for devices older that API 31
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample data extraction rules file; uncomment and customize as necessary.
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
for details.
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>