Commit Graph

253881 Commits

Author SHA1 Message Date
TreeHugger Robot
0f53f6ffa2 Merge "Support triggering confirmConfiguration() via dumpsys" into nyc-mr1-dev 2016-09-28 15:46:32 +00:00
Hugo Benichi
92eb22fdd2 New Settings symbols for captive portal detection
This patch defines new Settings symbols for
  - setting the probe urls for captive portal detection.
  - setting which User-Agent to use for captive portal detection.

The existing default values for these settings are not changed, i.e:
  - HTTP and HTTPS probes urls are unchanged.
  - the fallback probe is not used.
  - User-Agent is empty by default.

Bug: 29367974
Change-Id: I6e4b3b172e56b8b67fffa4b51f776d68d5851f25
2016-09-28 23:13:25 +09:00
Hugo Benichi
d953bf853d Captive portal detection uses 3rd fallback probe
This patch adds the possitibility to send a 3rd fallback validation
probe in sendParallelHttpProbes when neither the 1st http probe nor the
https probe came back with a conclusive answer.

This 3rd probe is only used for trying again captive portal detection
and does not return success, so that network validation always fails if
the https probe fails.

In addition, the url reveals a captive portal is now sent to the
CaptivePortalLoginActivity so that all three probes can use different
urls.

Bug: 29367974

Change-Id: I7385fde1aa1316d94aac350af0e956cb193aa4ee
2016-09-28 23:12:31 +09:00
Jorim Jaggi
84afb1a967 Don't start recents if no transition is happening
Change-Id: I06c65633139a1c0af4c9c2701ec16c42e5a5bb69
Fixes: 31643084
2016-09-28 12:55:46 +00:00
Jorim Jaggi
6e5f3d2e9f Fix NPE in overridePlayingAppAnimations
It's not guaranteed that findMainWindow() is non-null, which can happen
if the window was just added, so we should not crash in that case.

Change-Id: I1f04876ef48bfc7636320124b7f60d6dfa0b24a2
Fixes: 31767124
2016-09-28 11:38:47 +00:00
Jeremy Klein
adc26ec1b4 Remove unused mContext from BluetoothGatt[Server].
All that this member variable is doing right now is leaking a
reference to a context without any benefit.

Bug: 31752040
Bug: 31710795
Change-Id: If2241422533318b866340e8dcc9f5fbd9518349c
2016-09-28 07:09:38 +00:00
Erik Kline
c3eec4fff9 Support triggering confirmConfiguration() via dumpsys
Tested:
  - flashed to device
  - triggered
  - monitored tcpdump for the expected traffic

Bug: 30869013
Change-Id: I6a4741bdeed2aaa483f8c2281acb74d245a323e8
2016-09-28 15:19:00 +09:00
Sungsoo
4e236046ae ExifInterface: Update javadoc for saveAttributes am: abf5b4cbf3 am: d0a8a69034
am: 0a31d58d14

Change-Id: I33726dd0a1bf2f30309e4abd74b8633c809afada
2016-09-28 00:22:55 +00:00
Vadim Tryshev
aed92d0547 Fixing html glitch in drag/drop docs.
Bug: 31702571
Change-Id: Id00baac3c9c16f6dc7145a920ec9659d63ebab2a
2016-09-27 17:17:07 -07:00
Sungsoo
0a31d58d14 ExifInterface: Update javadoc for saveAttributes am: abf5b4cbf3
am: d0a8a69034

Change-Id: I4df5b4855ec9f1e38fab504f3a895c4744cc287e
2016-09-28 00:15:51 +00:00
Sungsoo
d0a8a69034 ExifInterface: Update javadoc for saveAttributes
am: abf5b4cbf3

Change-Id: Icdd289f513f2a576b50d0f3ddf278a1c1710d8b5
2016-09-28 00:08:52 +00:00
TreeHugger Robot
c43f05e669 Merge "Changed themes for core activities" into nyc-mr1-dev 2016-09-28 00:04:00 +00:00
Teng-Hui Zhu
bb12929470 Update JavaDoc about animatable on VectorDrawable
b/31782834

Change-Id: I64279fd14841302caaa71c817feaf01b855126ad
2016-09-27 16:56:35 -07:00
Greg Kaiser
a97c9617ae Merge "ContextHubService: Hack around 32-bit app ID" into nyc-mr1-dev 2016-09-27 23:41:44 +00:00
TreeHugger Robot
121a9941d4 Merge "Don't leak wakelock instances" into nyc-mr1-dev 2016-09-27 23:37:57 +00:00
Selim Cinek
ecfc6b52ec Fixed a bug where the scroller would stop tracking
Because we were not scrolling anymore in the QS area the shade
could become stuck and scrolled in too much.

