2673 Commits

Author SHA1 Message Date
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
04c0d1d7dd docs: Fixed name of uses-permission-sdk-23
Docs had incorrectly said the element was named
<uses-permission-sdk23> (missing a hyphen in sdk-23). Fixing all
references to that element, and renaming the reference page
accordingly. A separate CL sets up a redirect from the old page
name to the new one.

See first comment for doc stage location.

Change-Id: I6e675e03f87851d36465a8fdf3de730de524c4a8
bug: 25346975
2015-10-28 15:20:18 -07:00
Andrew Solovay
7d6d7d960a docs: Removed ActionBar API guide
Removed the now-obsolete ActionBar API guide; it's been
superseded by the AppBar training class
(http://developer.android.com/training/appbar/ )

Changed the most important ActionBar links and references to point to
the AppBar docs (or some other appropriate page).

A separate CL will set up redirects from the ActionBar API guide.

See first comment for doc stage location.

bug: 25194804
Change-Id: I0859ea1712971fcf2f6cf131b2a5221b5bf3ea44
2015-10-27 13:20:24 -07:00
Cheryl Potter
760b575db8 Merge "docs: new vector asset studio 1.4 b/24142270" into mnc-docs 2015-10-21 18:28:35 +00:00
Cheryl Potter
466aab2973 docs: new vector asset studio 1.4
b/24142270

Change-Id: I6a888f48ca7bdcec608e5543c7a37b192e105eaf
2015-10-20 18:17: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
9f598347c4 Merge "docs: Info on two special (more-than-'dangerous') permissions" into mnc-docs 2015-10-15 00:04:56 +00:00
David Friedman
37613a19c7 Docs: Adds an intent to the list. DAC counterpart to Critique CL 104821986.
Bug: 22197200

Change-Id: I7beddc2788ddbaeb98d963167c0f081e619faee3
2015-10-07 20:17:40 -07:00
Andrew Solovay
3099d2a96e docs: Noted several new supported screen resolutions.
See first comment for doc stage location.

bug: 24351061
Change-Id: I1a2d7133129dc9a0cc6cdbdc69ca1a7a006c8913
2015-10-07 17:36:34 -07:00
Andrew Solovay
3915a0e83a docs: Info on two special (more-than-'dangerous') permissions
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
2015-10-07 13:40:04 -07:00
Andrew Solovay
d99391162d am 85ac0dd2: Merge "docs: Removed references to "Hello Views" tutorial guide" into mnc-docs
* commit '85ac0dd2abba1d6fec78a1eeecad4607d5364fe4':
  docs: Removed references to "Hello Views" tutorial guide
2015-10-01 18:18:52 +00:00
Andrew Solovay
37a4db8244 docs: Removed references to "Hello Views" tutorial guide
The "Hello Views" tutorial no longer exists, links to it redirect
to the "Declaring Layouts" API guide. Removing old links to that page.

See first comment for doc stage location.

bug: 21674339
Change-Id: I885a41fb3b213d4dc6257959d43dbf73e0c753bd
2015-09-30 13:14:27 -07:00
Andrew Solovay
2e3e2b4d02 resolved conflicts for d32f3baf to mnc-mr-docs
Change-Id: I2a919c2c881cc299ebc80fb66121756646e64adb
2015-09-28 18:34:40 -07:00
Andrew Solovay
d32f3baf2b docs: Removing reference to Apache HTTP client
With Android M, the Apache HTTP client is no longer supported.
Removing references to that client and the clients that depend
on it (DefaultHttpClient and AndroidHttpClient). Replacing, when
appropriate, with references to HttpURLConnection.

Also removing references to the 2011 blog post "Android's HTTP
Clients" (https://goto.google.com/cusll) since that post is largely
about the ex-clients.

Fixed a couple of other small errors while I had the files open
(for example, changed a sample URL in a code snippet to the safe
www.example.com).

bug: 19696844
Change-Id: Iabf780140c37d5fc95c0d45542c425a945c69337
2015-09-28 17:25:27 -07:00
David Friedman
2f704add3c Docs: Updates Connectivity page to avoid breaking change by ag/767033
Bug: 24410613
Change-Id: I4d3327fd5a8f910539c80567f024ae569c716411
2015-09-25 15:01:50 -07:00
Andrew Solovay
3bdfcefd6d docs: Update permissions docs for Android M
Updates the docs to reflect the new Android M "runtime permissions"
model. (There's also a new training class, in a separate CL:
http://ag/762246 ) Removed the M Preview permissions page (but didn't
remove all references to it--Q will do that in a separate CL).

See first comment for doc stage location.

bug: 23725768

Change-Id: Iafb801f1188d1bb6b66ac19c9c1dfce0114df271
2015-09-23 20:15:44 -07:00
Andrew Solovay
419c9f1348 am 04cefcb9: Merge "docs: New app bar training docs" into mnc-preview-docs
* commit '04cefcb98d3881c4a21217405aa941572fdc46a5':
  docs: New app bar training docs
2015-09-11 17:51:51 +00:00
Andrew Solovay
3d1032abae docs: New app bar training docs
Replacing the existing "ActionBar" training docs with new, up-to-date
ones focused on using the appcompat Toolbar. Ultimately these lessons
will also replace the existing ActionBar UI guide.

See first comment for doc stage location.

Change-Id: Ic20362ec4c4fc872c4388b05367451ae8072938b
2015-09-10 17:13:51 -07:00
Cheryl Potter
614594973f am dc35d48f: Merge "docs: changed red to yellow in code snippet" into mnc-preview-docs
* commit 'dc35d48f4fdc2016f900207ebc934e5a57bd9265':
  docs: changed red to yellow in code snippet
2015-08-26 20:58:40 +00:00
Claudio Cherubino
b6e91dfae0 Trying to help clean up the public issue tracker (and show some love to external developers) by taking care of a bunch of typos that were reported.
List of issues from https://code.google.com/p/android/issues that are fixed by this CL: 183476,183249,183248,183241,183222,183142,183093,183329,182385,182311,182193,182019,73149,181589,179740,179384,178322,178189,178086,178020,177169,176312,175138,172322,172030,171820,170647,167288,163574,161580,161041,159199,151347,144290,136137,132505

Change-Id: I2e96f7444048abd2f666c75bd6ab9640019afb75
2015-08-21 14:49:09 -07:00
Jean-Luc Brouillet
8bf69a4867 Update the RenderScript runtime documentation for MNC.
Update the documentation to include the features introduced in MNC.

b/23190418

Change-Id: I2c6dc11029a9bc0c2ca9bb8b712d4fd4660c3b29
2015-08-14 18:18:15 -07:00
Joe Fernandez
901f807143 docs: Update uses-sdk-element page with API 23 (M) listing
Change-Id: If579411c66f3cfc02b270a04b266fe7562b48e14
2015-08-13 11:45:23 -07:00
Cheryl Potter
09e9ba3861 docs: changed red to yellow in code snippet
/b22530949

Change-Id: I595df3d8abbfdfc8c1a91a4b23adf416e99bb52e
2015-08-12 16:59:46 -07:00
Andrew Solovay
353886b2dd am e67416ec: am 4859a612: Merge "docs: Clarified how to find out when a switch is toggled" into mnc-preview-docs
* commit 'e67416eccc6092e2fce3619b2244deda36fabd26':
  docs: Clarified how to find out when a switch is toggled
2015-07-14 20:22:59 +00:00
Andrew Solovay
4859a6125b Merge "docs: Clarified how to find out when a switch is toggled" into mnc-preview-docs 2015-07-14 19:59:07 +00:00
Robert Schaub
9de5dcac95 am 70d39c28: am 2b856100: Merge "docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page" into mnc-preview-docs
* commit '70d39c2836f3c05a93035439df0082b5c471c010':
  docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page
2015-07-14 00:44:21 +00:00
Robert Schaub
0b403ebd6a am 1962b730: am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs
* commit '1962b730067d5b9ad9666ee3a7d1e3f90004c7d7':
  docs: Removed parenthetic phrase that made explanation unnecessarily confusing
2015-07-13 23:58:03 +00:00
Robert Schaub
2b856100f6 Merge "docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page" into mnc-preview-docs 2015-07-13 23:41:29 +00:00
Robert Schaub
2c5d93ae5f docs: Removed references to lockscreen widgets, added note to Android 5.0
changes page

Removed one line from source code sample as well.

Bug: 20826638
Change-Id: I3c27353db0f0092c21962f9beec1bf1da52ee9d5
2015-07-13 16:19:08 -07:00
Andrew Solovay
07e7021e06 docs: Clarified how to find out when a switch is toggled
Per Chris, the existing doc was incorrect: you *can't* check for a
button press and a switch flip the same way. (The button triggers a
click event, but the switch does not.) Chris suggested that we just
remove the reference to onClick and suggest using a listener for
both kinds of buttons (ToggleButton and Switch).

Also pulled one note out of a section where it didn't fit (the bit
about changing a button/switch's state programmatically didn't have
much to do with listening for clicks) and put it at the top, and I
fixed a Javadoc typo for a relevant class that I happened to notice.

