-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Comments
我用7.1.1的系统也遇到了。。。 |
+1 机型是魅族pro6plus 7.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PackageManager pm = getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.cx");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
华为的手机返回来的intent为null,该怎么解决
The text was updated successfully, but these errors were encountered: