From b65a30ebdeb984f1304b0acad1ea38abb79b43e0 Mon Sep 17 00:00:00 2001 From: Bert McMeen Date: Tue, 14 Jun 2016 14:00:20 -0700 Subject: [PATCH] Docs: A removal from docs of an obsolete watch face permission Bug: 24738486 Change-Id: I522021bc2363790695929fee504bc7b843bc61dc --- .../html/training/wearables/watch-faces/service.jd | 14 +++++--------- 1 file 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 20eb0c777e0c5..b54f51a9cc106 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.

Declare Permissions

-

Watch faces require the PROVIDE_BACKGROUND and WAKE_LOCK permissions. -Add the following permissions to the manifest files of both the wearable app and the mobile -app under the manifest element:

+

A watch face requires the WAKE_LOCK permission. +Add the following permission to the manifest files of both the wearable app +and the mobile app under the manifest element:

 <manifest ...>
-    <uses-permission
-        android:name="com.google.android.permission.PROVIDE_BACKGROUND" />
     <uses-permission
         android:name="android.permission.WAKE_LOCK" />
     ...
 </manifest>
 
-

Caution: The handheld app must include all the permissions -declared in the wearable app.

- - +

Caution: The handheld app must include all +of the permissions declared in the wearable app.

Implement the Service and Callback Methods