* 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
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
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
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
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
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
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
Bug: b/24062075
This changes Work Policy Controller to Device Policy Controller. This also fixes typo reported in
https://b.corp.google.com/issues/23627319#comment2.
Change-Id: I9f38e392720872ee217d4e1dc976dbd7356e5025
Settings activity is no longer supported for channel services, so
we're removing that from the docs (and the sample manifest
snippet). Note that the Setup activity is still required, and
now serves double-duty for both channel setup and channel
settings, so I adjusted the section at the end accordingly.
Added updates based on review suggestions.
Bug: 21205118
Change-Id: Ia394b83cee0cb0e7ae6caf87c9d783eb6b4e04ef
Bluetooth is supported on all Android TV devices, so removing
docs that indicate that it's unsupported. Grep'd through all
DAC docs looking for other places where we claim bluetooth isn't
supported on Android TV, and found none, so this one topic change
is the only fix needed (I believe).
Bug: 24811556
Change-Id: I075d57002657fbaf47d20ecfee02148becbb55ef
Changing code snippet to use FullWidthDetailsOverviewRowPresenter
instead of DetailsOverviewRowPresenter (which is deprecated).
Verified code snippet change by checking and building it in
Android Studio using an unrelated sample.
Bug: 25666843
Change-Id: I6db32a570757b7f8f1f848f7579b29617ffb18d6