OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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

8 years agoAdd test for AVD on SW Layer
Teng-Hui Zhu [Mon, 28 Mar 2016 21:37:54 +0000 (14:37 -0700)]
Add test for AVD on SW Layer

Now we can put both HW Layer and SW Layer side by side.

Change-Id: I105d0aa6baad0e096cf71c05568323e81301e9b0

8 years agoAnimate IME adjustment for docked stack through the divider
Chong Zhang [Thu, 24 Mar 2016 17:21:26 +0000 (10:21 -0700)]
Animate IME adjustment for docked stack through the divider

This makes sure the top stack crop, divider position and bottom stack
surface position moves together with the IME window. Currently the
bottom stack and divider are moving together but top stack crop is
changed immediately.

bug: 27779495
Change-Id: I653ad9093621b218d9c11b0bb2efdddb1d33763e

8 years agosysui: refactor for extension
Muyuan Li [Thu, 24 Mar 2016 03:08:26 +0000 (20:08 -0700)]
sysui: refactor for extension

Refactored ZenModePanel:
1. Button creation is split from onFinishInflate.
2. Added a method to query current Zen condition
3. Made mZenButtonsCallback protected.

Change-Id: I959fa2f7770ba1888af01eababe7c4512981332d
(cherry picked from commit 79df200108c5240c0d2a041d7d841f8d9d143ec0)

8 years agosysui: refactor for extensibility
Muyuan Li [Wed, 23 Mar 2016 19:09:38 +0000 (12:09 -0700)]
sysui: refactor for extensibility

Split button creation code from init in ZenModePanel

Bug: 27101250
Change-Id: Id4bbd505b4e311fdcd2d330f20b73d2338fa9686
(cherry picked from commit 80870e93a49c08f4f4e57d2c0902d2308faa3f7a)

8 years agoMerge "Add a font microbench" into nyc-dev
John Reck [Tue, 29 Mar 2016 20:07:55 +0000 (20:07 +0000)]
Merge "Add a font microbench" into nyc-dev

8 years agoMerge "Ensure window has been added in isTopOfTask" into nyc-dev
George Mount [Tue, 29 Mar 2016 20:02:25 +0000 (20:02 +0000)]
Merge "Ensure window has been added in isTopOfTask" into nyc-dev

8 years agoMerge "Run cleanup before end actions of ViewPropertyAnimator." into nyc-dev
George Mount [Tue, 29 Mar 2016 19:54:35 +0000 (19:54 +0000)]
Merge "Run cleanup before end actions of ViewPropertyAnimator." into nyc-dev

8 years agoMerge "Calling setIsDrawerPresent(false) twice causes a crash." into nyc-dev
Udam Saini [Tue, 29 Mar 2016 19:42:42 +0000 (19:42 +0000)]
Merge "Calling setIsDrawerPresent(false) twice causes a crash." into nyc-dev

8 years agoRevert "Start drawing immediately"
Jorim Jaggi [Mon, 28 Mar 2016 23:26:09 +0000 (19:26 -0400)]
Revert "Start drawing immediately"

This reverts commit 3127c2a471dbefda916701d9b3837ce109ea7d49.

The original CL caused various issues for which we don't have the
time/not willing to take the risk.

Bug: 27864389
Bug: 27451341

8 years agoMerge "Intersect task with stack bounds for dimming" into nyc-dev
Jorim Jaggi [Tue, 29 Mar 2016 19:28:42 +0000 (19:28 +0000)]
Merge "Intersect task with stack bounds for dimming" into nyc-dev

8 years agoMerge "Extract signature related utilities" into nyc-dev
Makoto Onuki [Tue, 29 Mar 2016 19:25:48 +0000 (19:25 +0000)]
Merge "Extract signature related utilities" into nyc-dev

8 years agoMerge "Add setHasOverlappingRendering() method" into nyc-dev
Chet Haase [Tue, 29 Mar 2016 19:19:12 +0000 (19:19 +0000)]
Merge "Add setHasOverlappingRendering() method" into nyc-dev

8 years agoMerge "Fix QS expand on tablets" into nyc-dev
Jason Monk [Tue, 29 Mar 2016 19:16:38 +0000 (19:16 +0000)]
Merge "Fix QS expand on tablets" into nyc-dev

