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

华为 pm.getLaunchIntentForPackage 获取intent返回为null #339

Open
xingege662 opened this issue Apr 18, 2017 · 2 comments
Open

华为 pm.getLaunchIntentForPackage 获取intent返回为null #339

xingege662 opened this issue Apr 18, 2017 · 2 comments

Comments

@xingege662
Copy link

PackageManager pm = getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.cx");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
华为的手机返回来的intent为null,该怎么解决

@liu149339750
Copy link

我用7.1.1的系统也遇到了。。。

@zzzlw
Copy link

zzzlw commented Sep 25, 2017

+1 机型是魅族pro6plus 7.0.0

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