See first comment for doc stage location.

bug: 20625504
Change-Id: I9c8975111381e5b169f6a61454ef3a93da635759
2015-07-09 13:22:31 -07:00
Robert Schaub
db304a92a1 docs: Removed parenthetic phrase that made explanation unnecessarily confusing
Bug: 10641790

Change-Id: I07cce015174edc43464d116364d47d191ee27fd4
2015-07-07 11:29:33 -07:00
Adam Lesinski
40fab055bb Merge "Add round/notround qualifier to docs" into mnc-dev 2015-06-30 20:31:26 +00:00
Adam Lesinski
f178066925 Add round/notround qualifier to docs
Bug:22203014
Change-Id: Icc05b93f0c1beddce3bd26ae169c2e8c0e3cb898
2015-06-30 12:40:57 -07:00
Andrew Solovay
8722e1416e am 4653cdec: am 350286e6: Merge "docs: Clarified when you can put the fragments in the root view." into mnc-preview-docs
* commit '4653cdecab5eb6b08f23183f83034ccf50e93451':
  docs: Clarified when you can put the fragments in the root view.
2015-06-30 17:57:36 +00:00
Andrew Solovay
350286e613 Merge "docs: Clarified when you can put the fragments in the root view." into mnc-preview-docs 2015-06-29 21:42:48 +00:00
Robert Schaub
f207285d8d am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs
* commit 'ba12e226981216116de772739165ace65fe59d5b':
  docs: Removed sentence from permissions doc
