29 lines
1.9 KiB
Diff
29 lines
1.9 KiB
Diff
From 46d5a0596a6a31e868bed92bc3d1be75bc65b744 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Winkowski <dereference23@outlook.com>
|
|
Date: Thu, 18 Apr 2024 11:47:56 +0200
|
|
Subject: [PATCH] Disable `BackupAgent`
|
|
|
|
* Doesn't work on AOSP
|
|
|
|
Change-Id: I0be35e30009b6a3f1d3f0f2930a971c25a9f4182
|
|
---
|
|
AndroidManifest.xml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
|
|
index 9cf7c6f1..a1f58349 100644
|
|
--- a/AndroidManifest.xml
|
|
+++ b/AndroidManifest.xml
|
|
@@ -68,7 +68,7 @@
|
|
</intent>
|
|
<package android:name="com.xiaomi.scanner"/>
|
|
</queries>
|
|
- <application android:allowBackup="true" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:backupAgent="com.android.camera.backup.CameraBackupAgent" android:extractNativeLibs="false" android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher_camera_cv" android:label="@string/camera_label" android:largeHeap="true" android:name="com.android.camera.CameraAppImpl" android:networkSecurityConfig="@xml/network_security_config" android:resizeableActivity="false" android:supportsRtl="true" android:theme="@style/ThemeCamera">
|
|
+ <application android:allowBackup="false" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:extractNativeLibs="false" android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher_camera_cv" android:label="@string/camera_label" android:largeHeap="true" android:name="com.android.camera.CameraAppImpl" android:networkSecurityConfig="@xml/network_security_config" android:resizeableActivity="false" android:supportsRtl="true" android:theme="@style/ThemeCamera">
|
|
<meta-data android:name="required_permissions" android:value="@string/required_permissions_supportModifiable"/>
|
|
<meta-data android:name="miui.supportRequiredModifiable" android:value="true"/>
|
|
<meta-data android:name="com.miui.bugreport.LOG_DIR" android:resource="@xml/log_paths"/>
|
|
--
|
|
2.43.0
|
|
|