8 years agoMerge "Add missing null checks on Conference and Connection." into nyc-dev
Tyler Gunn [Tue, 29 Mar 2016 19:02:07 +0000 (19:02 +0000)]
Merge "Add missing null checks on Conference and Connection." into nyc-dev

8 years agoAlways use existing PopupWindow dimension if not otherwise specified
Alan Viverette [Tue, 29 Mar 2016 18:55:04 +0000 (14:55 -0400)]
Always use existing PopupWindow dimension if not otherwise specified

Removes mPopupWidth/Height, which have been moved entirely into the
width and height of the LayoutParams.

Bug: 27878812
Change-Id: Id9fe99c7d57d5c15c7fe10ea95d97be562301a8e

8 years agoMerge "Add minimal width and height logging to AM dump." into nyc-dev
Andrii Kulian [Tue, 29 Mar 2016 18:28:08 +0000 (18:28 +0000)]
Merge "Add minimal width and height logging to AM dump." into nyc-dev

8 years agoMerge "Use default implementation for onForwardingStopped() in action menu" into...
Alan Viverette [Tue, 29 Mar 2016 18:25:30 +0000 (18:25 +0000)]
Merge "Use default implementation for onForwardingStopped() in action menu" into nyc-dev

8 years agoMerge "Continue to remove users when destroyUserKey fails." into nyc-dev
Paul Crowley [Tue, 29 Mar 2016 18:25:10 +0000 (18:25 +0000)]
Merge "Continue to remove users when destroyUserKey fails." into nyc-dev

8 years agoMerge "Clean up a couple of bugs about transport init staging" into nyc-dev
Chris Tate [Tue, 29 Mar 2016 18:18:11 +0000 (18:18 +0000)]
Merge "Clean up a couple of bugs about transport init staging" into nyc-dev

8 years agoMerge "Fix array out of bounds access in JankTracker" into nyc-dev
John Reck [Tue, 29 Mar 2016 18:08:49 +0000 (18:08 +0000)]
Merge "Fix array out of bounds access in JankTracker" into nyc-dev

8 years agoMoving app process logging from AMS to PMS
Michal Karpinski [Mon, 21 Mar 2016 13:39:42 +0000 (13:39 +0000)]
Moving app process logging from AMS to PMS

Bug: 26796347
Change-Id: I21894c2edb41929f6ecd3880667c53e00acef677

8 years agoMerge changes from topic 'wifi_tx_power_levels' into nyc-dev
Roshan Pius [Tue, 29 Mar 2016 18:03:35 +0000 (18:03 +0000)]
Merge changes from topic 'wifi_tx_power_levels' into nyc-dev

* changes:
  Add new wifi tx power levels in Wifi activity energy
  Add new wifi tx power levels in link layer stats

8 years agoAdd setHasOverlappingRendering() method
Chet Haase [Wed, 23 Mar 2016 15:23:14 +0000 (08:23 -0700)]
Add setHasOverlappingRendering() method

View.hasOverlappingRendering() is an important performance tweak that
subclasses can override to do the right thing return false when appropriate
to avoid expensive operations when view is translucent).
But this requires subclassing View to get this behavior.

This new API allows the property to be set from outside, enabling
standard views to have this behavior set. When the new method is called,
the behavior will derive from whatever it was set to. Otherwise, it
will default to the old/overriden behavior.

Issue #16561361  Make hasOverlappingRendering settable from outside/XML

Change-Id: If0fbc8667cdb82b1d85e795e782716a07196f3c0

8 years agoCalling setIsDrawerPresent(false) twice causes a crash.
Udam Saini [Tue, 29 Mar 2016 17:49:18 +0000 (10:49 -0700)]
Calling setIsDrawerPresent(false) twice causes a crash.

We should only call setDrawerLockMode(...) if mDrawerLayout isn't
null.

bug:26288300
Change-Id: I8a1b77e03414360f9cd7e3fa6e6c98ef0e139ebf

8 years agoEnsure window has been added in isTopOfTask
George Mount [Tue, 29 Mar 2016 17:32:56 +0000 (10:32 -0700)]
Ensure window has been added in isTopOfTask

