11440 Commits

Author SHA1 Message Date
Dan Yu
c9722f8392 Merge "docs: Adding documentation for "gregarious mode" (background playback) for Android TV." into mnc-docs 2016-01-15 22:56:21 +00:00
Joe Fernandez
08320015f8 docs: Eclipse ADT removing and replacing mentions
Batch 05, Project 01 with InfoPros

b/25192800

Change-Id: I6cce84d8498ba9f0aa488b8d43b7b832e58fe899
2016-01-14 09:48:30 -08:00
Quddus Chong
e3f6c81c31 docs: Refactor testing docs to remove/update obsolete guidance:
* Added new 'Getting Started with Testing' training to contain common
      information on how to configure and run tests with Android Studio.
  * Removed the obsolete 'Testing Your Activity' training.
  * Deleted obsolete testing content under 'Tools > Workflow'.
  * Moved accessibility testing checklist to 'Implementing accessibility'
      training section.
  * Moved content provider and service testing topics into a new
     'Testing App Integrations' training.
  * Updated the service testing training to reflect our recommended
approach of using ServiceTestRule, instead of ServiceTestCase.
  * Renamed 'Testing from Other IDEs' topic to
     'Testing from the Command Line' and moved it under 'Testing Tools'.
  * Revised 'Testing Fundamentals' topic and moved it under 'Testing Tools'.
  * Updated the landing page fo 'Best Practises for Testing' to provide a
     central location for testing-related resources.
bug: 20722624

Change-Id: Ic1cbc79b48916dcae1c09bf5114ba8aef13d6f27
2016-01-14 05:02:18 -08:00
Dirk Dougherty
c2abb4ba15 Doc change: Clarify intent / permission language.
Change-Id: Ie82aacd7304cb0fe47314e5e7052f2b7b06cdeba
2016-01-13 23:24:38 -08:00
Dirk Dougherty
1fea1ec829 Doc change: edits to permissions and ids guidelines.
Change-Id: I0de247d182f54b92dcb5509b224d5b848cfafb89
2016-01-13 23:17:15 -08:00
Dirk Dougherty
51231dfd5a Doc change: remove guideline referencing location and maturity level.
Change-Id: Iefe3a76e93e2334a191471515c4b25509be7048b
2016-01-13 18:25:28 -08:00
Dirk Dougherty
fff4fd8710 Merge "Doc change: Add best practices docs for permissions and ids." into mnc-docs 2016-01-14 02:21:00 +00:00
Dirk Dougherty
6404e8436b Doc change: Add best practices docs for permissions and ids.
Change-Id: I5756c6d1b87690ac26631ed7c18d27bf0b80ce36
2016-01-13 18:14:40 -08:00
Andrew Solovay
5d312a0587 Merge "docs: New documentation for In-app Billing Promotions" into mnc-docs 2016-01-13 23:07:35 +00: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
ffd5d38d3f Merge "Fix typo: add "the" in Content Provider Basics" into mnc-docs 2016-01-13 18:18:08 +00:00
Dan Yu
52ffcbf5e9 Merge "docs: Adding screenshot for Now Playing page" into mnc-docs 2016-01-13 17:40:34 +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
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
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
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
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
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