OSDN Git Service

android-x86/frameworks-base.git
8 years agoFix name of Samsung in PrintServiceRecommendationService.
Philip P. Moltmann [Tue, 5 Apr 2016 18:18:19 +0000 (11:18 -0700)]
Fix name of Samsung in PrintServiceRecommendationService.

Change-Id: I31af933ffec074e9ee646c5d879f42938229dcf7

8 years agoMerge "(Docs only) Make battery stats process state docs more clear." into nyc-dev
Dianne Hackborn [Tue, 5 Apr 2016 16:54:54 +0000 (16:54 +0000)]
Merge "(Docs only) Make battery stats process state docs more clear." into nyc-dev

8 years agoMerge "Fix issue #28001806: Background check is incorrectly restricting binding of...
Dianne Hackborn [Tue, 5 Apr 2016 16:54:35 +0000 (16:54 +0000)]
Merge "Fix issue #28001806: Background check is incorrectly restricting binding of services" into nyc-dev

8 years ago(Docs only) Make battery stats process state docs more clear.
Dianne Hackborn [Thu, 31 Mar 2016 01:01:41 +0000 (18:01 -0700)]
(Docs only) Make battery stats process state docs more clear.

Change-Id: I7e86705ec5fa7be8d6a74e708bbf166bec17494f

8 years agoFix issue #28001806: Background check is incorrectly restricting binding of services
Dianne Hackborn [Mon, 4 Apr 2016 20:31:18 +0000 (13:31 -0700)]
Fix issue #28001806: Background check is incorrectly restricting binding of services

Change-Id: Ie79937d2696e28651c8ef2bdcc5c9c84f9f801c6

8 years agoMerge "Rewrite popup window positioning algorithm" into nyc-dev
Alan Viverette [Tue, 5 Apr 2016 16:29:06 +0000 (16:29 +0000)]
Merge "Rewrite popup window positioning algorithm" into nyc-dev

8 years agoMerge "Fix typo" into nyc-dev
Glenn Kasten [Tue, 5 Apr 2016 15:00:20 +0000 (15:00 +0000)]
Merge "Fix typo" into nyc-dev

8 years agoMerge "Add a hidden test-only API to get Toolbar's navigation view." into nyc-dev
Kirill Grouchnikov [Tue, 5 Apr 2016 14:54:46 +0000 (14:54 +0000)]
Merge "Add a hidden test-only API to get Toolbar's navigation view." into nyc-dev

8 years agoMerge "Split ACTION_MANAGED_PROFILE_AVAILABILITY_CHANGED into two." into nyc-dev
Rubin Xu [Tue, 5 Apr 2016 14:52:00 +0000 (14:52 +0000)]
Merge "Split ACTION_MANAGED_PROFILE_AVAILABILITY_CHANGED into two." into nyc-dev

