Use same task for Settings>Users and EmergencyInfo

Bug:27859534
Change-Id: I0ea4e56e4f6daacfd478336444aceeb84d8bfe5d
This commit is contained in:
mariagpuyol
2016-03-30 18:04:54 -07:00
parent 627d0af541
commit 6ca8940880

View File

@@ -953,7 +953,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); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent); startActivity(intent);
} }
return false; return false;