OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "LUTInterpolator needs to have 2 frame at minimal" into nyc-dev
Tenghui Zhu [Wed, 30 Mar 2016 20:30:04 +0000 (20:30 +0000)]
Merge "LUTInterpolator needs to have 2 frame at minimal" into nyc-dev

8 years agoMerge "Add metrics for opening the drawer" into nyc-dev
Aga Wronska [Wed, 30 Mar 2016 20:13:50 +0000 (20:13 +0000)]
Merge "Add metrics for opening the drawer" into nyc-dev

8 years agoMerge "Add an option to try and filter out test overhead" into nyc-dev
John Reck [Wed, 30 Mar 2016 20:07:01 +0000 (20:07 +0000)]
Merge "Add an option to try and filter out test overhead" into nyc-dev

8 years agoMerge "Returns the correct elevation in GnssStatus" into nyc-dev
Lifu Tang [Wed, 30 Mar 2016 19:52:56 +0000 (19:52 +0000)]
Merge "Returns the correct elevation in GnssStatus" into nyc-dev

8 years agoMerge "Fix incorrect initial locale negotiation." into nyc-dev
Roozbeh Pournader [Wed, 30 Mar 2016 19:44:24 +0000 (19:44 +0000)]
Merge "Fix incorrect initial locale negotiation." into nyc-dev

8 years agoMerge "Update DocumentsUI according to DragStartHelper API changes" into nyc-dev
Vladislav Kaznacheev [Wed, 30 Mar 2016 19:43:45 +0000 (19:43 +0000)]
Merge "Update DocumentsUI according to DragStartHelper API changes" into nyc-dev

8 years agoMerge "Fix CRLF" into nyc-dev
Glenn Kasten [Wed, 30 Mar 2016 19:41:04 +0000 (19:41 +0000)]
Merge "Fix CRLF" into nyc-dev

8 years agoMerge "Start MediaResourceMonitorService only when needed." into nyc-dev
Dongwon Kang [Wed, 30 Mar 2016 19:03:42 +0000 (19:03 +0000)]
Merge "Start MediaResourceMonitorService only when needed." into nyc-dev

8 years agoMerge "Fix compilation using javac." into nyc-dev
Ying Wang [Wed, 30 Mar 2016 18:57:38 +0000 (18:57 +0000)]
Merge "Fix compilation using javac." into nyc-dev

8 years agoMerge "Clean up javadoc." into nyc-dev
Makoto Onuki [Wed, 30 Mar 2016 18:56:08 +0000 (18:56 +0000)]
Merge "Clean up javadoc." into nyc-dev

8 years agoMerge "Add logging constants for SUW A11y (Vision Settings) screens. Bug: 27777706...
Anna Galusza [Wed, 30 Mar 2016 18:43:57 +0000 (18:43 +0000)]
Merge "Add logging constants for SUW A11y (Vision Settings) screens. Bug: 27777706" into nyc-dev

8 years agoMerge "Add WifiScanner API that accepts a WorkSource for scans" into nyc-dev
Mitchell Wills [Wed, 30 Mar 2016 18:43:22 +0000 (18:43 +0000)]
Merge "Add WifiScanner API that accepts a WorkSource for scans" into nyc-dev

8 years agoLUTInterpolator needs to have 2 frame at minimal
Teng-Hui Zhu [Wed, 30 Mar 2016 18:34:55 +0000 (11:34 -0700)]
LUTInterpolator needs to have 2 frame at minimal

Otherwise, it could be having invalid data, here NAN.
Fix:27343522

Change-Id: I5bb17f04c62f268ec633675015ef589be2413338

8 years agoMerge "Package Manager: Remove force-compile on boot" into nyc-dev
Andreas Gampe [Wed, 30 Mar 2016 18:35:36 +0000 (18:35 +0000)]
Merge "Package Manager: Remove force-compile on boot" into nyc-dev

8 years agoUpdate DocumentsUI according to DragStartHelper API changes
Vladislav Kaznacheev [Wed, 23 Mar 2016 20:00:26 +0000 (13:00 -0700)]
Update DocumentsUI according to DragStartHelper API changes

