Fix the result code when the UI is launched for settings.

Bug: 280497108
Fix: 280497108
Test: local
Change-Id: Icfb3f3edf3c65db3d851258a5449962a10f0cd94
This commit is contained in:
Helen Qin
2023-05-03 22:27:13 +00:00
parent a3d6283903
commit f10542c053

View File

@@ -168,7 +168,7 @@ class CredentialManagerRepo(
// The dialog is canceled because we launched into settings.
fun onSettingLaunchCancel() {
onCancel(BaseDialogResult.RESULT_CODE_DIALOG_COMPLETE_WITH_SELECTION)
onCancel(BaseDialogResult.RESULT_CODE_CANCELED_AND_LAUNCHED_SETTINGS)
}
fun onParsingFailureCancel() {