mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Use equals for string comparison in ItemClickHandler.
Bug: 112325801 Test: Manual test Change-Id: I1b57dadac392d5c7f5a7fb367ddbaf79beb7faed
This commit is contained in:
@@ -218,7 +218,7 @@ public class ItemClickHandler {
|
||||
if (item instanceof ShortcutInfo) {
|
||||
ShortcutInfo si = (ShortcutInfo) item;
|
||||
if (si.hasStatusFlag(ShortcutInfo.FLAG_SUPPORTS_WEB_UI)
|
||||
&& intent.getAction() == Intent.ACTION_VIEW) {
|
||||
&& Intent.ACTION_VIEW.equals(intent.getAction())) {
|
||||
// make a copy of the intent that has the package set to null
|
||||
// we do this because the platform sometimes disables instant
|
||||
// apps temporarily (triggered by the user) and fallbacks to the
|
||||
|
||||
Reference in New Issue
Block a user