Bug: 27810240
Change-Id: I1daed13d6d9cc215a6b1ba4d0ad259a996b0eb5f

8 years agoAdd metrics for opening the drawer
Aga Wronska [Tue, 29 Mar 2016 23:57:10 +0000 (16:57 -0700)]
Add metrics for opening the drawer

Change-Id: I1315463c5217ce47aa7fa40ddd8b8773c7038208
Fixed: 27905111

8 years agoMerge "Several code quality improvements" into nyc-dev
Peng Xu [Wed, 30 Mar 2016 18:04:11 +0000 (18:04 +0000)]
Merge "Several code quality improvements" into nyc-dev

8 years agoMerge "Fix QS panel after density changes" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 17:52:26 +0000 (17:52 +0000)]
Merge "Fix QS panel after density changes" into nyc-dev

8 years agoMerge "Multiple fixes in ScrollView and HorizontalScrollView" into nyc-dev
Yigit Boyar [Wed, 30 Mar 2016 17:51:53 +0000 (17:51 +0000)]
Merge "Multiple fixes in ScrollView and HorizontalScrollView" into nyc-dev

8 years agoFix QS panel after density changes
Jason Monk [Wed, 30 Mar 2016 17:48:56 +0000 (13:48 -0400)]
Fix QS panel after density changes

Fixes: 27744717
Change-Id: Ic3724b39e027379bb81e94e7059e67d2bbe30e88

8 years agoMerge "Add DevicePolicyManager API to install a client cert chain." into nyc-dev
Rubin Xu [Wed, 30 Mar 2016 17:46:16 +0000 (17:46 +0000)]
Merge "Add DevicePolicyManager API to install a client cert chain." into nyc-dev

8 years agoFix compilation using javac.
Ying Wang [Wed, 30 Mar 2016 17:33:47 +0000 (10:33 -0700)]
Fix compilation using javac.

We still need to be able to compile all the Java source code in the tree
using javac, though the compiled code never ends up running on device.

Bug: 25958912
Change-Id: Id76663cdf768db579517515d7b7f51519b515fa8

8 years agoAdd logging constants for SUW A11y (Vision Settings) screens.
Anna Galusza [Tue, 22 Mar 2016 20:49:02 +0000 (13:49 -0700)]
Add logging constants for SUW A11y (Vision Settings) screens.
Bug: 27777706

Change-Id: Iaf9ed7f9186fc1a6da3179e8e58b58341c4d8806

8 years agoClean up javadoc.
Makoto Onuki [Tue, 29 Mar 2016 21:46:50 +0000 (14:46 -0700)]
Clean up javadoc.

Bug 27548047

Change-Id: I10410c969136db634bb98687710d011d159bca07

8 years agoAdd an option to try and filter out test overhead
John Reck [Mon, 28 Mar 2016 17:38:19 +0000 (10:38 -0700)]
Add an option to try and filter out test overhead

Bug: 26912651

By setting debug.hwui.filter_test_overhead to true, hwui's
janktracker will attempt to filter out overhead caused
by the event injection that automated testing uses

Change-Id: I75c8dc5e7798e06e3009baf396108507c7240eec

8 years agoMerge "Stop SoundPool decode if NdkMediaCodec returns null buffers" into nyc-dev
Andy Hung [Wed, 30 Mar 2016 17:06:17 +0000 (17:06 +0000)]
Merge "Stop SoundPool decode if NdkMediaCodec returns null buffers" into nyc-dev

8 years agoMerge "Fix typo in Conversion Functions doc" into nyc-dev
Brian Carlstrom [Wed, 30 Mar 2016 16:58:10 +0000 (16:58 +0000)]
Merge "Fix typo in Conversion Functions doc" into nyc-dev

8 years agoMerge "Support buildLayer in new pipeline" into nyc-dev
Chris Craik [Wed, 30 Mar 2016 16:40:56 +0000 (16:40 +0000)]
Merge "Support buildLayer in new pipeline" into nyc-dev

