OSDN Git Service

android-x86/frameworks-base.git
8 years agoBenchmarks for Linkify
Siyamed Sinir [Wed, 30 Mar 2016 23:01:37 +0000 (16:01 -0700)]
Benchmarks for Linkify

Add benchmarks for Linkify and URL regular expressions.

Bug: 27921706
Change-Id: I61dcd090bdf877f2df77e898c8a0f441de1dc45a

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 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 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 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 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

8 years ago[RenderScript] Fix IntrinsicConvolve documentation.
Miao Wang [Tue, 29 Mar 2016 22:29:10 +0000 (15:29 -0700)]
[RenderScript] Fix IntrinsicConvolve documentation.

Bug: 25117120

  - Better format.
  - Typo fixes.

Change-Id: Ic6f8d1dacecdaf9993dd8298de7a801f5fd2a937

8 years agoMerge "Add test for AVD on SW Layer" into nyc-dev
Tenghui Zhu [Tue, 29 Mar 2016 22:25:17 +0000 (22:25 +0000)]
Merge "Add test for AVD on SW Layer" into nyc-dev

8 years ago[RenderScript] Update the documentation of Script.LaunchOptions
Miao Wang [Tue, 29 Mar 2016 22:14:21 +0000 (15:14 -0700)]
[RenderScript] Update the documentation of Script.LaunchOptions

Bug: 26916665

  - Add description of the endArg.
  - Update the example.
  - Update the incorrect description.

Change-Id: Idd07db5d790e2d6462fff9cb580115ec45cfd4f0

8 years agoMerge "Add contentInsetStartWithNavigation/EndWithActions" into nyc-dev
Adam Powell [Tue, 29 Mar 2016 22:12:32 +0000 (22:12 +0000)]
Merge "Add contentInsetStartWithNavigation/EndWithActions" into nyc-dev

8 years agoMerge "Delay vold connectors until published, fix NPE." into nyc-dev
Jeff Sharkey [Tue, 29 Mar 2016 22:04:54 +0000 (22:04 +0000)]
Merge "Delay vold connectors until published, fix NPE." into nyc-dev

8 years agoDelay vold connectors until published, fix NPE.
Jeff Sharkey [Tue, 29 Mar 2016 20:12:49 +0000 (14:12 -0600)]
Delay vold connectors until published, fix NPE.

If they connect too quickly, PackageManager could end up trying to
obtain the yet-unpublished MountService.

Fix NPE in UserManagerService when trying to persist fingerprints,
and fix write ordering to always write [id].xml before userlist.xml
to avoid battery pull issues.  Simlarly, delete [id].xml only after
updating userlist.xml.

Bug: 27869443
Change-Id: I43d8552e5e37b9ca4137cca3e3e76684c7dee605

8 years agoFix typo in Conversion Functions doc
Brian Carlstrom [Tue, 29 Mar 2016 21:49:09 +0000 (14:49 -0700)]
Fix typo in Conversion Functions doc

Bug: 27529815
Change-Id: I470348a232d9955d23463ec32c2de60abb44bc3f

8 years agoMerge "Removing unused intent extra" into nyc-dev
Suprabh Shukla [Tue, 29 Mar 2016 21:48:36 +0000 (21:48 +0000)]
Merge "Removing unused intent extra" into nyc-dev

8 years agoRemotePrintDocument might get destroyed in constructor
Philip P. Moltmann [Tue, 29 Mar 2016 21:47:01 +0000 (14:47 -0700)]
RemotePrintDocument might get destroyed in constructor

... if it cannot connect to remote PrintDocumentAdapter. Then the state
will be set to destroyed and the print activity will be aborted via the
onDied callback.

Bug: 27899066
Change-Id: Ieb287b92ac21fc71a56b491a1035feaff6cd2837

8 years agoMerge "Allowing AppWidgetService to start without FEATURE_APP_WIDGETS" into nyc-dev
Dmitri Plotnikov [Tue, 29 Mar 2016 21:46:27 +0000 (21:46 +0000)]
Merge "Allowing AppWidgetService to start without FEATURE_APP_WIDGETS" into nyc-dev

8 years agoRevert "TextView setText/append methods set movement method"
Siyamed Sinir [Tue, 29 Mar 2016 21:30:01 +0000 (21:30 +0000)]
Revert "TextView setText/append methods set movement method"

This reverts commit 4ba0aa598ea86b7cffab8cd6ccd007e4e29cf883.

