2725 Commits

Author SHA1 Message Date
Kevin Hufnagle
c9afecdff9 Merge "docs: Corrected reference link for NotificationManager.notify()." into mnc-mr-docs 2016-03-31 15:14:12 +00:00
Kevin Hufnagle
88e19d1670 Merge "docs: Fixed Marshmallow links in API level table." into mnc-mr-docs 2016-03-31 15:12:32 +00:00
Kevin Hufnagle
908d74a3b2 docs: Corrected reference link for NotificationManager.notify().
The end of the first paragraph of the "Creating a Notification"
section (within the "Notifications" page) now links to the correct
version of notify() -- i.e. the one within the NotificationManager
class.

Bug: 27708810
Change-Id: I7cc9608f646518bf5f7fc3f4a231c9dece693363
2016-03-30 14:35:57 -07:00
Elliot Waite
abb9f4db5a Merge "Change colons to equals for custom_link_attributes." into mnc-mr-docs 2016-03-30 18:37:01 +00:00
Miao Wang
f2988f59f4 Merge "[RenderScript] Update documentation about API level and RS Support Lib." into mnc-mr-docs 2016-03-30 02:50:23 +00:00
Miao Wang
a51f9c0418 [RenderScript] Update documentation about API level and RS Support Lib.
Bug: 22767853

  - Correct the description about renderscriptTargetApi: Use the lowest
    API level providing all the functionality in the code.
  - Update the sample gradle config to use the up-to-date and stable
    version of Build-Tools.

Change-Id: Ie8008acafb270fda9e2c928953568461f6f6f476
2016-03-29 14:51:02 -07:00
Kevin Hufnagle
d9ad75f5b0 docs: Fixed Marshmallow links in API level table.
The table listing the different Android API levels (within the
"<uses-sdk>" page) now contains accurate links for "Android 6.0" APIs
and "Platform Highlights."

Bug: 27725763
Change-Id: I7cc9734b84ac530223a6bae58aed0072dcd214aa
2016-03-25 16:42:34 -07:00
Elliot Waite
fe1d89f339 Change colons to equals for custom_link_attributes.
Change-Id: I9f4ca9d0df9e7b358af28ded8cf6d992e38a0650
2016-03-24 14:57:24 -07:00
Kevin Hufnagle
1070ed402c docs: Fixed resource/theme value syntax.
Within the "Resource values" sub-section within the "File Conventions"
section of the "App Manifest" page, changed the separator between the
name/value pair for resources and themes such that it is now
consistently a '/' character.

Bug: 27070041
Change-Id: Ie299fbb866b9de3afaffa8fb70e3ca3709c45735
2016-03-23 03:35:30 +00:00
Elliot Waite
0bee3d2997 Merge "docs: Add _book.yaml files for DevSite navigation" into mnc-mr-docs 2016-03-23 01:05:11 +00:00
smain@google.com
098de48e2b rename "sdk version" to "api level" and add useful links
Change-Id: I824492278c2673ff08ffb12932071f6bdc3798fa
2016-03-18 14:39:31 -07:00
Elliot Waite
20d6d77242 docs: Add _book.yaml files for DevSite navigation
Change-Id: I02a5fe5bb5fe3e968870cec8898deee9e7d8a82d
2016-03-17 17:23:21 -07:00
Kevin Hufnagle
4a0f5c88d6 docs: Added curly brace in sample code method opening.
Added a curly brace at the beginning of "onProvideShadowMetrics()."
This method appears within the sample code associated with step 2 of
the "Designing a Drag and Drop Operation" section of the topic.

Bug: 24561657
Change-Id: Icb06a65f63bc57c747bb6f244f6b623c17bdfc45
2016-03-16 01:14:15 +00:00
Glenn Kasten
3941eb57c9 Update feature list for audio and MIDI
Change-Id: I78567ae8de8375af11436d8c8579dcc3f7aa7a6c
2016-03-10 07:44:56 +00:00
Andrew Solovay
a77d6a94bb docs: Added missing REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission
While checking the manifest for N permissions changes, I saw a
normal permission that had been added in M and not documented.
(The permission was added to AndroidManifest.xml, so it *was*
being listed in the android.Manifest javadoc.)

See first comment for doc stage location.

bug: 27222922
Change-Id: I5740fdb3da3cac37b15d87fe5f092d305c52449d
2016-02-17 12:49:25 -08:00
Andrew Solovay
019375b5d7 docs: Re-sorting list
List of normal permissions had drifted from alphabetical order;
fixed.

See first comment for doc stage location.

