App Shortcut: Clarify which attributes must be resources

Test: javadoc only -- m -j32 offline-sdk-docs

Bug 32495737

Change-Id: I4c3884172761b128d07f1c2948ab7ccc53951a7e
This commit is contained in:
Makoto Onuki
2016-10-28 11:20:20 -07:00
parent e97969b4d0
commit 104f805337
2 changed files with 20 additions and 5 deletions

View File

@@ -390,7 +390,9 @@ setComponent()} method.</dd>
<dd>The package part of the component name, as per the {@link
android.content.Intent#setComponent setComponent()} method.</dd>
</dl>
<p class="note"><strong>Note: </strong>You must use string literals as the values for these
intent attributes. You cannot use resource strings, such as <code>@string/foo</code>, to define the attributes.
</p>
<h2 id="Activity">Creating a Preference Activity</h2>