Loading app/src/main/AndroidManifest.xml +3 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,9 @@ <application android:name=".AppLoungeApplication" android:icon="@mipmap/ic_launcher" android:allowBackup="true" android:fullBackupOnly="true" android:backupAgent=".data.backup.AppLoungeBackupAgent" android:killAfterRestore="false" android:label="@string/app_name" android:requestLegacyExternalStorage="true" Loading app/src/main/java/foundation/e/apps/data/backup/AppLoungeBackupAgent.kt 0 → 100644 +29 −0 Original line number Diff line number Diff line /* * Copyright (C) 2026 e Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * */ package foundation.e.apps.data.backup import android.app.backup.BackupAgentHelper class AppLoungeBackupAgent : BackupAgentHelper() { override fun onCreate() { super.onCreate() // System apps MUST define a custom BackupAgent class to not be // silently skipped by Android's UserBackupManagerService. // Check BackupEligibilityRules.appIsEligibleForBackup() for more info } } Loading
app/src/main/AndroidManifest.xml +3 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,9 @@ <application android:name=".AppLoungeApplication" android:icon="@mipmap/ic_launcher" android:allowBackup="true" android:fullBackupOnly="true" android:backupAgent=".data.backup.AppLoungeBackupAgent" android:killAfterRestore="false" android:label="@string/app_name" android:requestLegacyExternalStorage="true" Loading
app/src/main/java/foundation/e/apps/data/backup/AppLoungeBackupAgent.kt 0 → 100644 +29 −0 Original line number Diff line number Diff line /* * Copyright (C) 2026 e Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * */ package foundation.e.apps.data.backup import android.app.backup.BackupAgentHelper class AppLoungeBackupAgent : BackupAgentHelper() { override fun onCreate() { super.onCreate() // System apps MUST define a custom BackupAgent class to not be // silently skipped by Android's UserBackupManagerService. // Check BackupEligibilityRules.appIsEligibleForBackup() for more info } }