8 years agoMerge "Make Material switch style public" into nyc-dev
Alan Viverette [Tue, 5 Apr 2016 14:51:02 +0000 (14:51 +0000)]
Merge "Make Material switch style public" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:22:20 +0000 (14:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:21:51 +0000 (14:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:16:48 +0000 (14:16 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:16:17 +0000 (14:16 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:15:40 +0000 (14:15 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Fix bad workaround docs in Resources.getDrawable()" into nyc-dev
Alan Viverette [Tue, 5 Apr 2016 14:15:09 +0000 (14:15 +0000)]
Merge "Fix bad workaround docs in Resources.getDrawable()" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:14:56 +0000 (14:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMake Material switch style public
Alan Viverette [Tue, 5 Apr 2016 14:14:27 +0000 (10:14 -0400)]
Make Material switch style public

Bug: 28001482
Change-Id: I0dcbf585db13d2efffd09ec0e329170114f372a1

8 years agoRevert "Add Preference#onDetachedFromActivity"
Jason Monk [Mon, 4 Apr 2016 13:19:31 +0000 (13:19 +0000)]
Revert "Add Preference#onDetachedFromActivity"

This reverts commit e18dc50c63110a57cfc29ec9bd21bf3f59abb6b4.
Fixes: 27807793

Change-Id: Ib0384e3deb8d6376265e8e60f14490de128c9b68
(cherry picked from commit eff3ca5480789c51768a3a1697503fbbdadc1bd6)

8 years agoMerge "Switch to work challenge if MP calls resetPassword" into nyc-dev
Robin Lee [Tue, 5 Apr 2016 14:04:39 +0000 (14:04 +0000)]
Merge "Switch to work challenge if MP calls resetPassword" into nyc-dev

8 years agoMerge "Fix Build" into nyc-dev
Jason Monk [Tue, 5 Apr 2016 13:49:40 +0000 (13:49 +0000)]
Merge "Fix Build" into nyc-dev

8 years agoFix Build
Jason Monk [Tue, 5 Apr 2016 13:47:40 +0000 (09:47 -0400)]
Fix Build

Previous revert didn't catch test-current.txt

Change-Id: I82575361bcc4f3c7e05dbec4cbe5201b03717bcb

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 13:44:13 +0000 (06:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibc7139b72a805e48a1906368d25df01e55f68b9b
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 13:37:59 +0000 (06:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iacf5ebcf0264fa13b097db13948f9b880f8e19c2
Auto-generated-cl: translation import

8 years agoMerge changes Ibb63f6b4,Ib64559a5 into nyc-dev
Lorenzo Colitti [Tue, 5 Apr 2016 13:35:07 +0000 (13:35 +0000)]
Merge changes Ibb63f6b4,Ib64559a5 into nyc-dev

* changes:
  Clean up netd state when tethering fails.
  Clear LinkProperties on interface removed.

8 years agoClean up netd state when tethering fails.
Lorenzo Colitti [Tue, 5 Apr 2016 08:53:04 +0000 (17:53 +0900)]
Clean up netd state when tethering fails.

If we do not call untether, NetworkController will still think
that wlan0 is part of the LOCAL network, and thus any attempt to
use wlan0 for anything else is doomed to fail.

Bug: 27917299
Change-Id: Ibb63f6b477b85b92281d9667adf8af148deb266c

8 years agoClear LinkProperties on interface removed.
Lorenzo Colitti [Tue, 5 Apr 2016 08:48:28 +0000 (17:48 +0900)]
Clear LinkProperties on interface removed.

When an interface is removed, all netlink events for that
interface are lost, because netd will no longer be able to
resolve the ifindex in the netlink event to an interface name,
and it only communicates to the framework events that include an
interface name.

This can cause us to end up with stale IP addresses if, for
example, wlan0 is removed because we switch wifi back from AP
mode to STA mode when exiting tethering. The presence of stale
IPv4 addresses can in turn lead us to miss a provisioning
notification because we already think we have an IPv4 address.

Change-Id: Ib64559a5a4fa261f483760b69fa7996314e7cc17

8 years agoMerge "Fix: Selection handle behavior in scrolled TextView." into nyc-dev
Keisuke Kuroyanagi [Tue, 5 Apr 2016 09:24:07 +0000 (09:24 +0000)]
Merge "Fix: Selection handle behavior in scrolled TextView." into nyc-dev

8 years agoMerge "Separate inflate from render step" into nyc-dev
Diego Perez [Tue, 5 Apr 2016 08:17:45 +0000 (08:17 +0000)]
Merge "Separate inflate from render step" into nyc-dev

8 years agoMerge "Stop automatically creating action mode in FS extracted mode." into nyc-dev
Keisuke Kuroyanagi [Tue, 5 Apr 2016 07:50:45 +0000 (07:50 +0000)]
Merge "Stop automatically creating action mode in FS extracted mode." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 07:32:16 +0000 (00:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: I127b5c781f20c942712801cf9b044d7b27403b07
Auto-generated-cl: translation import

8 years agoFix: Selection handle behavior in scrolled TextView.
Keisuke Kuroyanagi [Tue, 5 Apr 2016 07:26:16 +0000 (16:26 +0900)]
Fix: Selection handle behavior in scrolled TextView.

When dragging a selection handle, it moves to strange position in
scrolled TextView because scroll position isn't took into account.
This issue was introduced by rebase mistaking in
I2a7e87ad08416f4bd01a5f6.

Bug: 28008281
Change-Id: I6217483fcc0b9a7e661f02a1f276114ddd5031a4

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 07:18:26 +0000 (00:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib8200b22451664277e49d59489e1727b281fa960
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 07:12:38 +0000 (00:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: I313e43e4b0f2f90265415bfb36ac3316dcb58e00
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 07:08:13 +0000 (00:08 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2ee1e4554a52b1932121c963a8dd99a19e8bc990
Auto-generated-cl: translation import

8 years agoMerge "Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed in...
Aga Wronska [Tue, 5 Apr 2016 04:34:08 +0000 (04:34 +0000)]
Merge "Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed in DocumentsActivity. Make 'select all' select only enabled files." into nyc-dev

8 years agoMerge "resolve merge conflicts of 20ebbb3 to nyc-dev" into nyc-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 04:29:11 +0000 (04:29 +0000)]
Merge "resolve merge conflicts of 20ebbb3 to nyc-dev" into nyc-dev

8 years agoMerge "Delete unused default DNS setting code" into nyc-dev
Erik Kline [Tue, 5 Apr 2016 04:00:27 +0000 (04:00 +0000)]
Merge "Delete unused default DNS setting code" into nyc-dev

8 years agoMerge "Move from on464XlatChange() to setNeighborDiscoveryOffload()" into nyc-dev
Erik Kline [Tue, 5 Apr 2016 03:55:40 +0000 (03:55 +0000)]
Merge "Move from on464XlatChange() to setNeighborDiscoveryOffload()" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 03:22:26 +0000 (03:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoDelete unused default DNS setting code
Erik Kline [Tue, 5 Apr 2016 02:48:01 +0000 (11:48 +0900)]
Delete unused default DNS setting code

Change-Id: I601a647714171f205d179d6fef6c112949fc5a94

8 years agoMerge "Add APF code to drop ARP IPv4 requests not for us" into nyc-dev
Lorenzo Colitti [Tue, 5 Apr 2016 02:46:38 +0000 (02:46 +0000)]
Merge "Add APF code to drop ARP IPv4 requests not for us" into nyc-dev

8 years agoMove from on464XlatChange() to setNeighborDiscoveryOffload()
Erik Kline [Mon, 4 Apr 2016 03:46:51 +0000 (12:46 +0900)]
Move from on464XlatChange() to setNeighborDiscoveryOffload()

Bug: 26238390
Change-Id: I0f971fbf04e44cb61017653f944d71e1f6d128b4

8 years agoMerge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev
Adam Lesinski [Tue, 5 Apr 2016 02:22:50 +0000 (02:22 +0000)]
Merge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev

8 years agoMerge "Fix opacity setup in FrameBuilder" into nyc-dev
Sergei Vasilinetc [Tue, 5 Apr 2016 01:54:46 +0000 (01:54 +0000)]
Merge "Fix opacity setup in FrameBuilder" into nyc-dev

8 years agoAdd APF code to drop ARP IPv4 requests not for us
Paul Jensen [Fri, 25 Mar 2016 15:25:57 +0000 (11:25 -0400)]
Add APF code to drop ARP IPv4 requests not for us

The WiFi chipset's ARP offload may handle this when the
AP is asleep, but when the AP is awake and the chipset is in
wake-on-wifi mode use APF to filter these packets.

Bug: 27477163
Change-Id: I180c08bd7301a1af9c3f728ff3cba06ca4e1022d

8 years agoMerge "App upload to Context hub." into nyc-dev
Ashutosh Joshi [Tue, 5 Apr 2016 01:32:57 +0000 (01:32 +0000)]
Merge "App upload to Context hub." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 01:01:54 +0000 (18:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1dc28e766598553596a3abdf05a7781b7b67f4c8
Auto-generated-cl: translation import

8 years agoMerge "Avoid destroying Device separately" into nyc-dev
Yang Ni [Tue, 5 Apr 2016 00:50:40 +0000 (00:50 +0000)]
Merge "Avoid destroying Device separately" into nyc-dev

8 years agoresolve merge conflicts of 20ebbb3 to nyc-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 00:42:05 +0000 (17:42 -0700)]
resolve merge conflicts of 20ebbb3 to nyc-dev

Change-Id: I31d76a02456b3f09a6bdac11c6dbc5e913f5f7df

8 years agoMerge "Fix perf tests for cold startup." into nyc-dev
Tomasz Mikolajewski [Tue, 5 Apr 2016 00:33:01 +0000 (00:33 +0000)]
Merge "Fix perf tests for cold startup." into nyc-dev

8 years agoFix opacity setup in FrameBuilder
sergeyv [Tue, 5 Apr 2016 00:12:04 +0000 (17:12 -0700)]
Fix opacity setup in FrameBuilder

bug:27941278
Change-Id: Ib0599f669406d2fb477d51d5ba701a89f83f9bd9

8 years agoMerge "Fix potential ApfFilter bugs by careful ByteBuffer use" into nyc-dev
Paul Jensen [Tue, 5 Apr 2016 00:23:36 +0000 (00:23 +0000)]
Merge "Fix potential ApfFilter bugs by careful ByteBuffer use" into nyc-dev

8 years agoMerge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev
Paul Jensen [Tue, 5 Apr 2016 00:22:20 +0000 (00:22 +0000)]
Merge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev

8 years agoMerge "Make Metrics.logKeyboardAction() method take @KeyboardAction type instead...
Aga Wronska [Tue, 5 Apr 2016 00:20:52 +0000 (00:20 +0000)]
Merge "Make Metrics.logKeyboardAction() method take @KeyboardAction type instead of KeyEvent" into nyc-dev

8 years agoMerge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 00:13:18 +0000 (00:13 +0000)]
Merge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev

8 years agoHide 'select all' menu option when ALLOW_MULTIPLE intent is not passed
Aga Wronska [Fri, 1 Apr 2016 20:16:11 +0000 (13:16 -0700)]
Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed
in DocumentsActivity.
Make 'select all' select only enabled files.

Change-Id: I03326974be46f610622fff14002671e50487e357
Fixing: b/27952285

8 years agoMerge "Do not enable binder exception logging." into nyc-dev
Makoto Onuki [Tue, 5 Apr 2016 00:09:46 +0000 (00:09 +0000)]
Merge "Do not enable binder exception logging." into nyc-dev

8 years agoMerge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 00:05:07 +0000 (00:05 +0000)]
Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev

8 years agoMerge "Correct screenshot bounds calculation." into nyc-dev
Rob Carr [Tue, 5 Apr 2016 00:00:59 +0000 (00:00 +0000)]
Merge "Correct screenshot bounds calculation." into nyc-dev

8 years agoMerge "Get rid of negative margins" into nyc-dev
Adrian Roos [Mon, 4 Apr 2016 23:55:53 +0000 (23:55 +0000)]
Merge "Get rid of negative margins" into nyc-dev

8 years agoApp upload to Context hub.
Ashutosh Joshi [Mon, 4 Apr 2016 23:19:29 +0000 (16:19 -0700)]
App upload to Context hub.

Fix constants
Use helper functions to address OS

Change-Id: I61bd1f3eff2716ead2771eda335998f2e9b73afc

8 years agoMerge "Fix slow dismiss animation" into nyc-dev
Mady Mellor [Mon, 4 Apr 2016 23:29:05 +0000 (23:29 +0000)]
Merge "Fix slow dismiss animation" into nyc-dev

8 years agoSettingsLib: refactor for extensibility.
Muyuan Li [Thu, 31 Mar 2016 20:53:56 +0000 (13:53 -0700)]
SettingsLib: refactor for extensibility.

Add short version of charging / discharging labels. Extended getBatteryInfo method to take in additional flag for short version labels.

Change-Id: I499ce59493f1345c3084d48829ded5117d470e44
(cherry picked from commit e686bf4514d9c1116a4eaa8af285f44613e23b36)

8 years agoMerge "Fix showing gear behind notification when RTL language selected" into nyc-dev
Mady Mellor [Mon, 4 Apr 2016 23:14:05 +0000 (23:14 +0000)]
Merge "Fix showing gear behind notification when RTL language selected" into nyc-dev

8 years agoMerge "Tweaks for ScaleGestureDetector" into nyc-dev
Adam Powell [Mon, 4 Apr 2016 23:05:58 +0000 (23:05 +0000)]
Merge "Tweaks for ScaleGestureDetector" into nyc-dev

8 years agoMerge "Fix minimized dock" into nyc-dev
Jorim Jaggi [Mon, 4 Apr 2016 23:05:37 +0000 (23:05 +0000)]
Merge "Fix minimized dock" into nyc-dev

8 years agoDo not enable binder exception logging.
Makoto Onuki [Mon, 4 Apr 2016 22:58:35 +0000 (15:58 -0700)]
Do not enable binder exception logging.

Bug 28005618

Change-Id: Ie13fd5b6d1fcbf27ad480501e30b5cb1774e8b48

8 years agoMerge "Adding content description for app-info button when talkback is enabled."...
Winson Chung [Mon, 4 Apr 2016 22:50:40 +0000 (22:50 +0000)]
Merge "Adding content description for app-info button when talkback is enabled." into nyc-dev

8 years agoMerge "Do not constrain width/height of child windows at layout." into nyc-dev
Rob Carr [Mon, 4 Apr 2016 22:33:43 +0000 (22:33 +0000)]
Merge "Do not constrain width/height of child windows at layout." into nyc-dev

8 years agoCorrect screenshot bounds calculation.
Robert Carr [Mon, 4 Apr 2016 22:28:23 +0000 (15:28 -0700)]
Correct screenshot bounds calculation.

If we intersect each window in the application with
our screenshot bounds we will end up reduced to the bounds
of the smallest window. Modify logic to just check for
intersection without modifying the bounds.

Bug: 27996291
Change-Id: Ib0ebb6bd02a313f67f1562dabcfb394efa8f16cf

8 years agoMerge "AAPT2: Add option to add JavaDoc annotations to Java classes" into nyc-dev
Adam Lesinski [Mon, 4 Apr 2016 22:25:55 +0000 (22:25 +0000)]
Merge "AAPT2: Add option to add JavaDoc annotations to Java classes" into nyc-dev

8 years agoFix issue with overridden configuration in onConfigurationChanged
Adam Lesinski [Fri, 1 Apr 2016 23:41:41 +0000 (16:41 -0700)]
Fix issue with overridden configuration in onConfigurationChanged

When using applyOverrideConfiguration, subsequent callbacks to
onConfigurationChanged didn't take into account the locally overridden
configuration. This patches the incoming configuration to match
what is expected by the application.

Bug:27644297
Change-Id: I3a090e9862a56470d999aa0aa4d5bae29f533a11

8 years agoMerge "power_profile: Move all wifi power values" into nyc-dev
Roshan Pius [Mon, 4 Apr 2016 22:21:23 +0000 (22:21 +0000)]
Merge "power_profile: Move all wifi power values" into nyc-dev

8 years agoMerge "Provide command to change WebView implementation." into nyc-dev
Gustav Sennton [Mon, 4 Apr 2016 22:09:35 +0000 (22:09 +0000)]
Merge "Provide command to change WebView implementation." into nyc-dev

8 years agoAdding content description for app-info button when talkback is enabled.
Winson [Mon, 4 Apr 2016 18:02:11 +0000 (11:02 -0700)]
Adding content description for app-info button when talkback is enabled.

Bug: 27699389
Change-Id: Ia4a0e5f197fa5c51585c3cfb9c71aee858836047

8 years agoMerge "Fix how outlines are sent to rendernode" into nyc-dev
Chris Craik [Mon, 4 Apr 2016 22:08:30 +0000 (22:08 +0000)]
Merge "Fix how outlines are sent to rendernode" into nyc-dev

8 years agoFix minimized dock
Jorim Jaggi [Sat, 26 Mar 2016 05:07:16 +0000 (22:07 -0700)]
Fix minimized dock

- When SysUI crashed, make sure state is up-to-date
- When divider gets invisible, update state because animations
won't finish
- Make sure to keep mMinimizedDock up-to-date in all cases, even
if docked stack is already gone.
- If docked stack is going away, reset minimized state
- Disallow undocking when minimized.

Bug: 27588187
Bug: 27486464
Change-Id: I6ea48562fae3a8df038a690a488580d758681370

8 years agoDo not call forceLayout if not needed
Jorim Jaggi [Sat, 2 Apr 2016 00:43:14 +0000 (17:43 -0700)]
Do not call forceLayout if not needed

If the relevant frames for the app don't actually change, there is
no reason to call forceLayout and force a layout pass.

Bug: 27864358
Change-Id: I2add8cc5791023937afc154e6e50bbf7efb35adb

8 years agoMerge "Make AVD thread safe" into nyc-dev
Doris Liu [Mon, 4 Apr 2016 21:53:43 +0000 (21:53 +0000)]
Merge "Make AVD thread safe" into nyc-dev

8 years agoTweaks for ScaleGestureDetector
Adam Powell [Mon, 4 Apr 2016 21:42:24 +0000 (14:42 -0700)]
Tweaks for ScaleGestureDetector

Remove obsolete history and size tracking from ScaleGestureDetector.

Change-Id: I20c323a8a92e467b62eb412b718c2e9e906e7800

8 years agoMake AVD thread safe
Doris Liu [Wed, 2 Mar 2016 23:16:28 +0000 (15:16 -0800)]
Make AVD thread safe

This CL introduces staging properties to VectorDrawable, which holds
properties coming from UI thread. When staging properties are changed,
they are marked dirty, and the staging properties then get pushed to
RenderThread at sync point. In cases where no staging property has
been changed, at sync point we sync the render thread properties back
to staging properties to reflect the latest render thread animation
value change.

Also, update Vector Drawable bitmap only when it's dirty

Bug: 27343970
Bug: 27385912
Bug: 27263667
Bug: 27927674
Bug: 27774383

Change-Id: Ia864f5400a53a08dbfb284fae581fb1aac4fff87

8 years agoMerge "MediaActionSound: fix SoundPool load race condition" into nyc-dev
Eric Laurent [Mon, 4 Apr 2016 21:39:01 +0000 (21:39 +0000)]
Merge "MediaActionSound: fix SoundPool load race condition" into nyc-dev

8 years agoMerge "Set correct bounds when docked stack is removed" into nyc-dev
Andrii Kulian [Mon, 4 Apr 2016 21:13:48 +0000 (21:13 +0000)]
Merge "Set correct bounds when docked stack is removed" into nyc-dev

8 years agoMake Metrics.logKeyboardAction() method take @KeyboardAction type
Aga Wronska [Mon, 4 Apr 2016 21:02:02 +0000 (14:02 -0700)]
Make Metrics.logKeyboardAction() method take @KeyboardAction type
instead of KeyEvent

Change-Id: Ib9a19532612b679141b6d611e448247d3b0bab23

Fixing: b/27942360

8 years agoProvide command to change WebView implementation.
Gustav Sennton [Wed, 16 Mar 2016 17:38:42 +0000 (17:38 +0000)]
Provide command to change WebView implementation.

Add a shell command for switching webview implementation so that this
can be done automatically - without interacting with a Dev Setting.

Bug: 27540566
Change-Id: I3c4acaa1b8f4ba24c637ef8a1d48cc7b2616bd91

8 years agoMerge "PowerManager: Adds isSustainedPerformanceModeSupported()" into nyc-dev
Ruchi Kandoi [Mon, 4 Apr 2016 20:42:10 +0000 (20:42 +0000)]
Merge "PowerManager: Adds isSustainedPerformanceModeSupported()" into nyc-dev

8 years agoFix how outlines are sent to rendernode
Chris Craik [Mon, 4 Apr 2016 20:40:39 +0000 (13:40 -0700)]
Fix how outlines are sent to rendernode

bug:27918183

Fixes an issue where all convex outlines were pushed as empty rects to
RenderNode.

Also adds outline/reveal clip property logging, so such issues are
easier to debug in the future.

Change-Id: Ic4a996ecd09a8ef84cdf8b963bdb4853c7f6d180

8 years agoMove docked stack to the side in landscape instead of clip
Jorim Jaggi [Fri, 1 Apr 2016 22:49:45 +0000 (15:49 -0700)]
Move docked stack to the side in landscape instead of clip

Bug: 27154882
Bug: 27972642
Change-Id: Ie170571e356199bfbde014c80d670fd238825828

8 years agoFix screen rotation animation
Jorim Jaggi [Sat, 2 Apr 2016 01:20:33 +0000 (18:20 -0700)]
Fix screen rotation animation

Bug: 25019187
Change-Id: I65b5a76147b93e081466035bfc3cce0c9473610e

8 years agoAdd a hidden test-only API to get Toolbar's navigation view.
Kirill Grouchnikov [Mon, 4 Apr 2016 20:30:02 +0000 (16:30 -0400)]
Add a hidden test-only API to get Toolbar's navigation view.

Change-Id: I15d4d9ac7ea77ff260bccdfb9d82c85a7bafdfab

8 years agoMerge "Cleanup addtional files that were missed in the first purge of AvoidXfermode...
Derek Sollenberger [Mon, 4 Apr 2016 20:26:26 +0000 (20:26 +0000)]
Merge "Cleanup addtional files that were missed in the first purge of AvoidXfermode" into nyc-dev

8 years agoMerge "Ensure we leave space between layers in docked stack." into nyc-dev
Rob Carr [Mon, 4 Apr 2016 20:24:28 +0000 (20:24 +0000)]
Merge "Ensure we leave space between layers in docked stack." into nyc-dev

8 years agoMerge "Expose setDrawGLFunctionDetachedCallback to webview" into nyc-dev
Bo Liu [Mon, 4 Apr 2016 20:20:08 +0000 (20:20 +0000)]
Merge "Expose setDrawGLFunctionDetachedCallback to webview" into nyc-dev

8 years agoMerge "Move more code from WebViewUpdateService to separate overridable class" into...
Gustav Sennton [Mon, 4 Apr 2016 20:19:55 +0000 (20:19 +0000)]
Merge "Move more code from WebViewUpdateService to separate overridable class" into nyc-dev

8 years agoMerge "ShortcutManager: More command for CTS, more tests.." into nyc-dev
Makoto Onuki [Mon, 4 Apr 2016 20:03:21 +0000 (20:03 +0000)]
Merge "ShortcutManager: More command for CTS, more tests.." into nyc-dev

8 years agoFix slow dismiss animation
Mady Mellor [Thu, 31 Mar 2016 21:18:35 +0000 (14:18 -0700)]
Fix slow dismiss animation

An accelerated interpolator is used for dismissing when the
the velocity = 0 which can occur with dismiss all or if the
noti is swiped far enough but not fast enough.

There is no duration specified when the noti is swiped far
enough, and the velocity passed in is 0 so the default
duration is used without taking into account the velocity.

This CL alters the code to pass in the velocity so that a
duration is calculated.

Bug: 27864379
Change-Id: Ifac04bb8d1b714c040102fef035d55737c844157

8 years agoMediaActionSound: fix SoundPool load race condition
Eric Laurent [Sat, 2 Apr 2016 01:14:28 +0000 (18:14 -0700)]
MediaActionSound: fix SoundPool load race condition

If play() was called shortly after load() and before the load
completion callback, the sample was considered
loaded although the SoundPool was not ready to play it.

Fixed by implementing a more robust state machine for sound
load and play control.

Bug: 22499793
Change-Id: I727e07f842a0adc5225dc248f16bc4a7225a1c8e

8 years agoAAPT2: Add option to add JavaDoc annotations to Java classes
Adam Lesinski [Sat, 2 Apr 2016 02:19:24 +0000 (19:19 -0700)]
AAPT2: Add option to add JavaDoc annotations to Java classes

Change-Id: I7ee8c20cdd91380927a65c41097ffd3a6ffa2df5

8 years agoMerge "Camera: Allow preview operation of SCENE_MODE_HDR" into nyc-dev
Eino-Ville Talvala [Mon, 4 Apr 2016 19:38:51 +0000 (19:38 +0000)]
Merge "Camera: Allow preview operation of SCENE_MODE_HDR" into nyc-dev