M3: operations engine (copy/move/delete, progress, cancellation, conflicts) + foreground service

This commit is contained in:
2026-10-14 15:40:37 +02:00
parent 0863b37d70
commit 993cac6e5b
13 changed files with 1014 additions and 6 deletions
+18
View File
@@ -39,6 +39,15 @@
android:maxSdkVersion="29"
tools:ignore="ScopedStorage" />
<!--
Long file operations keep running while the app is backgrounded. `dataSync` is the
foreground-service type that matches "user-initiated data processing".
-->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<!-- Android 13+: shows the operation progress notification (optional, never required). -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<application
android:name=".FileManagerApplication"
android:allowBackup="true"
@@ -61,6 +70,15 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!--
No copy logic lives here: it mirrors the engine's progress into an ongoing
notification and keeps the process alive during a long operation.
-->
<service
android:name=".service.FileOpService"
android:exported="false"
android:foregroundServiceType="dataSync" />
</application>
</manifest>