Change-Id: I7d6eb2584a1348014ce9c3fc3e53b4cf96e30db1

8 years agoShortcutManager: proper work profile support
Makoto Onuki [Tue, 29 Mar 2016 18:14:42 +0000 (11:14 -0700)]
ShortcutManager: proper work profile support

Bug 27548047

Change-Id: I8acea3355f8974a551f53814624dec30732f7b2f

8 years agoMerge "Overdraw avoidance in new pipeline" into nyc-dev
Chris Craik [Tue, 29 Mar 2016 21:41:50 +0000 (21:41 +0000)]
Merge "Overdraw avoidance in new pipeline" into nyc-dev

8 years agoMerge "Call the onDismiss listener in submenus." into nyc-dev
Oren Blasberg [Tue, 29 Mar 2016 21:34:45 +0000 (21:34 +0000)]
Merge "Call the onDismiss listener in submenus." into nyc-dev

8 years agoAdd contentInsetStartWithNavigation/EndWithActions
Adam Powell [Mon, 28 Mar 2016 16:38:41 +0000 (09:38 -0700)]
Add contentInsetStartWithNavigation/EndWithActions

Allow developers to set different content insets on toolbars and
action bars to be used when navigation buttons or menu actions are
present. Set the default values for these according to the material
spec.

Bug 19317855

Change-Id: I13e04e1f19f0982bf551a3027eb70904d6b4674c

8 years agoMerge "Animate IME adjustment for docked stack through the divider" into nyc-dev
Chong Zhang [Tue, 29 Mar 2016 21:07:54 +0000 (21:07 +0000)]
Merge "Animate IME adjustment for docked stack through the divider" into nyc-dev

8 years agoMerge "Make context menu titles a nicer color." into nyc-dev
Oren Blasberg [Tue, 29 Mar 2016 20:56:02 +0000 (20:56 +0000)]
Merge "Make context menu titles a nicer color." into nyc-dev

8 years agoEnsure we change SurfaceView size from UI thread.
Robert Carr [Tue, 29 Mar 2016 20:15:41 +0000 (13:15 -0700)]
Ensure we change SurfaceView size from UI thread.

We need to change the SurfaceView size from the UI thread
so that we can appropriately deliver the SurfaceChanged
callback. We also need to not preserve geometry
in this case, as if we don't update the surface
and layout size together we could get scaling. This still has
some potential for holes, as transactions are not synced with
the parent renderer, but we have other methods to avoid
these in the case of resizing. This fixes the remaining
issues with content sizing and surface view "out of sync".

Bug: 27780983
Bug: 27687126
Bug: 27676101

Change-Id: Idd7864f00e5cf7a4eb32dd66c0b389292a788069

8 years agoMerge "Always use existing PopupWindow dimension if not otherwise specified" into...
Alan Viverette [Tue, 29 Mar 2016 20:35:58 +0000 (20:35 +0000)]
Merge "Always use existing PopupWindow dimension if not otherwise specified" into nyc-dev

8 years agoMerge "Moving app process logging from AMS to PMS" into nyc-dev
Michal Karpinski [Tue, 29 Mar 2016 20:35:45 +0000 (20:35 +0000)]
Merge "Moving app process logging from AMS to PMS" into nyc-dev

8 years agoCall the onDismiss listener in submenus.
Oren Blasberg [Mon, 28 Mar 2016 19:13:49 +0000 (12:13 -0700)]
Call the onDismiss listener in submenus.

For StandardMenuPopup, if user opens a submenu, the ondismiss listener is no
longer called. Instead, it is called when the submenu (which is now open in
the top level menu's place) is dismissed.

Bug: 27877103

Change-Id: I069388fd173142620c667fa8d1cb21e88d5266fe

8 years agoOverdraw avoidance in new pipeline
Chris Craik [Mon, 28 Mar 2016 19:54:07 +0000 (12:54 -0700)]
Overdraw avoidance in new pipeline

bug:27873093

Adds the simple overdraw avoidance optimization to the new
pipeline. This means when LayerBuilder defers draws that are opaque over
the full area of the repaint region, it will discard all drawing content
beneth.

Also moves a lot of complexity out of BakedOpState's header.

Change-Id: Iffca6d8e1b170ef31a5d6c83d25592670e02323d

8 years agoMerge "sysui: refactor for extensibility" into nyc-dev
Muyuan Li [Tue, 29 Mar 2016 20:29:49 +0000 (20:29 +0000)]
Merge "sysui: refactor for extensibility" into nyc-dev