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

Commit 2dec43c2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "DragState: fix the NPE problem." into main

parents ca44e3aa 58bb72b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -528,7 +528,7 @@ class DragState {
            }
            }
            // Only allow the extras to be dispatched to a global-intercepting drag target
            // Only allow the extras to be dispatched to a global-intercepting drag target
            ClipData data = null;
            ClipData data = null;
            if (interceptsGlobalDrag) {
            if (interceptsGlobalDrag && mData != null) {
                data = mData.copyForTransferWithActivityInfo();
                data = mData.copyForTransferWithActivityInfo();
                PersistableBundle extras = data.getDescription().getExtras() != null
                PersistableBundle extras = data.getDescription().getExtras() != null
                        ? data.getDescription().getExtras()
                        ? data.getDescription().getExtras()