199260 Commits

Author SHA1 Message Date
Dirk Dougherty
a95c52f375 Merge "Doc change: Clarify acceptable use cases for Doze / Standby." into mnc-docs 2016-01-12 20:57:29 +00: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
07e7767387 Merge "Corrected code snippet for reveal effect" into mnc-docs
am: b203ea3fe6

* commit 'b203ea3fe6d2d30fe0815db7eee2cc1c141acec5':
  Corrected code snippet for reveal effect
2016-01-12 18:54:15 +00:00
Andrew Solovay
b203ea3fe6 Merge "Corrected code snippet for reveal effect" into mnc-docs 2016-01-12 18:46:05 +00:00
Daniel Yu
bfc8636dfc docs: Adding documentation for "gregarious mode" (background playback)
for Android TV.

Formerly this was cherry-picked from Andy S's CL: ag/732685
Into a CL of mine: ag/838200
However, I somehow managed to create a CL that could not be merged
(it complains about "this change depends on changes that are not ready").
It's likely because I tried to revert an erroneous change Andy
made via git commands, and probably did something wrong there.

Anyway, I've copied my former CL exactly, but without cherry-picking,
so it's now a new independent CL that should be mergeable without
problem.

Bug: 21209207
Change-Id: Ib5c6e031f9a3e43ab80b05bfe1edbfd81d83e54d
2016-01-12 10:08:06 -08:00
Andrew Solovay
22c77a8711 docs: New documentation for In-app Billing Promotions
Doc for new feature. See first comment for doc stage location.

bug: 25185711
Change-Id: I3680c1e7670c6c87985b136158047c9bb1b58156
2016-01-11 17:43:28 -08:00
sreevanis
bd46021c9b docs: Updated existing auto app images due to updated UI.
Bug:26497952
Change-Id: Id8125926d55d56a33578febc1d87669ffa941413
2016-01-11 15:53:42 -08:00
Sreevani Sreejith
bc9350fa50 Merge "docs: Documented the new media constant used to determine if an app is currently selected by the user." into mnc-docs
am: ad12e4d102

* commit 'ad12e4d10263d13fb6bb4d1c4c476fcad759deb5':
  docs: Documented the new media constant used to determine if an app is currently selected by the user.
2016-01-08 23:07:08 +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
40f862e06b docs: Fixed TOC typo and other formatting problems
am: 7f85bb12d2

* commit '7f85bb12d2c3d14ee8721e93ddb6090a3000523b':
  docs: Fixed TOC typo and other formatting problems
2016-01-07 02:31:17 +00: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
Daniel Yu
e81f8ebd49 docs: Adding screenshot for Now Playing page
A follow-up to Chris Cartland's changes to the Now Playing
page (http://ag/831240 ), adding a supporting screenshot
that shows a Now Playing card with media in the background.

New PNG added at:
docs/html/images/training/tv/playback/now-playing-screen.png

Updated to use new version of PNG with more whitespace cropped
out (thanks Andrew!)

Bug: 26345930
Change-Id: I217fcc062f80734aebe32ec3a94ec7595756e78c
2016-01-05 16:28:43 -08:00
Andrew Solovay
af449795fb Merge "docs: Removing now-deprecated (and never-used) FLASHLIGHT permission" into mnc-docs
am: 6df19be4a3

* commit '6df19be4a32fd4b350a078def14a87e05a3efaab':
  docs: Removing now-deprecated (and never-used) FLASHLIGHT permission
2016-01-05 22:47:11 +00: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
4cb8671fa7 Merge "docs: Android Dashboard - January 2016" into mnc-docs
am: d774e8c6bb

* commit 'd774e8c6bb97e687887a5f1e9c3171be7617690a':
  docs: Android Dashboard - January 2016
2016-01-04 22:20:13 +00: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
9c273d1f0e docs: Fixing typo
am: 0cccd0dbda

* commit '0cccd0dbda4fa98b9d8abf33acb625edb5993b38':
  docs: Fixing typo
2016-01-04 20:21:28 +00: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
ac44005d2a Merge "docs: Fixed reference to "android:windowContentTransitions"" into mnc-docs
am: 2789fe9b89

* commit '2789fe9b8956bb7bc303f6aba84a697af5aad3ed':
  docs: Fixed reference to "android:windowContentTransitions"
2016-01-04 18:55:14 +00:00
Andrew Solovay
2789fe9b89 Merge "docs: Fixed reference to "android:windowContentTransitions"" into mnc-docs 2016-01-04 18:52:44 +00:00
Andrew Solovay
986de74f16 Merge "docs: Noted that test purchases have empty order ID." into mnc-docs
am: acddeda381

* commit 'acddeda3813d553498c3fb6c4d57594994efa23b':
  docs: Noted that test purchases have empty order ID.
2016-01-04 18:52:36 +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
27cc69ca08 docs: quick typo fix
am: 73c35d03d2

* commit '73c35d03d24c48ecba9ecac0ca4f5e6be51cecb9':
  docs: quick typo fix
2015-12-31 03:33:37 +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
923f603e59 Merge "docs: Fixing typos" into mnc-docs
am: 8998d20dba

* commit '8998d20dba5035340737389d7d507eabf9f83f94':
  docs: Fixing typos
2015-12-30 20:32:13 +00:00
Andrew Solovay
0316e695c5 Merge "docs: Fixed misleading information about permissions" into mnc-docs
am: 6552d59236

* commit '6552d592363ed3bcef70eb99ae5da4f9d4b57557':
  docs: Fixed misleading information about permissions
2015-12-30 20:29:45 +00: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
1dcc395ed2 Merge "docs: Fixes for TV Now Playing card, removing references to MediaBrowserService." into mnc-docs
am: 90d8525148

* commit '90d8525148b8d961b6d9ffe25929f7017d458e01':
  docs: Fixes for TV Now Playing card, removing references to MediaBrowserService.
2015-12-29 21:01:46 +00: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
c7db9985f7 Merge "docs: Fixing normal permission example" into mnc-docs
am: 089a47c89d

* commit '089a47c89d10cd96b13e94931f59963a0937add3':
  docs: Fixing normal permission example
2015-12-22 22:19:26 +00: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
54eaeeb173 docs: Fixed typos and formatting in cardflip.jd
am: c48d32234d

* commit 'c48d32234d52d15c0e51e7d28efa74811b5b4c35':
  docs: Fixed typos and formatting in cardflip.jd
2015-12-22 21:26:51 +00: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
David Friedman
38dc07c20e Docs: Localization of Android design pages
am: cb62e5301d

* commit 'cb62e5301df0b2593ba8289075653d82c9bd6727':
  Docs: Localization of Android design pages
2015-12-22 06:49:39 +00: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
e6d690e822 Docs: Material Design L10N update. All languages except es, ja.
am: dee655c406

* commit 'dee655c406cbb71518ccdbfd7b79b6ecc2cefbfe':
  Docs: Material Design L10N update. All languages except es, ja.
2015-12-21 13:15:34 -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
393b3bb3b2 Merge "Docs: Update to Japanese localization of Material Design docs." into mnc-docs
am: 066b4acf78

* commit '066b4acf78b0553902ad8f90d745798b056d9b28':
  Docs: Update to Japanese localization of Material Design docs.
2015-12-21 21:08:52 +00:00
David Friedman
5423cafb4d Merge "Docs: Updating Spanish translation for material-design docs." into mnc-docs
am: d245727345

* commit 'd245727345c5fcc05b3a7f1aa68796e1636a9ea0':
  Docs: Updating Spanish translation for material-design docs.
2015-12-21 21:07:14 +00:00