198821 Commits

Author SHA1 Message Date
Dan Dascalescu
07e36d8527 Fix typo: add "the" in Content Provider Basics
bug: 26339577
Change-Id: Idb94dc2399338394820b2a21592e011308f7b01e
2016-01-12 16:42:00 -08:00
Dirk Dougherty
a95c52f375 Merge "Doc change: Clarify acceptable use cases for Doze / Standby." into mnc-docs 2016-01-12 20:57:29 +00:00
Andrew Solovay
b203ea3fe6 Merge "Corrected code snippet for reveal effect" into mnc-docs 2016-01-12 18:46:05 +00:00
Sreevani Sreejith
ad12e4d102 Merge "docs: Documented the new media constant used to determine if an app is currently selected by the user." into mnc-docs 2016-01-08 23:03:19 +00:00
Dirk Dougherty
6a3854314c Doc change: Clarify acceptable use cases for Doze / Standby.
Change-Id: I059e1efb7f2cb34dc4d1e12cccacfa02fa436458
2016-01-07 18:18:05 -08:00
sreevanis
1b3f51c4e1 docs: Documented the new media constant used to determine if an app is
currently selected by the user.

Bug:23191905
Change-Id: I144a6ed115b48c4d834c64efbc6538779c7143c8
2016-01-07 12:58:31 -08:00
Andrew Solovay
7f85bb12d2 docs: Fixed TOC typo and other formatting problems
TOC link was missing a needed #. While I had the file open I fixed
other formatting issues (overlong lines, code snippets that
shouldn't have been pretty-printed). No changes to the page content.

I'll build and stage (see first comment for staged doc location) but
if it looks good I'll +2 and submit it myself.

bug: 26191770
Change-Id: I3c15ed3dfaa0762729f8d778d4aa828710c0eefa
2016-01-06 17:25:12 -08:00
Andrew Solovay
6df19be4a3 Merge "docs: Removing now-deprecated (and never-used) FLASHLIGHT permission" into mnc-docs 2016-01-05 22:43:37 +00: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
Joe Fernandez
d774e8c6bb Merge "docs: Android Dashboard - January 2016" into mnc-docs 2016-01-04 22:08:32 +00:00
Joe Fernandez
4bc70f2a98 docs: Android Dashboard - January 2016
Change-Id: I465e16b05d1b25e8b5432041dbf73fbafd0481a1
2016-01-04 14:04:46 -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
2789fe9b89 Merge "docs: Fixed reference to "android:windowContentTransitions"" into mnc-docs 2016-01-04 18:52:44 +00:00
Andrew Solovay
acddeda381 Merge "docs: Noted that test purchases have empty order ID." into mnc-docs 2016-01-04 18:49:38 +00: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
Christopher Cartland
90d8525148 Merge "docs: Fixes for TV Now Playing card, removing references to MediaBrowserService." into mnc-docs 2015-12-29 20:58:53 +00:00
cartland
a1a18b12e2 docs: Fixes for TV Now Playing card, removing references to MediaBrowserService.
Bug: 23993096
Change-Id: I7cd48e83d2616f77dc56015e451556c591bf61cb
2015-12-28 16:19:20 -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
089a47c89d Merge "docs: Fixing normal permission example" into mnc-docs 2015-12-22 22:11:12 +00: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
Andrew Solovay
c48d32234d docs: Fixed typos and formatting in cardflip.jd
Bug was filed for a missing </set> tag in a code snippet; turned out
to be because the angle brackets weren't escaped, so </set> was
interpreted as HTML.

While I had it open, fixed other formatting issues (over-long lines
in a code box, weird indenting of HTML). No semantic changes, just
formatting.

I'll build and stage (see first comment for stage location) but if
it builds and looks good, I'll go ahead and submit.

bug: 25709592
Change-Id: I0ac1e74a230175fcab62021c89884f9eeabb4f97
2015-12-22 13:15:44 -08:00
Andrew Solovay
84fc4a549c docs: Fixed reference to "android:windowContentTransitions"
Per bug, we should not be telling people to use
android:windowContentTransitions to specify custom transitions;
instead, they should use android:windowActivityTransitions (which
is set to 'true' by default in the Material theme).

See first comment for doc stage location.

bug: 19440221
Change-Id: I35696c595a8424eab27d73b62835ddd79e3ca109
2015-12-21 17:03:31 -08:00
Andrew Solovay
b5c133d3cc docs: Noted that test purchases have empty order ID.
Per bug, noted that orderID is blank for test purchases made with
the sandbox. Added this note both in the "testing" page and in the
reference for INAPP_PURCHASE_DATA.orderId.

See first comment for doc stage location.

bug: 19609418
Change-Id: I74ab54fdf69eeb32d331ea5900dc7582d8150dfa
2015-12-21 16:00:41 -08:00
David Friedman
cb62e5301d Docs: Localization of Android design pages
Bug: 23090876
Change-Id: I2a19a5ba77b3a3b26ec4846a4f431ffe09a46066
2015-12-21 14:12:27 -08:00
David Friedman
dee655c406 Docs: Material Design L10N update. All languages except es, ja.
Bug: 23090399
Change-Id: I0389fcff3b012a4ae4d92529574847e4a1685729
2015-12-21 13:10:23 -08:00
David Friedman
066b4acf78 Merge "Docs: Update to Japanese localization of Material Design docs." into mnc-docs 2015-12-21 21:03:53 +00:00
David Friedman
d245727345 Merge "Docs: Updating Spanish translation for material-design docs." into mnc-docs 2015-12-21 21:03:39 +00:00
Andrew Solovay
27c1d2a4e2 Corrected code snippet for reveal effect
Per bug report, the provided code doesn't draw the reveal properly.
Corrected to use the Math.hypot function to calculate beginning and
ending sizes.

See first comment for doc stage location.

bug: 25805924
Change-Id: I1eb832983ae1790262cc4c8051473f0f32115566
2015-12-21 12:26:06 -08:00
Lorenzo Colitti
ded43cbc36 Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-docs 2015-12-19 00:35:59 +00:00
Cheryl Potter
768f8cfd86 Merge "docs: new Android Monitor doc b/24142260" into mnc-docs 2015-12-19 00:07:42 +00:00
sreevanis
ec76b67f17 docs: New Image Asset Studo 1.5.1
Change-Id: If567e6b2f2c5e1fd526d8e7491e7265e154b3f62
Bugfix: 25128284
2015-12-18 16:02:16 -08:00
Andrew Solovay
f040254ec3 docs: Clarified behavior of legacy apps running on M
Per bug, emphasized that if an app targets SDK 22 or lower, it uses
the install-time permissions model even if it's running on M.
However, also added the note that an M user can *revoke* an app's
permissions after install, which can cause unpredictable behavior.

See first comment for doc stage location.

bug: 25470298
Change-Id: Ia05a1f784595e75bf7b6835dbfdeffcd458f0022
2015-12-18 15:32:44 -08:00
Cheryl Potter
9f1fd9a2dc docs: new Android Monitor doc
b/24142260

Change-Id: I69dc6b40ddf7689ff5560bea9fe103816832872a
2015-12-18 14:40:36 -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
d8ecc59f76 Merge "docs: Android Eclipse ADT update and removals - Batch 03" into mnc-docs 2015-12-17 22:59:53 +00: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
David Friedman
4b0be652ab Merge "Docs: Corrections to Android Studio "Getting Started"-type documentation." into mnc-docs 2015-12-17 19:47:38 +00:00
David Friedman
7c6b7f7b0e Docs: Corrections to Android Studio "Getting Started"-type documentation.
Bug: 25458018

Change-Id: Ibbecffc00461ba61e3f5f596b34a7b049b9193ec
2015-12-17 00:23:18 -08:00
Andrew Solovay
33fa62da1f docs: New page for Android Studio Project Structure dialog
Gap in existing docs; Project Structure dialog wasn't documented.

See first comment for doc stage location.

bug: 26028645
Change-Id: I1423fb1a193bf2a85f1829e7076a43df9cb8604c
2015-12-16 17:56:37 -08:00
David Friedman
ffb90fdeeb Merge "Docs: Removing most of the Eclipse ADT documentation from DAC." into mnc-docs 2015-12-17 01:25:20 +00:00
Dan Yu
4360a3c3f7 Merge "docs: Updating the Android Studio Translations Editor doc" into mnc-docs 2015-12-17 01:19:01 +00:00
Daniel Yu
f3f48b206b docs: Updating the Android Studio Translations Editor doc
Adding new Translations Editor studio help topic, and updating
TOC and index accordingly. Updated Studio Features topic to
point to new Translations Editor topic. Added new editor
screenshot. Additional fixes added based on reviews.

Bug: 25973544
Change-Id: I8f319cf6ec95f29f1cdb462efc6b3711ded6fdd8
2015-12-16 14:52:34 -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
David Friedman
49741566c2 Docs: Removing most of the Eclipse ADT documentation from DAC.
Bug: 25933950

Change-Id: I91277afbf741d76c84b2ee0d68970ffb86dec67d
2015-12-15 22:07:40 -08:00
Adarsh Fernando
d3a4c2a3a7 docs: Added Blackberry drivers to list of OEM USB Drivers. Updated dead
links.

bug: 25708900
Change-Id: I893d8f4268c225f09f776af3ad40226f0ee8f74d
2015-12-14 18:23:19 -08:00
Andrew Solovay
c438e2acb5 Merge "docs: Note that templates use support library objects" into mnc-docs 2015-12-15 00:35:43 +00:00
Joe Fernandez
80e75667cc Merge "docs: InfoPros, Project 01, Batch 02" into mnc-docs 2015-12-14 18:53:51 +00:00