8 years agoMerge "Fix QS RTL" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:37:40 +0000 (16:37 +0000)]
Merge "Fix QS RTL" into nyc-dev

8 years agoMerge "Clear out old views when setting new content in settings" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:36:26 +0000 (16:36 +0000)]
Merge "Clear out old views when setting new content in settings" into nyc-dev

8 years agoClear out old views when setting new content in settings
Jason Monk [Wed, 30 Mar 2016 15:05:51 +0000 (11:05 -0400)]
Clear out old views when setting new content in settings

Bug: 27529989
Change-Id: Id44ca442c2117bc5df7929bcd79434c0ae23cded

8 years agoMerge "QS: Only allow clicking in the expand button" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:33:11 +0000 (16:33 +0000)]
Merge "QS: Only allow clicking in the expand button" into nyc-dev

8 years agoMerge "Add more metrics for QS" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:32:20 +0000 (16:32 +0000)]
Merge "Add more metrics for QS" into nyc-dev

8 years agoAdd more metrics for QS
Jason Monk [Tue, 29 Mar 2016 20:51:03 +0000 (16:51 -0400)]
Add more metrics for QS

Bug: 27851703
Change-Id: Iecd1eb739fa1a283b7964b6e0952673e5fb38e8f

8 years agoMerge "If the AccessibilityService requesting the soft keyboard to be hidden is stopp...
Anna Galusza [Wed, 30 Mar 2016 16:20:31 +0000 (16:20 +0000)]
Merge "If the AccessibilityService requesting the soft keyboard to be hidden is stopped, make sure the keyboard is hidden. Bug: 27886621" into nyc-dev

8 years agoMerge "Change default work challenge background color" into nyc-dev
Clara Bayarri [Wed, 30 Mar 2016 16:12:59 +0000 (16:12 +0000)]
Merge "Change default work challenge background color" into nyc-dev

8 years agoChange default work challenge background color
Clara Bayarri [Wed, 30 Mar 2016 13:59:58 +0000 (14:59 +0100)]
Change default work challenge background color

Requested by UX

Bug: 27829562
Change-Id: I815c06784189e68b09e464e936521e82091c93c3

8 years agoMerge "Fix tests and tag them for continuous testage" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 15:44:06 +0000 (15:44 +0000)]
Merge "Fix tests and tag them for continuous testage" into nyc-dev

8 years agoMerge "Added activity cmd to display current process state of an app." into nyc-dev
Felipe Leme [Wed, 30 Mar 2016 15:41:51 +0000 (15:41 +0000)]
Merge "Added activity cmd to display current process state of an app." into nyc-dev

8 years agoPackage Manager: Remove force-compile on boot
Andreas Gampe [Wed, 30 Mar 2016 15:34:07 +0000 (08:34 -0700)]
Package Manager: Remove force-compile on boot

With ART commit d1537b569b6, the underlying issue is fixed.

Bug: 27618311
Bug: 27676766
Bug: 27693977
Bug: 27915086
Change-Id: Ib6e85e47daf3d2ceab1e5abe615610790ac6947f

8 years agoMerge "Update hard keyboard setup notification." into nyc-dev
Yohei Yukawa [Wed, 30 Mar 2016 15:40:55 +0000 (15:40 +0000)]
Merge "Update hard keyboard setup notification." into nyc-dev

8 years agoMerge "ShortcutManager: Support secondary text field." into nyc-dev
Makoto Onuki [Wed, 30 Mar 2016 15:30:16 +0000 (15:30 +0000)]
Merge "ShortcutManager: Support secondary text field." into nyc-dev

8 years agoFix incorrect initial locale negotiation.
Seigo Nonaka [Wed, 30 Mar 2016 14:09:16 +0000 (23:09 +0900)]
Fix incorrect initial locale negotiation.

It turned out that calling ResourceManager.setDefaultLocalesLocked
and ResourcesManager.applyConfigurationToResourcesLocked
can be called before the locale negotiation is ready.

To fix this issue, move ResourcesManager setup flow after creating
application context.

