From 4a0f5c88d6a703c7947e71914e56499da783eb81 Mon Sep 17 00:00:00 2001 From: Kevin Hufnagle Date: Tue, 15 Mar 2016 18:07:58 -0700 Subject: [PATCH] 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 --- docs/html/guide/topics/ui/drag-drop.jd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/html/guide/topics/ui/drag-drop.jd b/docs/html/guide/topics/ui/drag-drop.jd index 9d8aa9b597083..4eb54f2325682 100644 --- a/docs/html/guide/topics/ui/drag-drop.jd +++ b/docs/html/guide/topics/ui/drag-drop.jd @@ -643,7 +643,7 @@ imageView.setOnLongClickListener(new View.OnLongClickListener() { // Defines a callback that sends the drag shadow dimensions and touch point back to the // system. @Override - public void onProvideShadowMetrics (Point size, Point touch) + public void onProvideShadowMetrics (Point size, Point touch) { // Defines local variables private int width, height;