Bug 27893230

When isTopOfTask is called prior to the window being added, it
will throw an IllegalArgumentException. This checks that the
window has been added before making the call.

Change-Id: Idd14c0f1051e16d96a0a1fa9f990f380a1f69911

8 years agoMerge "Action OPEN_DOCUMENT_TREE shows advanced roots ignoring config flag Fixed...
Aga Wronska [Tue, 29 Mar 2016 17:34:44 +0000 (17:34 +0000)]
Merge "Action OPEN_DOCUMENT_TREE shows advanced roots ignoring config flag Fixed: 27856396" into nyc-dev

8 years agoAction OPEN_DOCUMENT_TREE shows advanced roots ignoring config flag
Aga Wronska [Tue, 29 Mar 2016 00:27:02 +0000 (17:27 -0700)]
Action OPEN_DOCUMENT_TREE shows advanced roots ignoring config flag
Fixed: 27856396

Change-Id: I2dc135ac6aa66452edf8bd8439d5e54bcc387070

8 years agoAdd missing null checks on Conference and Connection.
Tyler Gunn [Tue, 29 Mar 2016 17:24:22 +0000 (10:24 -0700)]
Add missing null checks on Conference and Connection.

Also add missing bundle passing for Connection Events.

Bug: 27850430
Change-Id: I0f79635929cbe5da18b528b6c1119c7ce4d8e32b

8 years agoUse default implementation for onForwardingStopped() in action menu
Alan Viverette [Tue, 29 Mar 2016 17:13:17 +0000 (13:13 -0400)]
Use default implementation for onForwardingStopped() in action menu

Otherwise we never exit forwarding if the popup has already been
dismissed.

Bug: 27886370
Change-Id: I3a7a51c18c15e12e2e9ef4cac853b87eb46d36de

8 years agoExtract signature related utilities
Makoto Onuki [Sat, 26 Mar 2016 00:15:30 +0000 (17:15 -0700)]
Extract signature related utilities

So that they can be used from services/core.

Bug 27548047

Change-Id: I610e267cba320418e766c0e609fa26c485dc6e1f

8 years agoAdd a font microbench
John Reck [Mon, 28 Mar 2016 16:34:35 +0000 (09:34 -0700)]
Add a font microbench

Also remove a low-signal high-frequency trace mark

Fixes: 27894187

Change-Id: I090122a0db8e455eaa9dbce2b0f5b6778a218188

8 years agoFix QS expand on tablets
Jason Monk [Tue, 29 Mar 2016 16:34:28 +0000 (12:34 -0400)]
Fix QS expand on tablets

Fix the way NotificationPanelView checks the X bounds of QS intercepts
since the translation is now on the density container, it should be
the source of truth for x and width.

Bug: 27865453
Change-Id: Id698a63563ed99a509a68386f289e6f28302e1e2

8 years agoMerge "Add hasEverConnected to NetworkStatus object" into nyc-dev
Rebecca Silberstein [Tue, 29 Mar 2016 16:04:33 +0000 (16:04 +0000)]
Merge "Add hasEverConnected to NetworkStatus object" into nyc-dev

8 years agoMerge "ShortcutManager: Fix work profile" into nyc-dev
Makoto Onuki [Tue, 29 Mar 2016 15:35:49 +0000 (15:35 +0000)]
Merge "ShortcutManager: Fix work profile" into nyc-dev

8 years agoMerge "Various fixes for MagnificationController" into nyc-dev
Alan Viverette [Tue, 29 Mar 2016 15:13:02 +0000 (15:13 +0000)]
Merge "Various fixes for MagnificationController" into nyc-dev

8 years agoMerge changes from topics 'list_default_method', 'map_default_methods' into nyc-dev
Shubham Ajmera [Tue, 29 Mar 2016 14:58:59 +0000 (14:58 +0000)]
Merge changes from topics 'list_default_method', 'map_default_methods' into nyc-dev

* changes:
  Add OpenJDK 8 java.util.List Default Methods
  Port OpenJDK8 changes in java.util.Map

8 years agoMerge "Fix crash in CarNavigationBarController." into nyc-dev
Rakesh Iyer [Tue, 29 Mar 2016 14:56:30 +0000 (14:56 +0000)]
Merge "Fix crash in CarNavigationBarController." into nyc-dev