Change-Id: I031d1142275c9fd53a2ce16fcd54fdcf206d03a7
2016-02-17 11:31:38 -08:00
Eric Schmidt
e32497ba43 Merge "docs: Replaced ?s with quotation marks." into mnc-docs 2016-02-09 01:34:23 +00:00
Eric Schmidt
68ab2f8263 docs: Replaced ?s with quotation marks.
Bug: 26349836
Change-Id: I00a742cd6bee9d4c9882ee953267e75e195e3bfc
2016-02-08 15:30:30 -08:00
Florian Salbrechter
adde150c02 Fix bug in IntentService and Service example code.
Use Thread.sleep instead of Object.wait which simplifies the example.
Also there is a tiny chance, that wait will be called with 0, which
blocks forever.

Change-Id: I4cf90a33089a64bdf802620350f76af08f15f721
(cherry picked from commit 77d8857ed58503669e0659989c02fb7f1ca936b4)
2016-02-08 17:03:23 +00:00
Dan Dascalescu
2bcde9fa9a Merge "docs: Fix typo "allows the application can recognize" -> to" into mnc-docs 2016-02-05 23:20:53 +00:00
Dan Dascalescu
2c506fcf9d docs: Fix typo "[singular] attributes specifies"
bug: https://code.google.com/p/android/issues/detail?id=196193
Change-Id: I69fb6dcb6bbb5912ef3f3697d0b658e07ebddfa4
2016-02-04 18:38:19 -08:00
Dan Dascalescu
4de6c74fc0 docs: Fix typo "allows the application can recognize" -> to
bug: https://code.google.com/p/android/issues/detail?id=28854
Change-Id: Ifee2f44309c880ffe1f9df55b4a2a7fb3ae7c149
2016-02-04 17:39:17 -08:00
Dirk Dougherty
31ae1c518f Doc change: adjustments for design updates.
Change-Id: Ic798228a75ba2ab692fd3e36034606c04651c20c
2016-01-28 17:10:09 -08:00
Joe Fernandez
08320015f8 docs: Eclipse ADT removing and replacing mentions
Batch 05, Project 01 with InfoPros

b/25192800

Change-Id: I6cce84d8498ba9f0aa488b8d43b7b832e58fe899
2016-01-14 09:48:30 -08:00
Dirk Dougherty
1fea1ec829 Doc change: edits to permissions and ids guidelines.
Change-Id: I0de247d182f54b92dcb5509b224d5b848cfafb89
2016-01-13 23:17:15 -08:00
Dan Dascalescu
4c6a234e10 Merge "docs: Add missing "classes" to Content Provider Basics" into mnc-docs 2016-01-13 20:39:38 +00:00
Dan Dascalescu
559f506486 Merge "Fix typo "pass" -> "passes"" into mnc-docs 2016-01-13 20:39:14 +00:00
Dan Dascalescu
226f1c4f9a Merge "Fix typo "required by you" -> of" into mnc-docs 2016-01-13 20:37:56 +00:00
Dan Dascalescu
79c4164c9d Merge "Add missing "from" in Content Provider Basics" into mnc-docs 2016-01-13 18:20:16 +00:00
Dan Dascalescu
dc19588da1 Merge "docs: Fix typo: remove "a" from Activities" into mnc-docs 2016-01-13 18:19:51 +00:00
Dan Dascalescu
c4e6e8eaeb Merge "docs: Fixed typo" into mnc-docs 2016-01-13 18:19:27 +00:00
Dan Dascalescu
e9956f251a docs: Add missing "classes" to Content Provider Basics
Also uppercase "Uri" to "URI"

bug: 26339372
Change-Id: I822889f490356cd680a0b29c2b66429d5888e654
2016-01-12 16:54:25 -08:00
Dan Dascalescu
40ef11b384 docs: Fix typo: remove "a" from Activities
bug: 26097787
Change-Id: I00049d80627aea6f7e8481fed4bbf7831d7abdc2
2016-01-12 16:46:29 -08:00
Dan Dascalescu
07e36d8527 Fix typo: add "the" in Content Provider Basics
bug: 26339577
Change-Id: Idb94dc2399338394820b2a21592e011308f7b01e
2016-01-12 16:42:00 -08:00
Dan Dascalescu
27d2fbcd1b Add missing "from" in Content Provider Basics
bug: 26339580
Change-Id: I173b8c7f4f041aa5a685f0bf45fc2a746c0fa65a
2016-01-12 16:37:41 -08:00
Dan Dascalescu
9ca7d35323 Fix typo "pass" -> "passes"
bug: 26016604
Change-Id: Idab945201fc5c13c4a505c1bc4d73147d5a4bce8
2016-01-12 16:29:31 -08:00
Dan Dascalescu
73840a4fa8 Fix typo "required by you" -> of
bug: 26190340
Change-Id: I540ce90fcf7ec758a4d7f7bfad46f1616d49adaf
2016-01-12 16:24:40 -08:00
Dan Dascalescu
d8e259b367 docs: Fixed typo
Also removed some insignificant whitespace.

