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

Commit 1f68b5e9 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Update API doc of View.DragShadowBuilder

Since Android P, DragShadowBuilder#onProvideShadowMetrics must provides
positive values for shadow width/height.

Bug: 113779428
Test: None
Change-Id: Idd8c24ee5bf2c7023f7c82137399c59a60162a4f
parent 0af8c5c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24045,7 +24045,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
         * @param outShadowSize A {@link android.graphics.Point} containing the width and height
         * of the shadow image. Your application must set {@link android.graphics.Point#x} to the
         * desired width and must set {@link android.graphics.Point#y} to the desired height of the
         * image.
         * image. Since Android P, the width and height must be positive values.
         *
         * @param outShadowTouchPoint A {@link android.graphics.Point} for the position within the
         * shadow image that should be underneath the touch point during the drag and drop