OSDN Git Service

Merge \\\"Docs: A removal from docs of an obsolete watch face permission\\\" into...
authorBert McMeen <amcmeen@google.com>
Wed, 15 Jun 2016 23:13:27 +0000 (23:13 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Wed, 15 Jun 2016 23:13:27 +0000 (23:13 +0000)
am: 0caf0b7259

Change-Id: I34c4adf1e9c003ab24c9fa07f879927fd3db4332

docs/html/training/wearables/watch-faces/service.jd

index 20eb0c7..b54f51a 100755 (executable)
@@ -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>
 &lt;manifest ...>
     &lt;uses-permission
-        android:name="com.google.android.permission.PROVIDE_BACKGROUND" />
-    &lt;uses-permission
         android:name="android.permission.WAKE_LOCK" />
     ...
 &lt;/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>