Closed Kazurin-775 closed 3 years ago
The current code (EInkLauncherView.java#L343) doesn't set an action for the Intent that launches an app. The action should be set to Intent.ACTION_MAIN for a launching Intent:
Intent
Intent.ACTION_MAIN
intent.setAction(Intent.ACTION_MAIN);
Or even better, use:
Intent intent = getPackageManager().getLaunchIntentForPackage("com.package.address");
If the action is not set, it defaults to null, which will break some apps (for example plateaukao/browser; also see this issue).
null
Thanks,I fix it
The current code (EInkLauncherView.java#L343) doesn't set an action for the
Intent
that launches an app. The action should be set toIntent.ACTION_MAIN
for a launchingIntent
:Or even better, use:
If the action is not set, it defaults to
null
, which will break some apps (for example plateaukao/browser; also see this issue).