Commit Graph

246497 Commits

Author SHA1 Message Date
Winson
4f60ba2480 Merge changes If7b8ed3f,I309c3825,Iafd06419,I59f73caf into nyc-dev
am: bd1708a19d

* commit 'bd1708a19da3ae205c4da3f22d0682c9bd1f76fe':
  Fixes several animation issues related to a dismissing task.
  Pipe the dismiss button logic through the touch handler.
  Skip scroll-to animation when undocking and there are no tasks.
  Fixing issue with docking being disallowed for secondary user.

Change-Id: Ifa1b2865dfc7035152864f1b63c4c83946fc5e89
2016-05-03 22:01:26 +00:00
Winson Chung
bd1708a19d Merge changes If7b8ed3f,I309c3825,Iafd06419,I59f73caf into nyc-dev
* changes:
  Fixes several animation issues related to a dismissing task.
  Pipe the dismiss button logic through the touch handler.
  Skip scroll-to animation when undocking and there are no tasks.
  Fixing issue with docking being disallowed for secondary user.
2016-05-03 21:57:03 +00:00
Selim Cinek
d13956475e Made the dismissal of notifications snappier
The notifications now dismiss as soon as the finger is
lifted from the screen and we don't wait until it's fully
translated.

Change-Id: I2a37e019ce628ccf77e12bf8756bd05e549eca61
Fixes: 27418846
2016-05-03 14:44:53 -07:00
Selim Cinek
3f19f60d65 Fixed an issue where children would animate strangely when removed
Previously we tried to fix a notification flicker when the summary
of a group was removed. This lead to a few issues that group children
would now also generate an animation and the whole notification would
just look weird.
We are now cancelling notification children as soon as their parent
is cancelled already in systemUI to ensure that the animations are
properly rendered.

Change-Id: Ie639b4ad28bdb55d922308e04c14a4e5b32b90bb
Fixes: 28190616
2016-05-03 14:44:51 -07:00
Chong Zhang
5117e273ec Apply IME adjust to newly added window
bug: 28390108
Change-Id: I72132d68cb41056fb69f2fe38fa13f2b3c9ce3d6
2016-05-03 14:39:56 -07:00
Chris Craik
138c21fbec Use LUT for computing final shadow alpha
bug:27415250

Significantly reduces shadow fragment shader computation.

Change-Id: Ie9b3c712700754b3734d0ae9cda8751c298fc59e
2016-05-03 14:36:29 -07:00
Siyamed Sinir
553aae2501 Merge "Revert "Request re-layout after setText if layout width is 0"" into nyc-dev
am: c18009e6dd

* commit 'c18009e6dd32f04fdad7f1b27a0a6b52ee5c875c':
  Revert "Request re-layout after setText if layout width is 0"

Change-Id: I701dbebcde81f535db42da7292db8c7a26121f81
2016-05-03 21:32:23 +00:00
Siyamed Sinir
c18009e6dd Merge "Revert "Request re-layout after setText if layout width is 0"" into nyc-dev 2016-05-03 21:22:18 +00:00
Chris Craik
3a86af812a Merge "Add LightingFilter behavior test" into nyc-dev
am: 7039adafa9

* commit '7039adafa9a99f8eb4f8ccab9a6f9d2208454150':
  Add LightingFilter behavior test

Change-Id: Iade8eaa9bb8151a8fbded7b6bb95aa6173f6cb6c
2016-05-03 21:19:59 +00:00
Chris Craik
7039adafa9 Merge "Add LightingFilter behavior test" into nyc-dev 2016-05-03 21:12:04 +00:00
Scott Main
18b44a9010 Merge "add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530" into mnc-mr-docs am: cf4fe3c46d am: 395e68657b am: 9a26ce79ef
am: 886909f6e9

* commit '886909f6e96743fdb7fae87c7d4fbd81d85a57fd':
  add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530

Change-Id: Iaf631297f4a189ebd598cc5e404e698acf6d2a71
2016-05-03 21:00:42 +00:00
smain@google.com
886909f6e9 Merge "add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530" into mnc-mr-docs am: cf4fe3c46d am: 395e68657b
am: 9a26ce79ef

* commit '9a26ce79ef468891ffde89ac8984d017e7de0652':
  add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530

