Merge "Add flags to emergency info intent" into nyc-dev

This commit is contained in:
Maria Garcia Puyol
2016-03-28 21:56:59 +00:00
committed by Android (Google) Code Review

View File

@@ -950,6 +950,7 @@ public class UserSettings extends SettingsPreferenceFragment
} }
} else if (pref == mEmergencyInfoPreference) { } else if (pref == mEmergencyInfoPreference) {
Intent intent = new Intent(ACTION_EDIT_EMERGENCY_INFO); Intent intent = new Intent(ACTION_EDIT_EMERGENCY_INFO);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent); startActivity(intent);
} }
return false; return false;