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

Commit a8de0cf8 authored by Bert McMeen's avatar Bert McMeen Committed by android-build-merger
Browse files

Docs: Links added to pages for permissions and configuration activity am:...

Docs: Links added to pages for permissions and configuration activity am: cdfe5e4f am: 7a6494ae am: ae5a14bc am: 7379e4a3
am: 1ada3fb1

Change-Id: I7a49128611fc61aff0a142fc9cb5f5a866678217
parents 87544669 1ada3fb1
Loading
Loading
Loading
Loading
+8 −3
Original line number Original line Diff line number Diff line
@@ -113,8 +113,8 @@ page.image=/wear/preview/images/complications-main-image.png


    <p>
    <p>
      To start receiving complication data, a watch face calls
      To start receiving complication data, a watch face calls
      <code>setActiveComplications</code> within the
      <code>setActiveComplications</code>, in the
      <code>WatchFaceService.Engine</code> class with a list of watch face
      <code>WatchFaceService.Engine</code> class, with a list of watch face
      complication IDs. A watch face creates these IDs to uniquely identify
      complication IDs. A watch face creates these IDs to uniquely identify
      slots on the watch face where complications can appear, and passes them
      slots on the watch face where complications can appear, and passes them
      to the <code>createProviderChooserIntent</code> method (of the
      to the <code>createProviderChooserIntent</code> method (of the
@@ -283,7 +283,12 @@ android.support.wearable.complications.UPDATE_PERIOD_SECONDS
    </p>
    </p>


    <p>
    <p>
      The configuration activity may also be used as an opportunity to request
      If a data provider needs a specific permission to access a user's data,
      then standard code
      for runtime <a href="{@docRoot}training/articles/wear-permissions.html">
      permissions</a> is needed.
      A <a href="{@docRoot}training/wearables/watch-faces/configuration.html">
      configuration activity</a> may be used as an opportunity to request
      any permissions required by the provider.
      any permissions required by the provider.
    </p>
    </p>