8 years agoMerge "Fix overlapping things in battery indicator" into nyc-dev
Jason Monk [Tue, 29 Mar 2016 14:53:12 +0000 (14:53 +0000)]
Merge "Fix overlapping things in battery indicator" into nyc-dev

8 years agoAdd OpenJDK 8 java.util.List Default Methods
Shubham Ajmera [Tue, 29 Mar 2016 14:50:38 +0000 (15:50 +0100)]
Add OpenJDK 8 java.util.List Default Methods

and corresponding tests.

Added replaceAll and sort methods from the upstream except for the
CopyOnWriteArrayList.

Added forEach method along with the above two methods in
CopyOnWriteArrayList.

Bug: 27693350
Bug: 27540008

(cherry-picked from commit 6206c9f2e70d7b63d8a306a46534c21e4f8fe6f7)

Change-Id: I9efbd66b65c06b50fc20f63d477c25a05a8fae02

8 years agoFix overlapping things in battery indicator
Jason Monk [Tue, 29 Mar 2016 14:48:33 +0000 (10:48 -0400)]
Fix overlapping things in battery indicator

Bug: 27335792
Change-Id: I5b39fdad6ba21cbc75b1a0da9f66ae748b8a7f1e

8 years agoRun cleanup before end actions of ViewPropertyAnimator.
George Mount [Tue, 29 Mar 2016 14:39:02 +0000 (07:39 -0700)]
Run cleanup before end actions of ViewPropertyAnimator.

Bug 27788719

The end action of a ViewPropertyAnimator may do anything,
including starting a new animator. If the next animator has
started prior to cleaning up the previous one, it will capture
the dirty state as the final state. This CL runs the cleanup
Runnables before running the end actions so that any captured
state is the clean state.

Change-Id: Ib005b817d420e79b636e61987669a852e15df9ce

8 years agoPort OpenJDK8 changes in java.util.Map
Shubham Ajmera [Tue, 29 Mar 2016 14:25:21 +0000 (15:25 +0100)]
Port OpenJDK8 changes in java.util.Map

& add tests.

The CL add tests for map default methods added in Java 8 - getOrDefault,
putIfAbsent, remove(K, V), replace(K, V, V), replace(K, V), forEach,
replaceAll, compute, computeIfAbsent, computeIfPresent, putIfAbsent,
merge.

Methods have been made synchronzed in Hashtable. They are using the
default map methods instead of taking the upstream changes.

Replace(K, V, V) in LinkedHashMap has been  overridden as it doesn't
record access when the replace method doesn't make any replacement.

Bug: 27426743

(cherry-picked from commit 6206c9f2e70d7b63d8a306a46534c21e4f8fe6f7)

Change-Id: Ie27ea5bd42ddbfa751b89f9eacfb290a3d69f4bb

8 years agoMerge "Remove the system api method WebViewFactory.getWebViewPackageName" into nyc-dev
Gustav Sennton [Tue, 29 Mar 2016 13:47:35 +0000 (13:47 +0000)]
Merge "Remove the system api method WebViewFactory.getWebViewPackageName" into nyc-dev

8 years agoMerge "Fix SecurityException in getStorageEncryptionStatus" into nyc-dev
Rubin Xu [Tue, 29 Mar 2016 13:36:48 +0000 (13:36 +0000)]
Merge "Fix SecurityException in getStorageEncryptionStatus" into nyc-dev

8 years agoFix SecurityException in getStorageEncryptionStatus
Rubin Xu [Tue, 29 Mar 2016 11:19:16 +0000 (12:19 +0100)]
Fix SecurityException in getStorageEncryptionStatus

Bug: 27892709
Change-Id: Ic6a3ccb8d266cfb04708413b767fe4f284219e57

8 years agoMerge "Update cross-profile intent resolver." into nyc-dev
Nicolas Prévot [Tue, 29 Mar 2016 13:25:47 +0000 (13:25 +0000)]
Merge "Update cross-profile intent resolver." into nyc-dev

