Loading services/credentials/java/com/android/server/credentials/CredentialManagerUi.java +2 −3 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package com.android.server.credentials; import android.annotation.NonNull; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.credentials.ui.IntentFactory; Loading Loading @@ -48,7 +47,7 @@ public class CredentialManagerUi { }; private void handleUiResult(int resultCode, Bundle resultData) { if (resultCode == Activity.RESULT_OK) { if (resultCode == UserSelectionDialogResult.RESULT_CODE_DIALOG_COMPLETE_WITH_SELECTION) { UserSelectionDialogResult selection = UserSelectionDialogResult .fromResultData(resultData); if (selection != null) { Loading @@ -56,7 +55,7 @@ public class CredentialManagerUi { } else { Slog.i(TAG, "No selection found in UI result"); } } else if (resultCode == Activity.RESULT_CANCELED) { } else if (resultCode == UserSelectionDialogResult.RESULT_CODE_DIALOG_CANCELED) { mCallbacks.onUiCancelation(); } } Loading Loading
services/credentials/java/com/android/server/credentials/CredentialManagerUi.java +2 −3 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package com.android.server.credentials; import android.annotation.NonNull; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.credentials.ui.IntentFactory; Loading Loading @@ -48,7 +47,7 @@ public class CredentialManagerUi { }; private void handleUiResult(int resultCode, Bundle resultData) { if (resultCode == Activity.RESULT_OK) { if (resultCode == UserSelectionDialogResult.RESULT_CODE_DIALOG_COMPLETE_WITH_SELECTION) { UserSelectionDialogResult selection = UserSelectionDialogResult .fromResultData(resultData); if (selection != null) { Loading @@ -56,7 +55,7 @@ public class CredentialManagerUi { } else { Slog.i(TAG, "No selection found in UI result"); } } else if (resultCode == Activity.RESULT_CANCELED) { } else if (resultCode == UserSelectionDialogResult.RESULT_CODE_DIALOG_CANCELED) { mCallbacks.onUiCancelation(); } } Loading