diff options
| author | 2016-06-14 14:00:20 -0700 | |
|---|---|---|
| committer | 2016-06-14 14:00:20 -0700 | |
| commit | b65a30ebdeb984f1304b0acad1ea38abb79b43e0 (patch) | |
| tree | 291bdd4c657043f0fdb934391247c3826738c967 | |
| parent | a0fa50e40beb9fad61ea9f33b931ee302feab1a0 (diff) | |
Docs: A removal from docs of an obsolete watch face permission
Bug: 24738486
Change-Id: I522021bc2363790695929fee504bc7b843bc61dc
| -rwxr-xr-x | docs/html/training/wearables/watch-faces/service.jd | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/html/training/wearables/watch-faces/service.jd b/docs/html/training/wearables/watch-faces/service.jd index 20eb0c777e0c..b54f51a9cc10 100755 --- a/docs/html/training/wearables/watch-faces/service.jd +++ b/docs/html/training/wearables/watch-faces/service.jd @@ -93,24 +93,20 @@ it provides project setup, library inclusion, and packaging conveniences.</p> <h3 id="Permissions">Declare Permissions</h3> -<p>Watch faces require the <code>PROVIDE_BACKGROUND</code> and <code>WAKE_LOCK</code> permissions. -Add the following permissions to the manifest files of both the wearable app and the mobile -app under the <code>manifest</code> element:</p> +<p>A watch face requires the <code>WAKE_LOCK</code> permission. +Add the following permission to the manifest files of both the wearable app +and the mobile app under the <code>manifest</code> element:</p> <pre> <manifest ...> <uses-permission - android:name="com.google.android.permission.PROVIDE_BACKGROUND" /> - <uses-permission android:name="android.permission.WAKE_LOCK" /> ... </manifest> </pre> -<p class="caution"><strong>Caution:</strong> The handheld app must include all the permissions -declared in the wearable app.</p> - - +<p class="caution"><strong>Caution:</strong> The handheld app must include all +of the permissions declared in the wearable app.</p> <h2 id="CallbackMethods">Implement the Service and Callback Methods</h2> |