8 years agoRemove the system api method WebViewFactory.getWebViewPackageName
Gustav Sennton [Thu, 17 Mar 2016 19:02:02 +0000 (19:02 +0000)]
Remove the system api method WebViewFactory.getWebViewPackageName

We no longer user this method and it doesn't return any useful
information.

Bug: 27719581

Change-Id: Id282f1501cde9a7d7cc1fe66016cfb54956686c5

8 years agoMerge "Disable testTextAppearanceInSuggestionsPopup" into nyc-dev
Keisuke Kuroyanagi [Tue, 29 Mar 2016 11:36:45 +0000 (11:36 +0000)]
Merge "Disable testTextAppearanceInSuggestionsPopup" into nyc-dev

8 years agoKeyboard shortcuts: RTL for KeyboardShortcutKeysLayout
Andrei Stingaceanu [Mon, 21 Mar 2016 11:51:58 +0000 (11:51 +0000)]
Keyboard shortcuts: RTL for KeyboardShortcutKeysLayout

Introduced RTL support for the KeyboardShortcutKeysLayout and
with another minor change to the dialog layout achived full
RTL support for the keyboard shortcuts UI.

Bug: 22776761
Bug: 27674152
Change-Id: I14e38dc4533208f6fd982a53a1d0305e003d926b

8 years agoDisable testTextAppearanceInSuggestionsPopup
Keisuke Kuroyanagi [Tue, 29 Mar 2016 10:34:33 +0000 (19:34 +0900)]
Disable testTextAppearanceInSuggestionsPopup

Re-enable TextViewActivityMouseTest#testContextMenu that was disabled
by I459f1ab1c6d2d3119fc50166.

Bug: 27765262
Change-Id: I986ec239324d2d65a14be3fb2981777583471c68

8 years agoMerge "Add a toString method to ApfCapabilities." into nyc-dev
Lorenzo Colitti [Tue, 29 Mar 2016 08:10:12 +0000 (08:10 +0000)]
Merge "Add a toString method to ApfCapabilities." into nyc-dev

8 years agoPIP: Fix NPE
Jaewan Kim [Tue, 29 Mar 2016 08:01:23 +0000 (17:01 +0900)]
PIP: Fix NPE

Change-Id: I80f000fcb7fbac94e633796c07130c9a62001af7

8 years agoAdd minimal width and height logging to AM dump.
Andrii Kulian [Tue, 29 Mar 2016 02:08:58 +0000 (19:08 -0700)]
Add minimal width and height logging to AM dump.

Currently this is used in CTS to validate task and stack bounds.

Bug: 27785974
Change-Id: I2dcf6d51dba5d1bf15037d333ff41dea8f5db1d3

8 years agoShortcutManager: Fix work profile
Makoto Onuki [Mon, 28 Mar 2016 18:02:54 +0000 (11:02 -0700)]
ShortcutManager: Fix work profile

- Pinned shortcuts need to know not only which package
has pinned them, but also on which user's, due to work profile.

- Launcher can always launch shortcuts that it has pinned.

Bug 27548047

Change-Id: I23b4e7dfbb6ecc42099d31008bcfd61d44e2c7fb

8 years agoMerge "Rename IpManager#dumpApf to #dump and change its signature." into nyc-dev
Lorenzo Colitti [Tue, 29 Mar 2016 01:44:17 +0000 (01:44 +0000)]
Merge "Rename IpManager#dumpApf to #dump and change its signature." into nyc-dev

8 years agoMerge "Fixing regression in recents entrance animation when docking app" into nyc-dev
Winson Chung [Tue, 29 Mar 2016 00:59:48 +0000 (00:59 +0000)]
Merge "Fixing regression in recents entrance animation when docking app" into nyc-dev

8 years agoClean up a couple of bugs about transport init staging
Christopher Tate [Tue, 22 Mar 2016 22:27:54 +0000 (15:27 -0700)]
Clean up a couple of bugs about transport init staging

Using the right names for things typically works better.

Bug 27794697

Change-Id: Ic8c3c2c978536545bd669c1c12aad9ee6783f38a

8 years agoMerge "Add basic jank tests for DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Tue, 29 Mar 2016 00:45:31 +0000 (00:45 +0000)]
Merge "Add basic jank tests for DocumentsUI." into nyc-dev

