198754 Commits

Author SHA1 Message Date
Andrew Solovay
f01aca2caf docs: Update code snippet so it doesn't depend on the sample app
The code snippet was copied straight from the MediaBrowserService
sample app. Since the code snippet consisted almost entirely of
calls to *other* methods in that sample app, the snippet wasn't
very helpful--and it wouldn't be helpful to add a lot of verbiage
explaining the sample app. So instead, I made the code more generic
(e.g. comments saying "You need to write code to check for XYZ")
followed by a link to the sample app.

Fixed other miscellaneous problems in the code snippets while we had
the file open.

See first comment for doc stage location.

bug: 20008288
Change-Id: Ic080ebffcc43e332ec3335b730c07ef5f8b64fa9
2015-10-20 15:49:53 -07:00
David Friedman
deb3ed8a1c Merge "Docs: Clarifies requirements in order for Auto Backup to work in API 23." into mnc-docs 2015-10-20 21:11:19 +00:00
David Friedman
871fbf5057 Docs: Clarifies requirements in order for Auto Backup to work in API 23.
Bug: 24673628

Change-Id: If472558cc6d7d5136261f9dcfdb3d25b22723aa6
2015-10-20 14:08:16 -07:00
David Friedman
5b05774357 Merge "Docs: Fixes instructions for manually putting device into Doze." into mnc-docs 2015-10-20 21:05:47 +00:00
Dan Yu
673e47363c Merge "docs: Fixing putBitmap() doc bug 19129506" into mnc-docs 2015-10-20 16:59:51 +00:00
Cheryl Potter
8fee894784 Merge "docs: SDK tools release notes b/25074031" into mnc-docs 2015-10-20 16:50:55 +00:00
Cheryl Potter
b978d0e618 docs: SDK tools release notes
b/25074031

Change-Id: I01ae33b269e8f9a222daf49d0d18f6362e182135
2015-10-19 19:10:29 -07:00
Quddus Chong
8e8ee027e1 Merge "docs: Removed 'Report device bug' link in the Support page. bug: 24545206" into mnc-docs 2015-10-19 23:36:38 +00:00
Quddus Chong
7f7d68b967 docs: Removed 'Report device bug' link in the Support page.
bug: 24545206

Change-Id: I830f78d298d97e0407c4892d16ac55d7ef1db671
2015-10-19 16:35:57 -07:00
Quddus Chong
f2804138d5 Merge "docs: Fixed typos in Android 6.0 behavior changes doc. bug: 24969810" into mnc-docs 2015-10-19 23:32:25 +00:00
Quddus Chong
73e7f93ade docs: Fixed typos in Android 6.0 behavior changes doc.
bug: 24969810

Change-Id: I0c249ad6cf86183c572bae8d571d75fd8cdfed5c
2015-10-19 16:31:34 -07:00
Quddus Chong
57d8fb2deb docs: Removing obsolete Notepad tutorial.
bug: 18940278, 1426263, 1426251

Change-Id: Id47439071454f333129465d88eee5ab45fecce5d
2015-10-19 16:07:36 -07:00
Pirama Arumuga Nainar
bea7716599 Merge "Fix punctuation and typos in AllocationAdapter's documentation." into mnc-docs 2015-10-19 18:03:49 +00:00
Andrew Solovay
52ba2e9f16 Merge "docs: Updated reference docs for changed permission level" into mnc-docs 2015-10-19 17:56:30 +00:00
Aleks Haecky
e46fdfc765 Add image files for app docs.
Change-Id: If9c8bed404c25a0052ea6af9ca16e0a6bb820788
2015-10-16 15:35:52 -07:00
Andrew Solovay
0e57cfc16b docs: Updated reference docs for changed permission level
Updated reference to note that SYSTEM_ALERT_WINDOW is now "signature"
instead of "dangerous". (The Manifest.permission class and javadoc
is automatically generated from Manifest.xml.)

Also clarified how an app can request SYSTEM_ALERT_WINDOW and
WRITE_SETTINGS privileges (it's different than for ordinary
'dangerous' permissions).

See first comment for doc stage location.

bug: 24673125
Change-Id: Id5908b6cc8c8ea3d6901f245cd35c771bdd2eb87
2015-10-16 11:01:13 -07:00
Jeff Sharkey
a6c40a62b1 Merge "Update docs to reflect adoptable behavior." into mnc-docs 2015-10-16 17:34:36 +00:00
Dirk Dougherty
caa32fa05e Doc change: updates to Doze/Standby cases.
Change-Id: I30c9e0440e0a4bf3fc6bb1fa78b2a85baad3b357
2015-10-16 10:08:55 -07:00
Jeff Sharkey
b3898341a9 Update docs to reflect adoptable behavior.
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)
2015-10-16 16:18:50 +00:00
Joe Fernandez
21c95b65b7 Merge "docs: APP basic file structure" into mnc-docs 2015-10-16 02:51:08 +00:00
Joe Fernandez
8f15feef61 docs: APP basic file structure
Change-Id: I98e942bd6d95e2764b47eea602634c13c79ee798
2015-10-15 19:47:32 -07:00
David Friedman
9d35d4b11e Merge "Docs: Adds an intent to the list. DAC counterpart to Critique CL 104821986." into mnc-docs 2015-10-16 02:26:05 +00:00
Andrew Solovay
d2ac2daeba resolved conflicts for 0f76f78f to mnc-docs
Change-Id: Ic513baabda9afb386a90fed03ff3be6658c01933
2015-10-15 19:22:41 -07:00
Andrew Solovay
ae87b8d621 am 88b783d0: Merge "docs: Removing obsolete ActionBar training" into mnc-preview-docs
* commit '88b783d007045f2635c467461e9518bf30ed6adc':
  docs: Removing obsolete ActionBar training