This also introduces RuntimeException for notifying developers the
initialize order.

Bug: 27567902
Change-Id: Iab7ea384b039fb649fb52d06d45b2bfae21f9a8a

8 years agoMerge "Add cancelation signal to OnRequestPrinterIcon." into nyc-dev
Philip P. Moltmann [Wed, 30 Mar 2016 15:18:30 +0000 (15:18 +0000)]
Merge "Add cancelation signal to OnRequestPrinterIcon." into nyc-dev

8 years agoMerge "RemotePrintDocument might get destroyed in constructor" into nyc-dev
Philip P. Moltmann [Wed, 30 Mar 2016 15:13:17 +0000 (15:13 +0000)]
Merge "RemotePrintDocument might get destroyed in constructor" into nyc-dev

8 years agoMerge "Fix disable2 bug" into nyc-dev
Benjamin Franz [Wed, 30 Mar 2016 13:43:14 +0000 (13:43 +0000)]
Merge "Fix disable2 bug" into nyc-dev

8 years agoMerge "Pull weekday names directly from ICU" into nyc-dev
Alan Viverette [Wed, 30 Mar 2016 13:35:17 +0000 (13:35 +0000)]
Merge "Pull weekday names directly from ICU" into nyc-dev

8 years agoFix disable2 bug
Benjamin Franz [Wed, 30 Mar 2016 12:41:57 +0000 (13:41 +0100)]
Fix disable2 bug

Cherry-pick from Iadb6aec82ccfe95a90e4a3d212fbd14d73093982, which was
submitted to AOSP-master.

Bug: 27688623
Change-Id: Ie386b9aac1338316dfdb55dae6a6d9388062b4c3

8 years agoMerge "Move OTA package update before fstrim, hide "Optimizing apps" dialog" into...
David Brazdil [Wed, 30 Mar 2016 12:41:04 +0000 (12:41 +0000)]
Merge "Move OTA package update before fstrim, hide "Optimizing apps" dialog" into nyc-dev

8 years agoMove OTA package update before fstrim, hide "Optimizing apps" dialog
David Brazdil [Wed, 30 Mar 2016 10:45:52 +0000 (11:45 +0100)]
Move OTA package update before fstrim, hide "Optimizing apps" dialog

This patch moves the updating of packages before performing fstrim,
which runs asynchronously anyway, and stops showing the UI dialog.

Bug: 27350503
Change-Id: I6fceda10d7696f9badb97978fb9dc7927d698a4b

8 years agoMerge "Fix profile deletion in package manager" into nyc-dev
Calin Juravle [Wed, 30 Mar 2016 12:31:39 +0000 (12:31 +0000)]
Merge "Fix profile deletion in package manager" into nyc-dev

8 years agoMerge "AfW custom lock screen message - API polish" into nyc-dev
Andrei Stingaceanu [Wed, 30 Mar 2016 12:23:54 +0000 (12:23 +0000)]
Merge "AfW custom lock screen message - API polish" into nyc-dev

8 years agoMerge "ExifInterface: keep tags in the original tag groups" into nyc-dev
Jaesung Chung [Wed, 30 Mar 2016 10:59:22 +0000 (10:59 +0000)]
Merge "ExifInterface: keep tags in the original tag groups" into nyc-dev

8 years agoAdd DevicePolicyManager API to install a client cert chain.
Rubin Xu [Wed, 23 Mar 2016 12:13:22 +0000 (12:13 +0000)]
Add DevicePolicyManager API to install a client cert chain.

When installing a keypair the caller will have the option to specify a
certificate chain which will later be returned to whoever requests access
to the keypair via KeyChain.

Bug: 18239590
Change-Id: Id21ef026e31537db38d891cb9b712dd4fe7159c7

8 years agoMerge "Re-dispatch nested scrolls if not implemented" into nyc-dev
Chris Banes [Wed, 30 Mar 2016 08:43:38 +0000 (08:43 +0000)]
Merge "Re-dispatch nested scrolls if not implemented" into nyc-dev