Change-Id: Ib0fa160a189ad455f2cbb49d7e785f9310817a1c
2016-05-03 20:58:27 +00:00
Scott Main
9a26ce79ef Merge "add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530" into mnc-mr-docs am: cf4fe3c46d
am: 395e68657b

* commit '395e68657b19e813c1f85ce6b0bd985fb99cbda6':
  add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530

Change-Id: Ia1619167356358262f96655d6dad1a8cda822bde
2016-05-03 20:55:59 +00:00
smain@google.com
395e68657b Merge "add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530" into mnc-mr-docs
am: cf4fe3c46d

* commit 'cf4fe3c46d163a6f26b5a7dcdcaf56352e4b0bcd':
  add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530

Change-Id: I483ae2e094410a3dc72de519bfb5c723191eb7f5
2016-05-03 20:53:35 +00:00
Ruben Brunk
de55c142b9 Merge "Update dumpsys logging for VrManagerService." into nyc-dev
am: aa262c866f

* commit 'aa262c866f27515134b73910d6babc753daa611c':
  Update dumpsys logging for VrManagerService.

Change-Id: I3e24c925e19dae563d84a5d7e1556752e5e4e540
2016-05-03 20:48:55 +00:00
Scott Main
cf4fe3c46d Merge "add new redirects for migration of sdk/ and tools/ docs to studio/ bug:28447530" into mnc-mr-docs 2016-05-03 20:47:54 +00:00
Ruben Brunk
aa262c866f Merge "Update dumpsys logging for VrManagerService." into nyc-dev 2016-05-03 20:42:38 +00:00
Siyamed Sinir
1f575b890e Revert "Request re-layout after setText if layout width is 0"
This reverts commit 375366cb2d. 

Bug: 28523980
Change-Id: Ib4dd00eabaf7b5630b18373cc1d7bec61c0e155d
2016-05-03 20:35:35 +00:00
Vincent Palatin
0be6800b0f Fix notifications for USB PD enabled devices
The devices with USB PD support can have the data role and the power role of
their USB-C port reversed. Ensure the title of the notification and the content
of the USB selection dialog is correct in this case.

Testing done on Ryu with the following accessories:
- legacy A-C cable
- USB-C charger (5X)
- USB-PD charger (Zinger)
- Pixel 2 (in both roles)
- Type-C Macbook (in both roles)
- Nexus 5X (in both roles)
- Apple AV HDMI accessory
- LG USB-C screen/dock
- Honeybuns dock

Bug: 28310685
Bug: 24137353
Change-Id: Id7f358c40d8714fae68ca98a7eb067f62f18b0af
2016-05-03 13:35:15 -07:00
Abodunrinwa Toki
a04fe4fc92 Merge "Implement alternative ViewGroup.getChildVisibleRect." into nyc-dev
am: f62dd564ed

* commit 'f62dd564edfa7f9e02e17e7a2e3107dbc7b4abb0':
  Implement alternative ViewGroup.getChildVisibleRect.

Change-Id: I9d3c20e2c3c3797c9be2f3667b5c25d4fa6bfbef
2016-05-03 20:20:02 +00:00
Abodunrinwa Toki
f62dd564ed Merge "Implement alternative ViewGroup.getChildVisibleRect." into nyc-dev 2016-05-03 20:13:26 +00:00
Chris Wren
126d28b51c Merge "copy auto-group decisions to updates" into nyc-dev
am: facdf19313

* commit 'facdf193139ab32582cf642a6648261bd873268a':
  copy auto-group decisions to updates

Change-Id: I69a8305427176e7f5a998a7bde7b19dc6adfc00e
2016-05-03 20:12:45 +00:00
TreeHugger Robot
facdf19313 Merge "copy auto-group decisions to updates" into nyc-dev 2016-05-03 20:08:03 +00:00
Richard Uhler
0ebdbb4a84 Hold a ClassLoader reference in NativeAllocationRegistry.
So that the native library isn't unloaded before we have a chance to
call the freeFunction.

Bug: 28406866
Change-Id: I889f1ccd91bba70e31fb8d09c0ec6d471fc35841
2016-05-03 13:06:22 -07:00
Dimitry Ivanov
b1a3efdc84 Merge "Allow apps to load libraries from under /data" into nyc-dev
am: a31657911c

