Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Action Launcher / Category Launcher when executing an Activity #22

Open
danielesegato opened this issue Jun 6, 2013 · 4 comments

Comments

@danielesegato
Copy link

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

@mmathieum
Copy link

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.

@tunitowen
Copy link
Owner

https://android.googlesource.com/platform/packages/apps/Launcher3/+/master/src/com/android/launcher3/Launcher.java

Line 2349

This is why this Intent flag is used. But happy to discuss.

@danielesegato
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants