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

Commit 452f7879 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Log top callback before wrapping in WindowOnBackInvokedDispatcher

Bug: 411868801
Flag: EXEMPT bugfix
Test: Manual, i.e. verified log is useful by checking logcat
Change-Id: I55858ed57b4755a9a11cc8c66af718c05184f919
parent e34116fa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -429,6 +429,7 @@ public class WindowOnBackInvokedDispatcher implements OnBackInvokedDispatcher {
                        callback instanceof OnBackAnimationCallback,
                        overrideAnimation);
            }
            Log.d(TAG, "setTopOnBackInvokedCallback (unwrapped): " + callback);
            mWindowSession.setOnBackInvokedCallbackInfo(mWindow, callbackInfo);
        } catch (RemoteException e) {
            Log.e(TAG, "Failed to set OnBackInvokedCallback to WM. Error: " + e);