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

Commit 443ae69b authored by David Friedman's avatar David Friedman Committed by Android Git Automerger
Browse files

am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '5389f46c':
  Docs: Fixes to interactive-watch-face docs (CL 743190)
parents ecc55bdc 5389f46c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ Drawing Watch Faces</a></dt>
Showing Information in Watch Faces</a></dt>
<dd>Learn how to incorporate contextual information into your watch face.</dd>
<dt><a href="{@docRoot}training/wearables/watch-faces/interacting.html">
Making Your Watch Face Interactive </a></dt>
Creating Interactive Watch Faces</a></dt>
<dd>Learn how to enable the user to interact with your watch face.</dd>
<dt><a href="{@docRoot}training/wearables/watch-faces/configuration.html">
Providing Configuration Activities</a></dt>
+2 −2
Original line number Diff line number Diff line
@@ -62,10 +62,10 @@ implementation.</p>
reserves gestures such as drag and long-press for system UI elements.
Therefore, the system does not send raw touch events to the watch face. Instead, the system forwards specific commands to the
<a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onTapCommand(int, int, int, long)">
method.
onTapCommand()</a> method.

<p>The system sends the first command,
<a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH"</a>
<a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH">
{@code TAP_TYPE_TOUCH}</a>, when the user initially touches the
screen. This event lets you provide visual feedback to the user on touch.  Your app should not
launch a UI when this event triggers. Launching a UI prevents drag events from opening the app