From 00023e387f78550a31c73b985653ba935fddc8e9 Mon Sep 17 00:00:00 2001
From: Alex <alex.tran1502@gmail.com>
Date: Thu, 15 Aug 2024 14:12:56 -0500
Subject: [PATCH] feat(mobile): enable Impeller rendering engine on Android
 (#11831)

---
 mobile/android/app/src/main/AndroidManifest.xml | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xml
index 9222b38de0..edb41510f0 100644
--- a/mobile/android/app/src/main/AndroidManifest.xml
+++ b/mobile/android/app/src/main/AndroidManifest.xml
@@ -24,7 +24,7 @@
 
   <application android:label="Immich" android:name=".ImmichApp" android:usesCleartextTraffic="true"
     android:icon="@mipmap/ic_launcher" android:requestLegacyExternalStorage="true"
-    android:largeHeap="true">
+    android:largeHeap="true" android:enableOnBackInvokedCallback="true">
 
     <service
       android:name="androidx.work.impl.foreground.SystemForegroundService"
@@ -35,7 +35,7 @@
 
     <meta-data
       android:name="io.flutter.embedding.android.EnableImpeller"
-      android:value="false" />
+      android:value="true" />
 
     <meta-data
       android:name="com.google.firebase.messaging.default_notification_icon"
@@ -84,10 +84,6 @@
   </application>
 
 
-
-
-
-
   <queries>
     <intent>
       <action android:name="android.intent.action.VIEW" />
@@ -98,4 +94,4 @@
       <data android:scheme="geo" />
     </intent>
   </queries>
-</manifest>
+</manifest>
\ No newline at end of file