198789 Commits

Author SHA1 Message Date
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
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
Joe Fernandez
206edaf10b docs: December 2015 Android Dashboard update
Change-Id: Id9ee5c77ec724b89018eb300c7a8c5c2fd7b0d18
2015-12-07 17:03:30 -08:00
William French
2fede09890 Merge "Updates Google Play Services section with instructions for calling connect(). Staged: http://wfrench.kir.corp.google.com:9000/training/location/retrieve-current.html" into mnc-docs 2015-12-07 23:33:50 +00:00
Daniel Yu
d1840a36d0 docs: Removing info about settings activity for channel apps
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
2015-12-07 11:11:52 -08:00
Eino-Ville Talvala
df43875e66 Merge "Camera: codegen doc update" into mnc-docs 2015-12-04 23:54:37 +00:00
Cheryl Potter
bc97fa7703 Merge "docs: 1.5.1 Android Studio release note and remove Mac security warning b/25933406 b/25993915" into mnc-docs 2015-12-04 23:54:03 +00:00
Cheryl Potter
48ebcdec38 Merge "docs: SDK platform API 23 revision 2 release notes b/26030208" into mnc-docs 2015-12-04 23:53:11 +00:00
Cheryl Potter
51ccf4b0ca docs: SDK platform API 23 revision 2 release notes
b/26030208

Change-Id: Ib1966513ec418e5b1591be92cb0ad05fbc65fa37
2015-12-04 13:24:14 -08:00
Cheryl Potter
0edf97f9ad docs: 1.5.1 Android Studio release note and remove Mac security warning
b/25933406
b/25993915

Change-Id: Ic27a9e3e30b68f199853bda08dde155c0b9d7d0c
2015-12-03 18:20:52 -08:00
Andrew Solovay
97e8874efa docs: Fixing typo
"Cloud" was misspelled "Clout". I'll build and stage (to verify it
works) then go ahead and +2/merge it.

See first comment for doc stage location.

bug: 25857569
Change-Id: Id95cd8cec180fc6e621b49da1dac8512a2037acd
2015-12-03 15:27:16 -08:00
Dan Yu
f1db897568 Merge "docs: Fixing incorrect bluetooth info for Android TV" into mnc-docs 2015-12-02 17:48:27 +00:00
William French
00f9a776d6 Merge "Docs: Fixed broken link to Geofence.Builder." into mnc-docs 2015-12-02 17:02:45 +00:00
Andrew Solovay
8c0c79a623 Merge "docs: Quick fix to obsolete link" into mnc-docs 2015-12-01 18:34:12 +00:00
Andrew Solovay
77dcca546f docs: Quick fix to obsolete link
The page had had a link to the obsolete "Action Bar API Guide" (which
redirects to the new App Bar training class). Changed the link to
point to the App Bar docs, and updated the link title.

See first comment for doc stage location.

Change-Id: I100fce06da685184eb62a5c6ed1f4998443989cb
2015-12-01 10:28:55 -08:00
Quddus Chong
6c0860e34c Merge "docs: Updated Android SDK Terms. bug: 24584030" into mnc-docs 2015-12-01 00:41:11 +00:00