* commit 'a31657911c96fb735bf4a34610638c9f95e5c99d':
  Allow apps to load libraries from under /data

Change-Id: I0a59bec71e6e4acf5a2f78af3107a8b5add3551b
2016-05-03 20:05:23 +00:00
Dimitry Ivanov
a31657911c Merge "Allow apps to load libraries from under /data" into nyc-dev 2016-05-03 20:00:39 +00:00
Ajay Panicker
bda2699c81 Merge "List the CONNECTION_STATE_CHANGED broadcast for MAP as protected" into nyc-dev
am: 95aa2fc323

* commit '95aa2fc3234f0c842cf9a2b0de44e2f093dcb5d5':
  List the CONNECTION_STATE_CHANGED broadcast for MAP as protected

Change-Id: I96dbeb48f7f80ab6f2920169c1b111ce623d4a9c
2016-05-03 20:00:32 +00:00
Adam Lesinski
05ceb1ae27 Merge "BatteryStats: Fix units on battery charge counter" into nyc-dev
am: 00194e0f24

* commit '00194e0f2468d3848aee7e65e542bb5224cfd44a':
  BatteryStats: Fix units on battery charge counter

Change-Id: Ic53adacbf82c210cb98dc58c4efe2deb3552c073
2016-05-03 19:55:37 +00:00
TreeHugger Robot
95aa2fc323 Merge "List the CONNECTION_STATE_CHANGED broadcast for MAP as protected" into nyc-dev 2016-05-03 19:51:16 +00:00
Adam Lesinski
00194e0f24 Merge "BatteryStats: Fix units on battery charge counter" into nyc-dev 2016-05-03 19:47:35 +00:00
Eric Laurent
851a8797bd update doc with permissions needed for voice call capture.
Update documentation for VOICE_UPLINK, VOICE_DOWNKINK and
VOICE_CALL MediaRecorder audio sources to indicate those
sources are protected by the signature|privileged permission
CAPTURE_AUDIO_OUTPUT

This was missing in M SDK doc.

Bug: 28081587.
Change-Id: I24f6d9978069115a0f2c41e48038b935e4395124
2016-05-03 12:43:14 -07:00
Todd Kennedy
39c78d2b8d Merge "Don\'t pre-opt shims" into nyc-dev
am: 5add5bb77f

* commit '5add5bb77f4af3706d878651e2c1e2c45d463c86':
  Don't pre-opt shims

Change-Id: Ia47c9cf03f15f317ecef1561428a9d693913865b
2016-05-03 19:43:05 +00:00
Todd Kennedy
5add5bb77f Merge "Don't pre-opt shims" into nyc-dev 2016-05-03 19:35:54 +00:00
Vladislav Kaznacheev
7315c27816 Merge "Fix typos in ClipData JavaDoc" into nyc-dev
am: 77843a4213

* commit '77843a4213a9ce81e8aa4d6681e3c46350a31335':
  Fix typos in ClipData JavaDoc

Change-Id: I8e58af2fd476229684686d4d6b43fef09e9b4176
2016-05-03 19:35:28 +00:00
Hal Canary
eecd825a8f Merge "stop leaking SkPDFDocument" into nyc-dev
am: 4f7519a66b

* commit '4f7519a66b3df9ecd2ac3e561b794f0d42269a79':
  stop leaking SkPDFDocument

Change-Id: I328d7cc7b3b8e9d6d628f13dacc2bdb391aeb010
2016-05-03 19:35:27 +00:00
Kevin Hufnagle
0397e07893 docs: Added Sony Xperia Z3 as a testing device for Android N.
Bug: 27602263
Change-Id: I61412cab1c390c7067b7a56928d10ea147924e25
2016-05-03 12:29:51 -07:00
TreeHugger Robot
77843a4213 Merge "Fix typos in ClipData JavaDoc" into nyc-dev 2016-05-03 19:28:32 +00:00
Hal Canary
4f7519a66b Merge "stop leaking SkPDFDocument" into nyc-dev 2016-05-03 19:27:58 +00:00
Julia Reynolds
bc84c0fa67 Merge "Announce access point changes." into nyc-dev
am: 6af7c23168

