tunitowen/DevDrawer

Missing Action Launcher / Category Launcher when executing an Activity

danielesegato opened this issue · 4 comments

Hi,

I had a bug in my app that caused it to crash when launched by DevDrawer.

Reason is that DevDrawer do not set a action LAUNCHER when executing the activity.

I think it should

The app should launch an app this way by default:

// activity.startActivity(activity.getPackageManager().getLaunchIntentForPackage(packageName));

Most of all, it should not use the flag Intent.FLAG_ACTIVITY_NEW_TASK by default.

I want to clarify my bug report.

The bug in my app (I assumed an action was always set) made me discover the bug in DevDrawer (and vice-versa actually).

The default launcher (stock android) always set Action = LAUNCHER when I open an application.
I think DevDrawer should mimic that.