Add flags to emergency info intent
Bug:27859534 Change-Id: I3ff0aea7b0115a22c0a4a853d8fc83a7ae7adc20
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user