8 years agoUpdate hard keyboard setup notification.
Yohei Yukawa [Wed, 30 Mar 2016 08:06:37 +0000 (01:06 -0700)]
Update hard keyboard setup notification.

Starting from Android N, Settings.ACTION_HARD_KEYBOARD_SETTINGS is
available for navigating users to hardware keyboard settings.  We should
use this for keyboard layout notification.

This CL also updates the notification title and message based on
feedback from UX writing team.

Bug: 27795350
Change-Id: Ic93075f933d47486644092c469d7a3517eb2e541

8 years agoMerge "ExifInterface: Clean up test code and increase test coverage" into nyc-dev
Insun Kang [Wed, 30 Mar 2016 08:11:58 +0000 (08:11 +0000)]
Merge "ExifInterface: Clean up test code and increase test coverage" into nyc-dev

8 years agoMerge "Partially refactor Tethering to new network callback APIs" into nyc-dev
Erik Kline [Wed, 30 Mar 2016 08:00:04 +0000 (08:00 +0000)]
Merge "Partially refactor Tethering to new network callback APIs" into nyc-dev

8 years agoAlways use Write Request for GATT descriptor writes
Andre Eisenbach [Wed, 30 Mar 2016 03:52:38 +0000 (20:52 -0700)]
Always use Write Request for GATT descriptor writes

According to the Bluetooth Core specification v4.2, Vol 3, Part G,
section 4.12.3: "The Attribute Protocol WRITE REQUEST is used used
for this sub-procedure".

Change-Id: I86e4e1d3a8bfd7d78dfed8419f8abd2d7e89b2bc

8 years agoSeveral code quality improvements
Peng Xu [Wed, 16 Mar 2016 23:56:39 +0000 (16:56 -0700)]
Several code quality improvements

* Added GuardedBy annotation.
* Fix a misleading variable name.
* Use anonymous namespace to reduce namespace pollution.

Change-Id: Ieffbb8dfd6abbb24b705445659fb96f7ce861592

8 years agoMerge "Render thumbnails in DocumentsUI jank tests." into nyc-dev
Tomasz Mikolajewski [Wed, 30 Mar 2016 06:01:12 +0000 (06:01 +0000)]
Merge "Render thumbnails in DocumentsUI jank tests." into nyc-dev

8 years agoMerge "IME switcher should not always require IME_VISIBLE." into nyc-dev
Yohei Yukawa [Wed, 30 Mar 2016 05:47:39 +0000 (05:47 +0000)]
Merge "IME switcher should not always require IME_VISIBLE." into nyc-dev

8 years agoMerge "Temporary changes to fix crashes during tests." into nyc-dev
Sudheer Shanka [Wed, 30 Mar 2016 05:09:19 +0000 (05:09 +0000)]
Merge "Temporary changes to fix crashes during tests." into nyc-dev

8 years agoRender thumbnails in DocumentsUI jank tests.
Tomasz Mikolajewski [Tue, 29 Mar 2016 08:46:53 +0000 (17:46 +0900)]
Render thumbnails in DocumentsUI jank tests.

Bug: 27383277
Change-Id: I0b5f267d7dc6c6c426b68f261c470f4ae46367a4

8 years agoExifInterface: keep tags in the original tag groups
Jaesung Chung [Tue, 29 Mar 2016 08:44:20 +0000 (17:44 +0900)]
ExifInterface: keep tags in the original tag groups

Previously ExifInterface saved its tags in the all possible IFD tags via
setAttribute() method even it already knew the right IFD group for those
tags. In this CL, it introduces updateAttribute() and removeAttribute()
methods in order to maintain the internal IFD tags and its values
according to its original EXIF saving states in the given JPEG file.

Bug: 27583378
Change-Id: Ie49163c8c9bdd38b575ccd76938879ccddcd547b

8 years agoTemporary changes to fix crashes during tests.
Sudheer Shanka [Wed, 30 Mar 2016 04:12:08 +0000 (21:12 -0700)]
Temporary changes to fix crashes during tests.