bug: 26403380
Change-Id: I7af02f172f2110b9700c451db72f429c62613f8e
2016-01-12 12:54:40 -08:00
Andrew Solovay
17f19f06b9 docs: Removing now-deprecated (and never-used) FLASHLIGHT permission
Per bug b/26383626 , the FLASHLIGHT permission was never actually
used, and isn't checked by the new CameraManager.setTorchMode()
method. The permission has been removed from the manifest on
master; there's no reason to list it now in the list of normal
permissions.

See first comment for doc stage location.

bug: 26383626
Change-Id: I0c39dd5e1cdde1fc6a85759663b7e5ad669dc280
2016-01-04 16:43:27 -08:00
Andrew Solovay
0cccd0dbda docs: Fixing typo
Just a missing period; I'll build (see first comment for stage
location) then if it looks good I'll submit.

bug: 26359756
Change-Id: I1f0619f23559abadacccc9a60d19aaf69713a6e2
2016-01-04 12:00:49 -08:00
Andrew Solovay
73c35d03d2 docs: quick typo fix
Fixed a typo and also removed a couple of extra blank lines. I'll
build (to make sure I didn't break anything) then if it looks good
I'll self-+2 and commit.

bug: 26359706
Change-Id: Idc873ad774769819708c3d227d23e676a7fa1a90
2015-12-30 19:11:24 -08:00
Andrew Solovay
8998d20dba Merge "docs: Fixing typos" into mnc-docs 2015-12-30 20:28:57 +00:00
Andrew Solovay
6552d59236 Merge "docs: Fixed misleading information about permissions" into mnc-docs 2015-12-30 20:26:45 +00:00
Andrew Solovay
eab2d05db4 docs: Fixing typos
Fixed a reported typo (see bug), and while I had the file open, fixed
a few other typos and formatting problems.

I'll go ahead and build and stage this (see first comment for stage
location) to make sure I didn't break anything, but if it looks okay
I'll +2 it myself and submit it.

bug: 26356168
Change-Id: I57727cecd671ab877c0da27e487fa058d95914c5
2015-12-30 12:12:56 -08:00
Andrew Solovay
26f501d064 docs: Fixed misleading information about permissions
Doc had said that users have to grant all permissions at install time
(which was misleading--users don't have to grant normal permissions--
and wrong if app and device use runtime permissions).

Changed the text to just say that the user needs to explicitly grant
"these permissions" (the permissions being talked about are all
dangerous), and pointed the reader to the Permissions training class.

I'll build and stage, but since it's a one-sentence fix I'll go ahead
and submit if it looks good.

bug: 25412683
Change-Id: Idc17828f2958d4f8900d29e564c05c54bf3ce753
2015-12-22 14:19:45 -08:00
Andrew Solovay
61aef1967e docs: Fixing normal permission example
The doc previously said that you need just the normal FLASHLIGHT
permission to turn on the flashlight. This was wrong in a couple of
ways: For the (deprecated) Camera API, you need CAMERA permission just
to get the Camera object (which you use to turn on the flash); for
the new Camera2 API, you don't need any permissions at all to turn
on "torch mode". So I've removed this example and replaced with a more
straightforward example of a normal permission (setting the time
zone).

I've filed a separate bug, b/26308110 , to update the FLASHLIGHT
permission docs (once I've confirmed the right update to make).

See first comment for doc stage location, but if the build is
okay I'll just go ahead and submit.

bug: 26104001
Change-Id: Ie0802b4818bd0ba4d3fd026e32620978827e50df
2015-12-22 13:36:53 -08:00
Joe Fernandez
2460971aee docs: Android Eclipse ADT update and removals - Batch 04
b/25192800

Change-Id: Ic3927136a09da29c5931ccaa6ba5ce76ace75096
2015-12-18 11:04:38 -08:00
Joe Fernandez
a7a294cfcb docs: Android Eclipse ADT update and removals - Batch 03
b/25192800

Change-Id: I2ec275ba81449db5d695483e0adee70e4eb579f3
2015-12-17 14:48:55 -08:00
Joe Fernandez
67afa981a2 docs: InfoPros, Project 01, Batch 02
- Removing/Replacing Eclipse ADT references in docs
- 10 files

b/25192800

Change-Id: I0312015a33e3553088c6a76f64967574bf46c513
2015-12-14 10:23:30 -08:00
Dan Yu
7be0ece820 Merge "docs: Fixing details on when clients unbind from Bound Service" into mnc-docs 2015-11-30 17:53:30 +00:00