Update storage related docs on Context to be consistent, and to call
out relevant Environment methods. Start calling it "shared" storage,
and only mention external for historical reasons. Mention that there
isn't much benefit to using emulated storage over private data
directories to help guide developers to safer locations.
Point out which paths can change over time, so developers know to
only persist relative paths.
Update Environment docs to reflect how they behave for the new
class of adopted storage devices.
Bug: 24251945
Change-Id: Ie5ab337649b4740dfd7594997bbb19c4969cfd2f
(cherry picked from commit 59d28dc82000b1696ed9ef7ef2c0d7fbb2834100)
Replaces the existing action views/action providers section in the
(soon to be removed) "ActionBar API Guide" page. Builds on
http://ag/730414 (which covers the basic app bar topics).
Some of the action providers doc is being moved into the
Javadoc reference for appropriate classes--that's being tracked
with CL http://ag/748902
See comment on patch set 2 for doc stage location.
Change-Id: Ia62b5155d7f67dc8922fc11917a12a957bf27fb1
Fixing erroneous putString() call, replaced with putBitmap().
Confirmed in search that error is not present elsewhere in the docs.
Bug: 19129506
Change-Id: I00152480cbdcd1b655c093e789a0462d80d5f829
As per Robert Anderberg's recommendation, removed the manifest example that
doesn't include android:required="false" and updated description text to
indicate the example works with apps that "support" a game controller rather
than "require". Updated Robert's suggestion with more concise version from
Andrew's suggestion. Note that we're not adding info on specifying
android:required="true" because this causes the app to not be installable on
any devices (because controllers aren't currently considered part of a device,
so it ends up looking like no devices have controllers at install time)
Bug: 22727418
Bug: 24098562
Change-Id: Ie4dd02d5599b9ffda53e46dc5af4765d888e81a4
There are a couple of 'signature' permissions that have a special
user-authorization process; mentioned them and put in a link to their
reference docs.
The reference docs for those methods is being updated in a separate
CL, http://ag/784299
See first comment for doc stage location.
bug: 24673125
Change-Id: I4f17784b570d6154482e3fe965bd2de1043babb6
ag/783575 changed this value to "sdkl10n" with the intent of using a different
sdk template page for non-English files. This turns out to be unnecessary, and
it's better for all pages to be on the same sdkpage.cs template, so I'm reverting.
Change-Id: I2abba803cb77472f97ee5be074c2cac7d46ed643