Bug: 27852443
Change-Id: Ie61e628213281fc921e8de403d27ae1f941352e9

8 years agoPartially refactor Tethering to new network callback APIs
Erik Kline [Thu, 10 Dec 2015 11:42:12 +0000 (20:42 +0900)]
Partially refactor Tethering to new network callback APIs

Bug: 9580643
Bug: 22332501
Bug: 27419608
Change-Id: I714e70729dc0825159be0db76ac252d8bffb6866

8 years agoFix log spam in getCharacteristicById()
Andre Eisenbach [Wed, 30 Mar 2016 01:55:57 +0000 (18:55 -0700)]
Fix log spam in getCharacteristicById()

Bug: 27744135
Change-Id: I43f6358484729dedd85eb52432ad9805a66ff81e

8 years agoExifInterface: Clean up test code and increase test coverage
Insun Kang [Tue, 29 Mar 2016 02:46:11 +0000 (11:46 +0900)]
ExifInterface: Clean up test code and increase test coverage

Bug: 27888859
Change-Id: I8a2d4f3cdafd932aa0c4272c80e4967097c62491

8 years agoIf the AccessibilityService requesting the soft keyboard to be hidden is
Anna Galusza [Wed, 30 Mar 2016 00:22:17 +0000 (17:22 -0700)]
If the AccessibilityService requesting the soft keyboard to be hidden is
stopped, make sure the keyboard is hidden.
Bug: 27886621

Change-Id: I63ecc0c9506a60cd07660208d37cd6a0bfd5752d

8 years agoMerge "When wifi ssid is empty, return WifiSsid.NONE" into nyc-dev
Ningyuan Wang [Wed, 30 Mar 2016 01:25:47 +0000 (01:25 +0000)]
Merge "When wifi ssid is empty, return WifiSsid.NONE" into nyc-dev

8 years agoMerge "Move connectivity events to frameworks/base." into nyc-dev
Pierre Imai [Wed, 30 Mar 2016 01:16:58 +0000 (01:16 +0000)]
Merge "Move connectivity events to frameworks/base." into nyc-dev

8 years agoMerge changes Ie59ed72c,Ie763a2a6,I7f830e5c,Ife637438 into nyc-dev
Winson Chung [Wed, 30 Mar 2016 01:15:19 +0000 (01:15 +0000)]
Merge changes Ie59ed72c,Ie763a2a6,I7f830e5c,Ife637438 into nyc-dev

* changes:
  Should not update initial state at all on resize.
  Adding logging to track down bitmap issues.
  Moving the background to the window.
  Adding clear-all button.

8 years agoMerge "Offload killProcessGroup to a worker thread" into nyc-dev
Chris Tate [Wed, 30 Mar 2016 01:07:33 +0000 (01:07 +0000)]
Merge "Offload killProcessGroup to a worker thread" into nyc-dev

8 years agoAdded activity cmd to display current process state of an app.
Felipe Leme [Fri, 25 Mar 2016 23:15:02 +0000 (16:15 -0700)]
Added activity cmd to display current process state of an app.

BUG: 26776313
BUG: 27324964

Change-Id: I901cfdcc6fcd14548266e8ca3e2201508d7b14cb

8 years agoShould not update initial state at all on resize.
Winson [Tue, 29 Mar 2016 17:45:45 +0000 (10:45 -0700)]
Should not update initial state at all on resize.

This fixes an issue with the stack scrolling upon resizing.  We only
need to update the initial state if docking, or upon rotation.

Change-Id: Ie59ed72cb22c9b000289db3f04b1a71ad5f64816

8 years agoAdding logging to track down bitmap issues.
Winson [Tue, 29 Mar 2016 17:23:19 +0000 (10:23 -0700)]
Adding logging to track down bitmap issues.

Bug: 27849282
Change-Id: Ie763a2a6cc968896e1ec0c4d89859cb49bd89e85

8 years agoMoving the background to the window.
Winson [Mon, 28 Mar 2016 23:20:35 +0000 (16:20 -0700)]
Moving the background to the window.

