Merge \"Docs: A removal from docs of an obsolete watch face permission\" into mnc-io-docs

am: 9011149e19

Change-Id: If34c51a5c2f8b28612c3526ca40cfce5a9a4a140
This commit is contained in:
Bert McMeen
2016-06-15 23:03:13 +00:00
committed by android-build-merger

View File

@@ -93,24 +93,20 @@ it provides project setup, library inclusion, and packaging conveniences.</p>
<h3 id="Permissions">Declare Permissions</h3> <h3 id="Permissions">Declare Permissions</h3>
<p>Watch faces require the <code>PROVIDE_BACKGROUND</code> and <code>WAKE_LOCK</code> permissions. <p>A watch face requires the <code>WAKE_LOCK</code> permission.
Add the following permissions to the manifest files of both the wearable app and the mobile Add the following permission to the manifest files of both the wearable app
app under the <code>manifest</code> element:</p> and the mobile app under the <code>manifest</code> element:</p>
<pre> <pre>
&lt;manifest ...> &lt;manifest ...>
&lt;uses-permission
android:name="com.google.android.permission.PROVIDE_BACKGROUND" />
&lt;uses-permission &lt;uses-permission
android:name="android.permission.WAKE_LOCK" /> android:name="android.permission.WAKE_LOCK" />
... ...
&lt;/manifest> &lt;/manifest>
</pre> </pre>
<p class="caution"><strong>Caution:</strong> The handheld app must include all the permissions <p class="caution"><strong>Caution:</strong> The handheld app must include all
declared in the wearable app.</p> of the permissions declared in the wearable app.</p>
<h2 id="CallbackMethods">Implement the Service and Callback Methods</h2> <h2 id="CallbackMethods">Implement the Service and Callback Methods</h2>