2701 Commits

Author SHA1 Message Date
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
Daniel Yu
ea58be972d docs: Fixing details on when clients unbind from Bound Service
Docs were slightly contradictory on when clients should unbind.
Changed a few sections to point to one "source of truth" section
that explains the appropriate times to call unbindService().
Updated with corrections to issues found by Andrew and Dave.

Bug: 8135078
Change-Id: If8afb998cbd2efceef075ee6633cf0744c50d1df
2015-11-25 10:27:36 -08:00
Andrew Solovay
e68f6cdabd docs: Fixing malformed hyperlinks
One hyperlink used the {@docRoot} tag even though it's a link to
a separate site (AOSP), so the link didn't work. Two other (internal)
links began with a slash instead of {@docRoot}, which kinda works
but isn't how we do things.

I'll build and test (and post the stage link in my first comment) but
if it looks good I'll go ahead and +2/merge it myself, since there
are no prose changes.

bug: 25755465
Change-Id: I11af855ed7a1e4a12ced7d0d7f6d5a4705c66811
2015-11-22 15:11:14 -08: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
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