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

Commit 4a0f5c88 authored by Kevin Hufnagle's avatar Kevin Hufnagle
Browse files

docs: Added curly brace in sample code method opening.

Added a curly brace at the beginning of "onProvideShadowMetrics()."
This method appears within the sample code associated with step 2 of
the "Designing a Drag and Drop Operation" section of the topic.

Bug: 24561657
Change-Id: Icb06a65f63bc57c747bb6f244f6b623c17bdfc45
parent 271d2f3e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -643,7 +643,7 @@ imageView.setOnLongClickListener(new View.OnLongClickListener() {
        // Defines a callback that sends the drag shadow dimensions and touch point back to the
        // Defines a callback that sends the drag shadow dimensions and touch point back to the
        // system.
        // system.
        @Override
        @Override
        public void onProvideShadowMetrics (Point size, Point touch)
        public void onProvideShadowMetrics (Point size, Point touch) {
            // Defines local variables
            // Defines local variables
            private int width, height;
            private int width, height;