Change-Id: I2c517d0a8da35230d0510c2a6b0e817d8d3567af
Fixes: 31440725
2016-09-27 16:31:21 -07:00
Andrew Solovay
97c0ad4401 Merge "docs: Removed support libraries from API Guide TOC" into nyc-dev am: c7c7c20b2f
am: 6789896f2d

Change-Id: I9f87882ff67784285225db361e24739ed3b5d509
2016-09-27 23:03:09 +00:00
Andrew Solovay
34c0653b22 docs: Removed support libraries from API Guide TOC am: 61f956cc25
am: 06c6d90437

Change-Id: Ie6d17de7ecd7f3a41814afb391d61be1a265f962
2016-09-27 23:02:17 +00:00
Andrew Solovay
6789896f2d Merge "docs: Removed support libraries from API Guide TOC" into nyc-dev
am: c7c7c20b2f

Change-Id: I2e081c2183087e25f1c722ab4717a89da84bd9dd
2016-09-27 22:57:52 +00:00
Andrew Solovay
06c6d90437 docs: Removed support libraries from API Guide TOC
am: 61f956cc25

Change-Id: I1d8ccea474531a3ce4dcaa7d261f3cff62cf4302
2016-09-27 22:57:49 +00:00
Andrew Solovay
c7c7c20b2f Merge "docs: Removed support libraries from API Guide TOC" into nyc-dev 2016-09-27 22:52:31 +00:00
Greg Kaiser
1983f9b05b ContextHubService: Hack around 32-bit app ID
The NanoApp.java class has a bug (b/30808791) where the API treats
app IDs as 32-bits, instead of 64-bits.  We are too late in the
Android N release cycle to change this API.

We previously put in a hack to fix this only for Google nanoapps.
However, our GTS nanoapps need this to work, and there are other
partners who need this to work in the N timeframe.  So we make
a more robust hack which parses the full 64-bit app ID out of
the header binary.

Test: Compiles and runs GTS
Bug: 31767599
Change-Id: Ic43f1f62c685fb99aac08d08767d1a67c329503f
2016-09-27 15:01:48 -07:00
Christopher Tate
4b17e984b6 Don't leak wakelock instances
Bug 31247436

Change-Id: I7c2ad956c43233b37e53856e9321cb87b01c35da
2016-09-27 15:00:48 -07:00
Eric Schmidt
d5aa6361d9 Merge "docs: Update BroadcastReceiver docs for performance" into nyc-dev am: d780260f10
am: 6c7544b97a

Change-Id: Ib96fa46b29b30274956180734f4499458a05a906
2016-09-27 21:59:45 +00:00
Eric Schmidt
561a946aa8 docs: Update BroadcastReceiver docs for performance am: 8cf3c1b532
am: defb8bdaea

Change-Id: I50dd95ac7263b4af2b5f9482b8b2de18ceda5a5e
2016-09-27 21:58:52 +00:00
Eric Schmidt
03a34bc741 Merge "docs: Adding Espresso Intent and Web docs" into nyc-dev am: f4dbb4091b
am: 168ea4e12c

Change-Id: I758356a9a6ddf09863dd02273e571cdff8c05c98
2016-09-27 21:57:58 +00:00
Eric Schmidt
e8100dbfd9 docs: Adding Espresso Intent and Web docs am: 34fb906c1a
am: 0bb23eecef

Change-Id: I86911914d287541496228d639fb7040e3ec63e80
2016-09-27 21:57:10 +00:00
Eric Schmidt
6c7544b97a Merge "docs: Update BroadcastReceiver docs for performance" into nyc-dev
am: d780260f10

Change-Id: Ia7358c8ca2f7afcff130e275d79ae45f3e37e411
2016-09-27 21:51:37 +00:00
Eric Schmidt
defb8bdaea docs: Update BroadcastReceiver docs for performance
am: 8cf3c1b532

Change-Id: I7781c542c7512bb178ba23c7421b47d7d1be8b09
2016-09-27 21:51:34 +00:00
Eric Schmidt
168ea4e12c Merge "docs: Adding Espresso Intent and Web docs" into nyc-dev
am: f4dbb4091b

Change-Id: Ib807c964b623ff8e968b723990d7e6eb2e969569
2016-09-27 21:50:15 +00:00
Eric Schmidt
0bb23eecef docs: Adding Espresso Intent and Web docs
am: 34fb906c1a

Change-Id: Ie6a2d5e868f76b9959a6fbe3e0a151c44d132b02
2016-09-27 21:50:12 +00:00
Eric Schmidt
d780260f10 Merge "docs: Update BroadcastReceiver docs for performance" into nyc-dev 2016-09-27 21:42:06 +00:00
Eric Schmidt
f4dbb4091b Merge "docs: Adding Espresso Intent and Web docs" into nyc-dev 2016-09-27 21:41:43 +00:00
TreeHugger Robot
5c07d0c2ee Merge "[DO NOT MERGE] Use tokens instead of account access trackers" into nyc-mr1-dev 2016-09-27 20:45:48 +00:00
Andrew Solovay
f52c849083 Merge "docs: Redirect for /preview/setup-sdk.html" into nyc-dev am: 156d5fd88e
am: af089036be

