Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc1e5832 authored by Kate Xu's avatar Kate Xu Committed by Android (Google) Code Review
Browse files

Merge "Add null check for mCallback in AutoFillUI" into main

parents d9ef3eeb ffbe20e7
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -462,8 +462,10 @@ public final class AutoFillUI {

                        @Override
                        public void onShown() {
                            if (mCallback != null) {
                                mCallback.onShown(UI_TYPE_DIALOG, response.getDatasets().size());
                            }
                        }

                        @Override
                        public void onDatasetPicked(Dataset dataset) {
@@ -511,8 +513,10 @@ public final class AutoFillUI {

                        @Override
                        public void startIntentSender(IntentSender intentSender) {
                            if (mCallback != null) {
                                mCallback.startIntentSenderAndFinishSession(intentSender);
                            }
                        }

                        private void log(int type) {
                            log.setType(type);