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

Commit 75c79e8c 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
parents cef4f689 81235f62
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)