Retain launcher icon on migration from Camera2
* Rename Launcher activity, add original-package
Change-Id: I1478ef1f71aef1a5f29ce233d1baa0e90438888f
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 59c9b55..fc80251 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -7,6 +7,8 @@
xmlns:tools="http://schemas.android.com/tools"
package="org.lineageos.aperture">
+ <original-package android:name="com.android.camera2" />
+
<uses-feature android:name="android.hardware.camera.any" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
@@ -49,7 +51,7 @@
</activity>
<activity-alias
- android:name=".CameraLauncher"
+ android:name="com.android.camera.CameraLauncher"
android:exported="true"
android:label="@string/app_name"
android:targetActivity=".CameraActivity">