198805 Commits

Author SHA1 Message Date
Joe Fernandez
4bc70f2a98 docs: Android Dashboard - January 2016
Change-Id: I465e16b05d1b25e8b5432041dbf73fbafd0481a1
2016-01-04 14:04:46 -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
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
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
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
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
Adarsh Fernando
f9601dffc9 docs: removed duplicate "Synctrace" definition.
bug: 25902983
Change-Id: I3bd4f8566a616597db4545f414b557551d01122d
(cherry picked from commit 0d75c64032f2059c91eb964d55c9fafdce29e818)
2015-12-11 22:59:44 +00:00
Dan Yu
04e0d53567 Merge "docs: Adding info on Android Studio support for data binding" into mnc-docs 2015-12-11 21:27:33 +00:00
Andrew Solovay
3aeb81c3ac docs: Note that templates use support library objects
Per request, noted that project templates use support library
objects, and explained that (e.g.) this means they can provide
material design features on older devices.

See first comment for doc stage locaton.

bug: 25973575
Change-Id: I9e21d4257583c03bbba5cfa309cbe6fe1f91e600
2015-12-11 12:34:16 -08:00
Andrew Solovay
ccdbbea245 Merge "docs: Clarified when GET_ACCOUNTS is necessary" into mnc-docs 2015-12-11 20:07:43 +00:00
Daniel Yu
daa41bb4f4 docs: Adding info on Android Studio support for data binding
Adding basic info on Studio's support for data binding. In 1.x this
is limited to syntax highlighting, expression error flags, and Preview
support for defaults. Added link to tools attributes page.
Updated with recommendations from reviewers.

Bug: 25974303
Change-Id: I18d86208fd372e041b1dc0697e44e259fa1c9127
2015-12-11 10:35:53 -08:00
Matt Werner
fbea308237 Merge "docs: Fixing typos in Device Policy Controller" into mnc-docs 2015-12-11 16:43:40 +00:00
David Friedman
d8ae2ba39e Merge "Fix code example which was calling wrong super method." into mnc-docs 2015-12-10 19:48:28 +00:00
Sreevani Sreejith
c0c74bc940 Merge "docs: Moved the "Multi-API Level Rendering" feature of Studio to Layout Editor page. Removed "Dynamic Layout Preview" section from Studio index page. Added Layout Editor tab to the "Tools Help" TOC. Bugfix :25973267" into mnc-docs 2015-12-10 18:59:20 +00:00
sreevanis
ac9177f0bc docs: Moved the "Multi-API Level Rendering" feature of Studio to Layout
Editor page.
Removed "Dynamic Layout Preview" section from Studio index page.
Added Layout Editor tab to the "Tools Help" TOC.
Bugfix :25973267

Change-Id: I17726597d1d76c59718f2076a1a508dbd8f96350
2015-12-10 10:43:37 -08:00
Andrew Solovay
dd3263c990 docs: New IAB "prorates" feature
Added description of new prorated seasonal subscription prices. Also
noted that free trials are now supported for seasonal subscriptions.

Per Z's request, also folded in a bugfix that had been waiting a
while.

See first comment for doc stage location.

bug: 25756808
bug: 14070005
Change-Id: Id43ed7bd6f84ec0ba9a05c4202fc2585c7fd6a22
2015-12-09 16:00:15 -08:00
Matt
8a608ba06a docs: Fixing typos in Device Policy Controller
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
2015-12-09 16:47:29 -05:00
Andrew Solovay
5e33fbe94c docs: Clarified when GET_ACCOUNTS is necessary
Per bug report, clarified when an app needs GET_ACCOUNTS permission
to read the current account's information.

Along the same lines, clarified that the CONTACTS permissions group
regulates permissions for all accounts and contacts on the device, not
just the user's contact info (since GET_ACCOUNTS is in CONTACTS, and,
as noted, GET_ACCOUNTS applies to other users' info).

See first comment for doc stage location.

bug: 23589012
Change-Id: Ia87565936787dd85daedfb641883e7cbf778f2bd
2015-12-09 12:05:46 -08:00
Dan Yu
d12709f395 Merge "docs: Fixing Android TV code snippet" into mnc-docs 2015-12-09 18:07:34 +00:00
Nicholas Lativy
13350df5f7 Fix code example which was calling wrong super method.
Bug: 22653147
Change-Id: Icebc24cace8accd85e8225bc3490f05f4d854ef5
2015-12-09 11:12:25 +00:00
Dan Yu
005125a80f Merge "docs: Removing info about settings activity for channel apps" into mnc-docs 2015-12-08 17:25:36 +00:00