- Make sure to remove the background from the DecorView while
resizing, so we don't draw it twice.

Bug: 27869246
Change-Id: I7f830e5c825749fdf2b5bbda7af92239702b70ad

8 years agoAdding clear-all button.
Winson [Tue, 22 Mar 2016 22:37:54 +0000 (15:37 -0700)]
Adding clear-all button.

Change-Id: Ife637438b191c4a5004f3c6551bc75691e8e426b

8 years agoMerge "[RenderScript] Update documentation for Allocation.setAutoPadding()." into...
Miao Wang [Wed, 30 Mar 2016 00:51:53 +0000 (00:51 +0000)]
Merge "[RenderScript] Update documentation for Allocation.setAutoPadding()." into nyc-dev

8 years agoMerge "Stop non-touchable regions affecting magnification" into nyc-dev
Phil Weaver [Wed, 30 Mar 2016 00:49:33 +0000 (00:49 +0000)]
Merge "Stop non-touchable regions affecting magnification" into nyc-dev

8 years agoMerge "Fix shift precedence in FontListParser." into nyc-dev
Roozbeh Pournader [Wed, 30 Mar 2016 00:48:02 +0000 (00:48 +0000)]
Merge "Fix shift precedence in FontListParser." into nyc-dev

8 years ago[RenderScript] Update documentation for Allocation.setAutoPadding().
Miao Wang [Tue, 29 Mar 2016 22:56:55 +0000 (15:56 -0700)]
[RenderScript] Update documentation for Allocation.setAutoPadding().

Bug: 26862970
Change-Id: Iaa88ac0266e5d2cac2837f1d13353aacc6177274

8 years agoMerge "Work on issue #26879170: Adjust doze maintenance windows..." into nyc-dev
Dianne Hackborn [Wed, 30 Mar 2016 00:41:38 +0000 (00:41 +0000)]
Merge "Work on issue #26879170: Adjust doze maintenance windows..." into nyc-dev

8 years agoMerge "Use AppFuse to write document." into nyc-dev
Daichi Hirono [Wed, 30 Mar 2016 00:20:38 +0000 (00:20 +0000)]
Merge "Use AppFuse to write document." into nyc-dev

8 years agoMerge "Revert "TextView setText/append methods set movement method"" into nyc-dev
Siyamed Sinir [Tue, 29 Mar 2016 23:59:13 +0000 (23:59 +0000)]
Merge "Revert "TextView setText/append methods set movement method"" into nyc-dev

8 years agoMerge "[RenderScript] Fix IntrinsicConvolve documentation." into nyc-dev
Miao Wang [Tue, 29 Mar 2016 23:55:42 +0000 (23:55 +0000)]
Merge "[RenderScript] Fix IntrinsicConvolve documentation." into nyc-dev

8 years agoMerge "[RenderScript] Update the documentation of Script.LaunchOptions" into nyc-dev
Miao Wang [Tue, 29 Mar 2016 23:55:25 +0000 (23:55 +0000)]
Merge "[RenderScript] Update the documentation of Script.LaunchOptions" into nyc-dev

8 years agoMerge "Ensure we change SurfaceView size from UI thread." into nyc-dev
Rob Carr [Tue, 29 Mar 2016 23:50:45 +0000 (23:50 +0000)]
Merge "Ensure we change SurfaceView size from UI thread." into nyc-dev

8 years agoSupport buildLayer in new pipeline
Chris Craik [Tue, 29 Mar 2016 22:01:41 +0000 (15:01 -0700)]
Support buildLayer in new pipeline

bug:26561995
bug:27620686

Change-Id: I6c39f9a077e7e6002d3c01b8888238fd17b0f02a

8 years agoShortcutManager: Support secondary text field.
Makoto Onuki [Tue, 29 Mar 2016 22:45:25 +0000 (15:45 -0700)]
ShortcutManager: Support secondary text field.

Bug 27548047

Change-Id: I2d184bab2c26e351b7326945fa0cacf826f16d1e

