Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d67275b5 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Merge branch 'fix-nougat-icon-issue' into 'v0.13'

Fix PWA icon issue on nougat

See merge request e/apps/apps!43

(cherry picked from commit 75c79e8c)

81235f62 Fix PWA icon issue on nougat
parent 2f917cd3
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ class PwaInstaller : AppCompatActivity() {
                    val installer = Intent()
                    installer.putExtra("android.intent.extra.shortcut.INTENT", intent)
                    installer.putExtra("android.intent.extra.shortcut.NAME", name)
                    installer.putExtra(Intent.EXTRA_SHORTCUT_ICON, scaledBitmap)
                    installer.putExtra(Intent.EXTRA_SHORTCUT_ICON, icon)
                    installer.putExtra("duplicate", false)
                    installer.action = "com.android.launcher.action.INSTALL_SHORTCUT"
                    mActivity.sendBroadcast(installer)