Merge "Fix the save UI does not restore"

This commit is contained in:
TreeHugger Robot
2020-08-11 12:00:08 +00:00
committed by Android (Google) Code Review

View File

@@ -3827,6 +3827,12 @@ public class Activity extends ContextThemeWrapper
} catch (RemoteException e) {
finishAfterTransition();
}
// Activity was launched when user tapped a link in the Autofill Save UI - Save UI must
// be restored now.
if (mIntent != null && mIntent.hasExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN)) {
restoreAutofillSaveUi();
}
}
/**