71878 Commits

Author SHA1 Message Date
Kevin Hufnagle
37d1814ed7 docs: Clarified purpose of application "name" attr within manifest.
Improved descriptions of the "name" attribute of the <application>
element, which appears within an Android app's <manifest> element in
its manifest file. Also clarified connection between this attribute
and custom subclasses of the Application class.

Bug: 1232595
Change-Id: I79b6bd31224c7669b5dc509914a01ead84a049dc
Abandoned-Change-Id: Icee66f6b8df55c7fad414b4c19939a483dc7a165
2016-04-19 15:26:18 -07:00
Kevin Hufnagle
75951d7c86 docs: Fixed whitespace in documents referencing "Application"
element.

Several files associated with a future CL contain extra whitespace.
I've made a separate CL here to avoid inflating the "changed lines"
count within this future CL.

Change-Id: Ie8199abd2a61b77d0fb349435983050e0e06afc7
Abandoned-Change-Id: I92f75ba0ef08e10210434f824fd99caee3703b5e
2016-04-19 11:50:23 -07:00
Kevin Hufnagle
0b68900b05 doc change: Fixed typo in Activity class reference.
Changed word within "Process Lifecycle" section, near bottom of
Activity class overview.

Bug: 24561563
Change-Id: I4c4196a656b6ad3e412ed45382fcefc984fe9892
2016-03-14 15:43:02 -07:00
Eric Schmidt
fc1d455b83 Merge "docs: Fixed broken link." into mnc-docs 2016-03-11 20:46:29 +00:00
Dan Dascalescu
e0d758a5f6 Merge "docs: Fix typo in Time#compare" into mnc-docs 2016-02-23 21:35:18 +00:00
Dan Dascalescu
2e38965979 Merge "docs: Fix typo fale -> false" into mnc-docs 2016-02-23 18:18:48 +00:00
Eric Schmidt
fdfce493dd docs: Fixed broken link.
Bug: 26705584
Change-Id: I5125f518574d3254af39c49a657ebdafe1299dc3
2016-02-22 14:18:26 -08:00
Dan Dascalescu
4cfb92fdab Merge "docs: Fix typo "will handled"" into mnc-docs 2016-02-18 22:19:48 +00:00
Dan Dascalescu
3d25bcb62a docs: Fix typo in Time#compare
bug: https://code.google.com/p/android/issues/detail?id=31733
Change-Id: I31ff3193caf18a4d8bbc843e15fccf8439a6b4b9
2016-02-18 13:30:36 -08:00
Dan Dascalescu
905e3b01d5 docs: Fix typo "will handled"
bug: https://code.google.com/p/android/issues/detail?id=37519
Change-Id: Ibd46ff1fb7256551d579aa8d1c6a92bf20b50137
2016-02-18 13:25:30 -08:00
Dan Dascalescu
9bb24382ff docs: Fix typo "Return the pointer identifier associated with a particular" -> in
bug: https://code.google.com/p/android/issues/detail?id=28381
Change-Id: I39e1f6abf48fc96d8c9333576fef36bb82c24904
2016-02-18 13:23:03 -08:00
Dan Dascalescu
bae59f72f1 docs: Fix typo fale -> false
bug: https://code.google.com/p/android/issues/detail?id=28343&q=typo&sort=opened&colspec=ID%20Status%20Owner%20Summary%20Reporter%20Opened%20Modified%20Closed
Change-Id: I4bfca31f981e1a02883086fb4480a91776c629e7
2016-02-18 13:19:32 -08:00
Dan Dascalescu
cb91143ef7 Merge "docs: Fix typo "If an activity [is] in the foreground"" into mnc-docs 2016-02-18 21:16:49 +00:00
Dan Dascalescu
eeb25170be docs: Fix typo "If an activity [is] in the foreground"
At http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle

bug: https://code.google.com/p/android/issues/detail?id=4066
Change-Id: If712144a4005b6f53832316aa55dc0744fa36c4b
2016-02-18 13:05:31 -08:00
Dan Dascalescu
3563af7117 Merge "docs: Fix typo behavrio -> behavior" into mnc-docs 2016-02-18 20:55:48 +00:00
Dan Dascalescu
884708107c Merge "docs: Fix "Spenned" typo" into mnc-docs 2016-02-16 23:36:50 +00:00
Dan Dascalescu
5159f54a15 Merge "docs: Fix typo mimeType:name -> android:mimeType" into mnc-docs 2016-02-16 23:35:56 +00:00
Andrew Solovay
9d8f752eb0 docs: Fixing comment that caused broken Javadoc.
A comment didn't end with a period; since the comment was
being used as the summary for a Javadoc table, and included
documentation was being used as the details Javadoc comment, the
lack of a period was messing up the Javadoc formatting
( https://screenshot.googleplex.com/4cp0QHV35iW )

See first comment for doc stage location.

bug: 27130226
Change-Id: I907ffc6efa4148e98a3c35b6d03c85f50103c23a
2016-02-10 15:58:08 -08:00
Dan Dascalescu
4b8bc437ff Merge "docs: Fix typo "ability [to] return"" into mnc-docs 2016-02-05 23:11:47 +00:00
Dan Dascalescu
6ec812ab49 Merge "docs: Fix "what what" typo" into mnc-docs 2016-02-05 23:10:20 +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
95ec830b5a docs: Fix typo behavrio -> behavior
bug: https://code.google.com/p/android/issues/detail?id=26491
Change-Id: Idf8597eadb81320f41d420d0e8669524dca66cfd
2016-02-04 17:31:37 -08:00
Dan Dascalescu
bda4c902c2 docs: Fix typo mimeType:name -> android:mimeType
bug: https://code.google.com/p/android/issues/detail?id=37519
Change-Id: I9a22be7728151895b4fdaf7fbbdf2cb266190abe
2016-02-04 17:20:23 -08:00
Dan Dascalescu
3b7e1951a7 docs: Fix typo "ability [to] return"
bug: https://code.google.com/p/android/issues/detail?id=37519
Change-Id: I2367634a228f8aaa5e456ef7ea85a23818378d28
2016-02-04 17:18:30 -08:00
Dan Dascalescu
1896a918de docs: Fix "Spenned" typo
bug: https://code.google.com/p/android/issues/detail?id=54792
Change-Id: Ie748671da52b140e1e709853d6ef9125b49c911c
2016-02-04 17:13:32 -08:00
Dan Dascalescu
0e978f58c0 docs: Fix "what what" typo
bug: https://code.google.com/p/android/issues/detail?id=52264
Change-Id: Iba8dfb9bd18251960fee13b0464d99a92e48eb9c
2016-02-04 17:09:19 -08:00
Eric Schmidt
00f2aaad15 Merge "docs: Fixed text and Kovio links." into mnc-docs 2016-02-04 18:16:55 +00:00
Dan Dascalescu
556ca38a6f Merge "docs: Fix description line truncated by "e.g."" into mnc-docs 2016-02-02 19:49:14 +00:00
Eric Schmidt
4de0eada2f docs: Fixed text and Kovio links.
Bug: 24954318
Change-Id: I5d667978669f35d8e28f7b58e298474a59a92531
2016-01-29 12:37:51 -08:00
Dan Dascalescu
74436b8441 docs: Fix description line truncated by "e.g."
bug: 26695390

Also improved the wrapping of two long paragraphs, without content changes.

Change-Id: I58f33c6d06ead61b68b6a6f0550dc98f108e37a5
2016-01-22 14:51:38 -08:00
Dan Dascalescu
f3b566b0d0 docs: ACTION_PACKAGE_REMOVED installed -> removed; EOL fixes
bugs: 26695226, 26695390

b/26695226: Fix the typo

b/26695390: Work-around the failing heuristic described in b/26695390 by adding
periods to terminate lines when we want the Javadoc parser to
stop parsing the sentence.

Change-Id: Ibf972d50157b693b695f0dd3bda9c7b5976a93de
2016-01-20 17:51:51 -08:00
Dan Dascalescu
a4514e4552 Merge "Fix "java" capitalization in Intent.html" into mnc-docs 2016-01-13 18:17:51 +00:00
Dan Dascalescu
7e88f9d36b Fix "java" capitalization in Intent.html
bug: 26403924
Change-Id: I300c87597de14318a3c77f790d25fea3ad5ef6f6
2016-01-12 16:34:20 -08:00
Dan Dascalescu
bebb65bba3 docs: Fix typo "Electrocargiogram", b/26355880
bug: 26355880
Change-Id: Ibf45cf4db1d5a94e42ac1841991da9570a5f8656
2016-01-12 16:14:59 -08:00
Lorenzo Colitti
cbb2c1d52a Reinstate CHANGE_NETWORK_STATE as a normal permission.
This is a partial revert of http://ag/738523 , but not a full
revert because M apps that have gone through the WRITE_SETTINGS
route to obtain permission to change network state should
continue to have permission to do so.

Specifically:

1. Change the protection level of CHANGE_NETWORK_STATE back from
   "signature|preinstalled|appop|pre23" to "normal". This allows
   apps that declare CHANGE_NETWORK_STATE in their manifest to
   acquire it, even if they target the M SDK or above.
2. Change the ConnectivityManager permission checks so that they
   first check CHANGE_NETWORK_STATE, and then ask Settings
   if the app has the WRITE_SETTINGS runtime permission.
3. Slightly simplify the code in the Settings provider code that
   deals specifically with the ability to change network state.
4. Make the ConnectivityService permissions checks use the
   ConnectivityManager code to avoid code duplication.
5. Update the ConnectivityManager public Javadoc to list both
   CHANGE_NETWORK_STATE and WRITE_SETTINGS.

Bug: 21588539
Bug: 23597341
Change-Id: Ic06a26517c95f9ad94183f6d126fd0de45de346e
2015-12-16 15:33:15 +09:00
Andrew Solovay
5e33fbe94c docs: Clarified when GET_ACCOUNTS is necessary
Per bug report, clarified when an app needs GET_ACCOUNTS permission
to read the current account's information.

Along the same lines, clarified that the CONTACTS permissions group
regulates permissions for all accounts and contacts on the device, not
just the user's contact info (since GET_ACCOUNTS is in CONTACTS, and,
as noted, GET_ACCOUNTS applies to other users' info).

See first comment for doc stage location.

bug: 23589012
Change-Id: Ia87565936787dd85daedfb641883e7cbf778f2bd
2015-12-09 12:05:46 -08:00
Yin-Chia Yeh
5a6930093a Camera: codegen doc update
Bug: 25427163
Change-Id: I9e552a7ad365f2a45e5ebb74234b9dfb8eb1225c
2015-11-30 14:22:57 -08:00
Eino-Ville Talvala
e452e26605 Merge "Camera: Documentation updates" into mnc-docs 2015-11-13 21:57:34 +00:00
Eino-Ville Talvala
1dd24f6345 Camera: Documentation updates
- Clarify hardware.camera feature being only for the back camera
 - Clarify what setting a CaptureRequest field to null does
 - Use preCorrectionActiveArray instead of activeArray in list of
   possible raw output sizes
 - Clarify length of GPS processing field for camera1 API

Bug: 24540625
Bug: 23908116
Bug: 23051627
Bug: 17345901
Change-Id: Iaf11fdf626268cf30f66b3628153ec3ac770c4f4
2015-11-13 21:10:10 +00:00
Andrew Solovay
435ca7524d docs: Corrected GET_ACCOUNTS comment--permission is 'dangerous'
Edit XML comments to note that GET_ACCOUNTS permission is 'dangerous',
not 'normal'. Made a couple of other Javadoc fixes while I had the
file open (summary sentences that were badly formatted, messing up the
Javadoc summary tables). NO CHANGES outside of XML comments.

See first comment for doc stage location.

bug: 25630412
Change-Id: Ic5f80b9f99e283dcf2f1cb9d2ab4a38138ec66e6
2015-11-10 19:36:13 -08:00
Glenn Kasten
6126c6706f CDD for pro audio feature does not specify acoustics
Change-Id: If24a2ee485a35ad18969abacf55798b64ff939af
(cherry picked from commit 7587edccd04a5e76ca712fc34fbab0fb562ac86e)
2015-11-02 19:54:56 +00:00
Philip P. Moltmann
9b5662bc9e Fix javadoc for CameraManager.AvailabilityCallback
The javadoc for CameraManager.AvailabilityCallback was missing an "#".
This causes the link to registerAvailabilityCallback not being generated
correctly.

Once the "#" was added the link shows up correctly.

Change-Id: I3da3aa737a6af487f117eccbeee5c682c003b7e2
2015-10-28 17:36:32 +00:00
Andrew Solovay
4215c124f9 docs: Fixing onRequestPermissionResults() code sample
Bug b/24993310 flagged an error in the code sample, and while I had
it open, I revised it to be more like the code snippet in the
permissions training doc (which Svet approved).

See first comment for doc stage location.

bug: 24993310
Change-Id: I65336c70e086b06e28816ba8acc6435640178f9c
2015-10-21 17:27:39 -07:00
Andrew Solovay
52ba2e9f16 Merge "docs: Updated reference docs for changed permission level" into mnc-docs 2015-10-19 17:56:30 +00: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
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
Yin-Chia Yeh
f89a9ccf8e Camera: fix wrong FULL feature string
Bug: 24678065
Change-Id: I2ca49565b919c87005d941863e22e3852a01a6c6
2015-10-06 13:46:53 -07:00
Jianing Wei
dbb4e72129 Camera2: Update video stabilization API doc.
Bug: 23353979
Change-Id: I781006d1b6ebbdf522ebbf6acc35b2062aff76b6
2015-10-01 09:39:46 -07:00
Billy Lau
6db55f5855 Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATE
Previously, when CHANGE_NETWORK_STATE's protection level was raised to
signature from normal, the documentation was not changed. This CL
addresses the documentation to reflect the correct protection level.

Change-Id: I0a4d2fcef5f30c58b38250865543e72b5eb1ab06
(cherry picked from commit 369b7ca4fbe6a635344f43845a82da25ececa0e4)
2015-09-29 17:55:16 +00:00
Jeff Sharkey
f3ad1eabc1 Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev 2015-08-20 01:28:30 +00:00