vendor_xiaomi_sweet-miuicamera/blob-patches/BackupAgent.patch
basamaryan 1400cac197
miuicamera: Patch during extract time
Change-Id: I102024ee87de9f443cfa288d762826c30b68fac1
2024-08-06 23:50:50 +05:30

12 lines
1.5 KiB
Diff

--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -72,7 +72,7 @@
<package android:name="com.xiaomi.scanner"/>
<package android:name="com.android.htmlviewer"/>
</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"/>