8 years agoMake context menu titles a nicer color.
Oren Blasberg [Tue, 29 Mar 2016 00:10:32 +0000 (17:10 -0700)]
Make context menu titles a nicer color.

Use the accent color (i.e. teal) instead of gray. This results in
greater contrast between the menu title and the items in the menu
which looks much better.

Bug: 27293568
Change-Id: I8a3b75ca8dc08961fdde2611cd8a5899088109e1

8 years agoMerge "Load hyphenator for 22 new languages" into nyc-dev
Jungshik Shin [Tue, 29 Mar 2016 00:06:35 +0000 (00:06 +0000)]
Merge "Load hyphenator for 22 new languages" into nyc-dev

8 years agoRemoving unused intent extra
Suprabh Shukla [Mon, 28 Mar 2016 23:44:04 +0000 (16:44 -0700)]
Removing unused intent extra

Change-Id: If3904d0b3878390e6a49776aa8fcbd4d8592016d

8 years agoMerge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray" into...
Pirama Arumuga Nainar [Mon, 28 Mar 2016 23:28:14 +0000 (23:28 +0000)]
Merge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray" into nyc-dev

8 years agoMerge "Update get/setFontFeatureSettings JavaDoc" into nyc-dev
Siyamed Sinir [Mon, 28 Mar 2016 23:16:19 +0000 (23:16 +0000)]
Merge "Update get/setFontFeatureSettings JavaDoc" into nyc-dev

8 years agoUpdate get/setFontFeatureSettings JavaDoc
Siyamed Sinir [Sat, 26 Mar 2016 01:25:39 +0000 (18:25 -0700)]
Update get/setFontFeatureSettings JavaDoc

Add CSS font-feature-settings URL to get/setFontFeatureSettings method
JavaDoc in both TextView and Paint.

Bug: 27857640
Change-Id: I8c20068801032407d493e4f4a15b89dcf35949d2

8 years agoFix crash in CarNavigationBarController.
Rakesh Iyer [Mon, 28 Mar 2016 23:02:45 +0000 (16:02 -0700)]
Fix crash in CarNavigationBarController.

Typo resulted in the wrong key being used to query a map,
causing a NPE.

Bug: 27880811
Change-Id: I357f4869f4e212466d4eef16d5090e1c90a55b4c

8 years agoLoad hyphenator for 22 new languages
Jungshik Shin [Mon, 28 Mar 2016 22:40:21 +0000 (15:40 -0700)]
Load hyphenator for 22 new languages

In addition, all English locales other than those explicitly mapped
to en-US are mapped to en-GB.

BUG: 26405413
Change-Id: Ie5b77af164c95a6ed5639da5752ddf21f92181bc

8 years agoMerge "Move ThermalObserver to frameworks/opt/wear" into nyc-dev
Wei Liu [Mon, 28 Mar 2016 22:45:22 +0000 (22:45 +0000)]
Merge "Move ThermalObserver to frameworks/opt/wear" into nyc-dev

8 years agoMerge "AudioTrack: document some throws" into nyc-dev
Phil Burk [Mon, 28 Mar 2016 22:31:24 +0000 (22:31 +0000)]
Merge "AudioTrack: document some throws" into nyc-dev

8 years agoMerge "Fix nav bar consuming" into nyc-dev
Jorim Jaggi [Mon, 28 Mar 2016 22:16:42 +0000 (22:16 +0000)]
Merge "Fix nav bar consuming" into nyc-dev

8 years agoMerge "Cleanup window callbacks locking" into nyc-dev
Jorim Jaggi [Mon, 28 Mar 2016 22:16:17 +0000 (22:16 +0000)]
Merge "Cleanup window callbacks locking" into nyc-dev

8 years agoMerge "Don't back up / restore "we're in night mode"" into nyc-dev
Chris Tate [Mon, 28 Mar 2016 22:14:42 +0000 (22:14 +0000)]
Merge "Don't back up / restore "we're in night mode"" into nyc-dev

8 years agoMerge "Update printers even if there are no printers found." into nyc-dev
Philip P. Moltmann [Mon, 28 Mar 2016 21:59:38 +0000 (21:59 +0000)]
Merge "Update printers even if there are no printers found." into nyc-dev