From aa49ab1dfb495fb4e2b5595bb76ceecc18c70b61 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Fri, 29 Nov 2019 18:19:14 +0100 Subject: [PATCH] Closes #4976: Reuse Fennec launcher entry in manifest. With this patch Fennec users, who upgrade to Fenix, will not lose Firefox launcher icons they have added to their home screen. A side effect of this change is that the launcher entry for existing Fenix users may disappear from the home screen for existing Firefox Preview users and they will have to re-add it. Since the Preview audience is more accepting of breaking changes and since that group is way smaller than the millions of Fennec users, I think that this is an acceptable breaking change. I looked into supporting multiple launcher entries in parallel, but that got quite complex with multiple build types and multiple manifest files. Especially if we decide to keep a Firefox Preview build around (e.g. org.mozilla.fenix) then it would be good to unify on a single launcher and do that as early as possible. --- app/src/main/AndroidManifest.xml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 431e0fd67..48a5f47da 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -28,17 +28,31 @@ android:theme="@style/NormalTheme" android:usesCleartextTraffic="true" tools:ignore="UnusedAttribute"> - + + + + + + + @@ -62,10 +76,6 @@ - -