* commit '6af7c2316869d15989a2936fa399ec825979a221':
  Announce access point changes.

Change-Id: Ib8b2b6e2ef89650b85de7f401dd955df943bfd34
2016-05-03 19:07:25 +00:00
Julia Reynolds
6af7c23168 Merge "Announce access point changes." into nyc-dev 2016-05-03 18:58:13 +00:00
Badhri Jagan Sridharan
7b78652987 Merge "Change low power stats format to make it easier for parsing" into nyc-dev
am: 49bdf11cd5

* commit '49bdf11cd5e388c0c91cfa095f3b6314902f9994':
  Change low power stats format to make it easier for parsing

Change-Id: I17f34b996552ccbd8b1af3e7e505db6cc3606802
2016-05-03 18:55:48 +00:00
Julia Reynolds
7ed62eb7a2 Announce access point changes.
Bug: 24202851
Change-Id: I0de0d9bf89191750694a7ba2fac4a95babe62aeb
2016-05-03 14:54:47 -04:00
Jack Yu
bf0fd7243b Added additional cbs channels support
Added a new carrier config that allows carriers to enable
additional cell broadcast channels for CMAS.

bug: 21107166
Change-Id: I2bdce880dfb6a2d8d8e9e252d1f331f657f63ccc
2016-05-03 11:53:30 -07:00
Badhri Jagan Sridharan
49bdf11cd5 Merge "Change low power stats format to make it easier for parsing" into nyc-dev 2016-05-03 18:48:56 +00:00
Dianne Hackborn
ef3aa6ee53 Fix issue #28477006: Add small event log to job scheduler
Added.  Also fixed dumpsys output when filtering, to apply the
filter to (almost) all of the output.

Change-Id: Iafb446599ad8fddbe8a766784deff618a6cfdbb7
2016-05-03 11:48:25 -07:00
Badhri Jagan Sridharan
15c4e31b0f Change low power stats format to make it easier for parsing
New format: PlatformIdleStat state_1 name=XO_shutdown time=0 count=0
voter_1 name=APSS time=48264099 count=484 voter_2 name=MPSS
time=48573849 count=39857 voter_3 name=LPASS time=49584723 count=2082 
state_2 name=VMIN time=47171000 count=38222

Old format: PlatformIdleStat XO_shutdown_time=0 XO_shutdown_count=0 
APSS_time=9467486 APSS_count=583 MPSS_time=10835070 MPSS_count=9131
LPASS_time=10624719 LPASS_count=595 VMIN_time=9231000 VMIN_count=7878

In the old format it was hard to differentiate between the various
low power states and the voters for each state.

Bug:26564574

Change-Id: I3930aaf1c8c6e17066ef043552096ba61373f9f4
2016-05-03 18:42:09 +00:00
Abodunrinwa Toki
4e7a1208ea Implement alternative ViewGroup.getChildVisibleRect.
This CL allows getChildVisibleRect to optionally always call the
view's parent. The previous version attempted to optimize the call
by not calling further up the view heirarchy when the rect isn't
visible in the current view.

The call is hidden and the previous behaviour is preserved to limit
the bits of code that this change affects.

Bug: 28514727
Change-Id: I49550ed4082bcbdcfe4643b962b50f3308092525
2016-05-03 19:41:15 +01:00
Dimitry Ivanov
bf3b5f7a18 Allow apps to load libraries from under /data
Allow all application classloaders to load native
libraries from anywhere under /data

Bug: http://b/26954419
Change-Id: I8a808bcdf4a00f7d40b513d4e2ca3d1e76c0909f
2016-05-03 11:34:58 -07:00
Christopher Tate
46132b4096 Merge "Always log web link filter verification parameters" into nyc-dev
am: 44b28493ca

* commit '44b28493cad3fcc2708c58a8bd1a40d6dd1e64eb':
  Always log web link filter verification parameters

Change-Id: I93266be022d8ac86d8f86005dedbb8b09de2d8a4
2016-05-03 18:32:02 +00:00
Tim Volodine
b90f5389dd [WebView] Update ServiceWorker related documentation.
Add some clarifying documentation and usage example.

BUG: 28296205
Change-Id: Ib1695822e3d361b17fc4d8a9a3f24a14e34f40ec
2016-05-03 18:30:01 +00:00