2015-10-16 00:09:19 +00:00
Andrew Solovay
0f76f78f82 Merge "docs: New action views/action providers doc" into mnc-preview-docs 2015-10-16 00:02:21 +00:00
Andrew Solovay
88b783d007 Merge "docs: Removing obsolete ActionBar training" into mnc-preview-docs 2015-10-16 00:02:20 +00:00
David Friedman
b4ca3c729e Merge "Localization of Android Material Design pages. Bug: 19125767" into mnc-docs 2015-10-15 23:57:23 +00:00
David Friedman
ec787018c2 Localization of Android Material Design pages.
Bug: 19125767

Change-Id: Iadf0674c45d6328258f749f602096a4f32b8c8e1
2015-10-15 16:34:51 -07:00
Glenn Kasten
c31e50bdd0 Merge "MediaPlayer: remove obsolete function setPlaybackRate from comments." into mnc-docs 2015-10-15 21:47:24 +00:00
Cheryl Potter
821e2259f4 docs: fixed type in rev number (24 changed to 23)
Change-Id: I311559f4cc8a43618d0d6f5054a994a06db4ee4b
2015-10-15 13:15:04 -07:00
Joe Fernandez
287b15dafb Merge "docs: 24.4 SDK tools release notes b/24801655" into mnc-docs 2015-10-15 16:07:34 +00:00
Chris Banes
e3c80538f5 Support Library v23.1.0 API Diff
Change-Id: Ib67b6319808926172ac98eb1e9a5facb507ed26f
2015-10-15 12:24:18 +01:00
Johan Euphrosine
90ef09bede Merge "docs/sdk/installing: update jdk link to match with the installer" into mnc-docs 2015-10-15 06:28:52 +00:00
David Friedman
8e69aaff7f Docs: Fixes instructions for manually putting device into Doze.
Bug: 24486809

Change-Id: Idec439cee19c070197b03cb49492ba8256059059
2015-10-14 19:49:26 -07:00
Cheryl Potter
521a365172 docs: 24.4 SDK tools release notes
b/24801655

Change-Id: I4d5abe55462de48b74e2a312f13fefaf540e08f5
2015-10-14 18:26:51 -07:00
Cheryl Potter
73cdff0954 Merge "docs: update Support Library links and release note b/24065341 b/23584577 b/24047203 b/24131953" into mnc-docs 2015-10-15 01:16:32 +00:00
Cheryl Potter
6098e49dae docs: update Support Library links and release note
b/24065341
b/23584577
b/24047203
b/24131953

Change-Id: I86bba670072e55fc02f7246d28efcd992cf624d3
2015-10-14 17:52:52 -07:00
Andrew Solovay
9f598347c4 Merge "docs: Info on two special (more-than-'dangerous') permissions" into mnc-docs 2015-10-15 00:04:56 +00:00
Andrew Solovay
22c024657d docs: New action views/action providers doc
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
2015-10-14 18:11:01 +00:00
Johan Euphrosine
fd227e9e39 docs/sdk/installing: update jdk link to match with the installer
Bug: 24105549
Change-Id: Ie8dc9747e3727bb1fc3f21ea59f90cdeb39b078c
2015-10-14 16:53:39 +00:00
Daniel Yu
56e345a7ad docs: Fixing putBitmap() doc bug 19129506
Fixing erroneous putString() call, replaced with putBitmap().
Confirmed in search that error is not present elsewhere in the docs.

Bug: 19129506
Change-Id: I00152480cbdcd1b655c093e789a0462d80d5f829
2015-10-12 15:55:23 -07:00
Wei Jia
10594aa926 MediaPlayer: remove obsolete function setPlaybackRate from comments.
Bug: 24260668
Change-Id: I20733e52dbd2dab5eb10b4607a1c1aadb93a1332
(cherry picked from commit cd860ac06ca7a46e9638dd741ba731f066705eb5)
2015-10-12 22:51:30 +00:00
Cheryl Potter
6ad1cf4b54 Merge "docs: replaced UsesMinSdkAttributes with UnusedResources b/24113943" into mnc-docs 2015-10-12 21:16:41 +00:00
Dan Yu
bc35ea14eb Merge "docs: Fixing controller support example for bug 22727418 and 24098562" into mnc-docs 2015-10-12 16:27:38 +00:00
Pirama Arumuga Nainar
b3c07d5e08 Fix punctuation and typos in AllocationAdapter's documentation.
Change-Id: I5574ff201b857a29f30ebe8413dbe4128dcff3ae
(cherry picked from commit 115b4117a0c19a31231d4df5f2b73c6c88e6726c)
2015-10-09 15:16:49 -07:00
Dirk Dougherty
e20dda71cd Doc change: Add device frames for Nexus 5X and 6P.
Change-Id: I9935e2af2b9775b6befb2d97e7c14d15aa340892
2015-10-09 18:52:18 +00:00
Cheryl Potter
961e06ec48 docs: replaced UsesMinSdkAttributes with UnusedResources
b/24113943

Change-Id: Ibe2be3014ad142f817a91d9b2b503ac1d53d4b1a
2015-10-08 19:08:40 -07:00
Daniel Yu
ff5e334e7a docs: Fixing controller support example for bug 22727418 and 24098562
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
2015-10-08 15:54:35 -07:00
Andrew Solovay
fe7f063ade Merge "docs: Noted several new supported screen resolutions." into mnc-docs 2015-10-08 18:44:45 +00:00
Dirk Dougherty
f4f073e90d Remove deprecated page from Get Users.
Change-Id: Ic10f123b8186d4e9c02f6d4b76ee2da4a86365aa
2015-10-08 18:13:42 +00:00