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

Commit 9eb1f83b authored by Shan Huang's avatar Shan Huang Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Add logging for when IOnBackInvokedCallback is null. am: 30615002

parents 7e767cc9 30615002
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -291,6 +291,7 @@ public class WindowOnBackInvokedDispatcher implements OnBackInvokedDispatcher {
                mProgressAnimator.reset();
                final OnBackInvokedCallback callback = mCallback.get();
                if (callback == null) {
                    Log.d(TAG, "Trying to call onBackInvoked() on a null callback reference.");
                    return;
                }
                callback.onBackInvoked();