merge from open-source master
Change-Id: I20cf00dba6908eeee12645e6878db7becdc2a5f9
This commit is contained in:
@@ -1704,8 +1704,9 @@ class ContextImpl extends Context {
|
|||||||
if (resolveInfo == null) {
|
if (resolveInfo == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
Intent intent = new Intent(Intent.ACTION_MAIN);
|
Intent intent = new Intent(intentToResolve);
|
||||||
intent.setClassName(packageName, resolveInfo.activityInfo.name);
|
intent.setClassName(resolveInfo.activityInfo.applicationInfo.packageName,
|
||||||
|
resolveInfo.activityInfo.name);
|
||||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
return intent;
|
return intent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user