Change-Id: Ie457b30f25fed45232f044206e5fe356ad6e6cfc
2016-09-27 20:45:00 +00:00
Andrew Solovay
61212ec382 docs: Redirect for /preview/setup-sdk.html am: 572d710ba3
am: a56c8c79d8

Change-Id: Id966ed24a5aa6cf3a7dc7f30a6c49a559cbb39ca
2016-09-27 20:44:06 +00:00
Andrew Solovay
af089036be Merge "docs: Redirect for /preview/setup-sdk.html" into nyc-dev
am: 156d5fd88e

Change-Id: I86e1d6be64864a21ac27cd321633691541c447b6
2016-09-27 20:39:09 +00:00
Andrew Solovay
a56c8c79d8 docs: Redirect for /preview/setup-sdk.html
am: 572d710ba3

Change-Id: I5cbe45b1c45001f7f3a68565430dea060a0e1741
2016-09-27 20:39:07 +00:00
Andrew Solovay
156d5fd88e Merge "docs: Redirect for /preview/setup-sdk.html" into nyc-dev 2016-09-27 20:31:49 +00:00
Eric Schmidt
34fb906c1a docs: Adding Espresso Intent and Web docs
Bug: 20721203
Bug: 20720633
bug: 27453733
Change-Id: I67a7d09a6652e3463728691f2a1f5679e900e776
2016-09-27 13:19:43 -07:00
TreeHugger Robot
afae61eae7 Merge "DozeService: Seperate double tap and pickup" into nyc-mr1-dev 2016-09-27 19:09:22 +00:00
Adrian Roos
7294c115fd DozeService: Seperate double tap and pickup
Adds handling for a separate double tap gesture
and allows enabling double tap and pickup
individually.

Test: Turn screen off, toggle gestures with `adb shell settings put secure doze_pulse_on_pick_up 0/1` and `adb shell settings put secure doze_pulse_on_double_tap 0/1`
Bug: 30595437
Change-Id: Id7b79f90b28429cf321544a3e425cf33c575d1c3
2016-09-27 19:07:36 +00:00
Andrew Solovay
61f956cc25 docs: Removed support libraries from API Guide TOC
See (e.g.) TOC on http://go/dods-stage/guide/ to verify it.
Previously (e.g. on https://developer.android.com/guide/ )
you'd see a "Libaries" menu item between "Data Storage" and
"Administration"; that's gone now.

Already made this change in Critique (http://cr/134027548) but since
we're still publishing docs from Gerrit, thought it's best to
back-port this change.

bug: 31607475
Change-Id: I40ff0bebf76305dcad3ef0fc6fbe271b4a625a57
2016-09-27 11:41:34 -07:00
Eric Schmidt
8cf3c1b532 docs: Update BroadcastReceiver docs for performance
Bug: 30746266
Change-Id: I6d1537872918d955ab11d8596c6c96c64fe4f786
2016-09-27 10:55:38 -07:00
Scott Main
c8dd22bcdf Merge "add source.properties file to the offline docs build which is required to get this in the SDK Manager" into nyc-dev am: 6d0e0bdcd5
am: 9f05056ccd

Change-Id: I98b8f6eac44ae4c044a6493b9e2b85c822137f7b
2016-09-27 17:32:20 +00:00
smain@google.com
6b860feb42 add source.properties file to the offline docs build which is required to get this in the SDK Manager am: 2f2365de4a
am: 6ed77be41d

Change-Id: I24b8c286fa94c6c27eb9e9fe67b0d38cd17f5544
2016-09-27 17:28:53 +00:00
Scott Main
9f05056ccd Merge "add source.properties file to the offline docs build which is required to get this in the SDK Manager" into nyc-dev
am: 6d0e0bdcd5

Change-Id: Ibb16e34e6669f782864dd3fa35223b09da346253
2016-09-27 17:23:56 +00:00
smain@google.com
6ed77be41d add source.properties file to the offline docs build which is required to get this in the SDK Manager
am: 2f2365de4a

Change-Id: I15b5ea8a37ec7c718d23db14baed6c8ffb0af13c
2016-09-27 17:23:54 +00:00
Scott Main
6d0e0bdcd5 Merge "add source.properties file to the offline docs build which is required to get this in the SDK Manager" into nyc-dev 2016-09-27 17:17:18 +00:00
sreevanis
2d1a177045 docs: Documentation for WearableRecyclerView.
Bug:31174963
Change-Id: Ibf8a77ae1baca86704290d06ca7ad3c182718845
2016-09-27 09:49:20 -07:00