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

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

Merge "Correctly remove drag surface when perform drag failed" into udc-qpr-dev

parents 1ec573a0 86a32d0d
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -181,7 +181,11 @@ class DragDropController {
                    }
                    }
                } finally {
                } finally {
                    if (surface != null) {
                    if (surface != null) {
                        surface.release();
                        try (final SurfaceControl.Transaction transaction =
                                mService.mTransactionFactory.get()) {
                            transaction.remove(surface);
                            transaction.apply();
                        }
                    }
                    }
                }
                }
            }
            }