8 years agoOffload killProcessGroup to a worker thread
Christopher Tate [Tue, 29 Mar 2016 22:55:45 +0000 (15:55 -0700)]
Offload killProcessGroup to a worker thread

It can take ~hundreds of ms to complete, so we want to avoid
blocking callers or monopolizing locks while waiting for it.

Bug 27821754

Change-Id: I522cadae7cfda9cce7c3d1a230cfd91cf4f9e730

8 years agoWhen wifi ssid is empty, return WifiSsid.NONE
zhangshuxiao [Wed, 13 Jan 2016 02:35:01 +0000 (10:35 +0800)]
When wifi ssid is empty, return WifiSsid.NONE

Issue 199610

When WifistateMachine enter Roaming State, WifiInfo
getSSID will return 0x, statusbar show "0x", because
roaming State do not update WifiInfo mWifiSsid.

Cherry pick from I241f8e9c11dc16db26cadde133043745f2f19573

BUG=27403109
TEST=compile and unittests
Signed-off-by: zhangshuxiao <zhangshuxiao@xiaomi.com>
Change-Id: Ieb7429511898a5ed3d44fd15fc1f250c122e802a

8 years agoStop non-touchable regions affecting magnification
Phil Weaver [Tue, 15 Mar 2016 22:33:46 +0000 (15:33 -0700)]
Stop non-touchable regions affecting magnification

A window's magnifiability only applies to its touchable regions, so a
non-touchable shadow over an IME won't affect the IME's magnifiability.

Bug: 27179277
Change-Id: I86076e001035678c73973d7a98e0dcac6143553e

8 years agoFix shift precedence in FontListParser.
Ben Wagner [Thu, 17 Mar 2016 15:53:14 +0000 (11:53 -0400)]
Fix shift precedence in FontListParser.

BUG=27707457

Change-Id: I7ea7a5fa67ec540401454136427b37562a4eef30

8 years agoMerge "AccessibilityNodeInfo shouldn't touch extras." into nyc-dev
Jeff Sharkey [Tue, 29 Mar 2016 22:47:16 +0000 (22:47 +0000)]
Merge "AccessibilityNodeInfo shouldn't touch extras." into nyc-dev

8 years agoMerge "ShortcutManager: proper work profile support" into nyc-dev
Makoto Onuki [Tue, 29 Mar 2016 22:45:01 +0000 (22:45 +0000)]
Merge "ShortcutManager: proper work profile support" into nyc-dev

8 years agoStop SoundPool decode if NdkMediaCodec returns null buffers
Andy Hung [Tue, 29 Mar 2016 22:13:08 +0000 (15:13 -0700)]
Stop SoundPool decode if NdkMediaCodec returns null buffers

Also increase error checking.

Bug: 27346228
Change-Id: Ib94505f852344298f88a3fdcbd65ca8031084188

8 years agoAccessibilityNodeInfo shouldn't touch extras.
Jeff Sharkey [Tue, 29 Mar 2016 22:37:14 +0000 (16:37 -0600)]
AccessibilityNodeInfo shouldn't touch extras.

The extras may contain custom Parcelables which aren't in the
system's default classpath, so touching them would end up clobbering
the contents.

Update code to leave the parcelled data untouched inside the bundle
until someone tries reading the extras.

Bug: 27897919
Change-Id: I99381dd50c9a0e8887667076362ea98805f0437c

8 years agoWork on issue #26879170: Adjust doze maintenance windows...
Dianne Hackborn [Tue, 29 Mar 2016 22:36:24 +0000 (15:36 -0700)]
Work on issue #26879170: Adjust doze maintenance windows...

...based on network availability

But first, make the light idle timing more dynamic, with this
pattern:

1. Screen off for 5 minutes.
2. Light idle for 5 minutes.
3. Idle maintenance.
4. Light idle for 10 minutes.
5. Idle maintenance.
6. Light idle for 15 minutes.
7. Idle maintenance.
...

Also fix issue #27793980: Log message about unrecognized alarm listener

Change-Id: I42012f8085afbd5becaecdadf93a777370ca34be