2015-06-26 02:23:09 +00:00
Robert Schaub
f496648e2d docs: Removed sentence from permissions doc
Bug: 21788582
Change-Id: Ifffed46dece0adb00671199c26c2fe995c4179ea
2015-06-24 13:19:49 -07:00
Luan Nguyen
838a29a659 am c1b4b058: am c5a480d1: am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs
* commit 'c1b4b0580ccdbccee25f4bc97e94530e4982e1f7':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.
2015-06-24 15:29:47 +00:00
Luan Nguyen
c5a480d112 am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs
* commit 'fdad629fc089783fa0b3caad62ba99a9083f8645':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.
2015-06-24 15:05:13 +00:00
Luan Nguyen
fdad629fc0 am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs
* commit '6859a9f09049d1dc760b98a6cbb278b591de63a6':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.
2015-06-24 14:51:30 +00:00
Luan Nguyen
6859a9f090 Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs 2015-06-24 14:43:31 +00:00
Svetoslav Ganov
6d2c0e5ee2 Remove not needed contacts related permissions.
This reverts commit ed5ff51b2ca7c051e2719dfc8a8a083e6208848e.

Change-Id: If2407e4e474a438d95e1b7ad1aa6f441bb3ace08
2015-06-23 23:03:55 +00:00
Bart Sears
1ef23adef8 Merge "Revert "Remove not needed contacts related perissions."" into mnc-dev 2015-06-23 06:18:20 +00:00
Bart Sears
ed5ff51b2c Revert "Remove not needed contacts related perissions."
Broke the build, reverting.

This reverts commit a2991da0d671adf511ccb884cf25bf1241303f92.

Change-Id: I2bdfa70fbd8a6c03e48426f85eeb63896762d5da
2015-06-23 06:16:25 +00:00
Svet Ganov
2b5bec9356 Merge "Remove not needed contacts related perissions." into mnc-dev 2015-06-23 04:00:06 +00:00
Luan Nguyen
1afb2d5335 docs: Pare down the adb guide and remove sections that are duplicated
in the tools list.

bug: 12879186
Change-Id: Ic2d17ef29eac15a9ffc40e05b056dc17d71069e8
2015-06-22 17:00:02 -07:00
Dirk Dougherty
b94daae3fd am c8a94c5b: am 813d974e: Doc change: Explicitly state the initial API level that supports maxSdkVersion attr in uses-permission.
* commit 'c8a94c5b6df42b631e52dcae03d0243454886ecb':
  Doc change: Explicitly state the initial API level that supports maxSdkVersion attr in uses-permission.
2015-06-22 22:41:19 +00:00
Dirk Dougherty
813d974e33 Doc change: Explicitly state the initial API level that supports maxSdkVersion attr in uses-permission.
Change-Id: Ifb20f84560dc1c8655b8d216038a2b56777df460
2015-06-22 14:12:03 -07:00
Andrew Solovay
d043297ef4 docs: Clarified when you can put the fragments in the root view.
Per bug b/10641907, putting fragments in the root view *only* works
if the device runs Android 3.0 or later. Chris and Adam say
we don't really want to suggest that work flow even for these devices,
so I'm taking that info out.

bug: 10641907
Change-Id: Ie44acbb534b8e0cea8dbbfaaf2c65836b1c31be6
2015-06-22 13:27:47 -07:00
Svet Ganov
a2991da0d6 Remove not needed contacts related perissions.
Removing the read/write profile/social stream permissions as they
are not needed anymore. These permissions are for accessing data
nested in the conacts provider which is already guaded by the
read/write contacts runtime permissions. The removed permissions
would be in the contacts group which means they would not provide
more protection compated to read/write contacts. Also removing
the permissions voids the need for app op support for legacy apps.

Removed deprecated APIs for social streams as these were deprecated
and will go away in the next release. We want apps targeting M to
not be able to compile if still suing these APIs to help with
migration.

Change-Id: I26ed9055847af7f92c78eb0f4ac8f9f1aa616fcd
2015-06-22 13:20:55 -07:00