OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Remove partial support for hotspot changes on focus movement" into lmp-dev
Alan Viverette [Wed, 3 Sep 2014 18:31:47 +0000 (18:31 +0000)]
Merge "Remove partial support for hotspot changes on focus movement" into lmp-dev

10 years agoMerge "Prepare to make SubscriptionManager public." into lmp-dev
Wink Saville [Wed, 3 Sep 2014 18:25:44 +0000 (18:25 +0000)]
Merge "Prepare to make SubscriptionManager public." into lmp-dev

10 years agoMerge "Have destroy call freePrefetchedLayers" into lmp-dev
John Reck [Wed, 3 Sep 2014 18:17:44 +0000 (18:17 +0000)]
Merge "Have destroy call freePrefetchedLayers" into lmp-dev

10 years agoHave destroy call freePrefetchedLayers
John Reck [Wed, 3 Sep 2014 14:39:53 +0000 (07:39 -0700)]
Have destroy call freePrefetchedLayers

 Bug: 17208461

 There's a potential race condition between HardwareRenderer.destroy()
 being called (which calls destroyCanvasAndSurface()) and the renderer
 being finalized (which is what calls freePrefetchedLayers), during which
 time it's possible we get a TRIM_MEMORY_COMPLETE and destroy the EGL
 context.

 Fix this race condition by moving stopDrawing() and freePrefetchedLayers()
 into destroyCanvasAndSurface() where they should have been in the first
 place.

 Also, if we hit the assertion failure, dump the current state of
 Caches to try and provide more context for the failure.

Change-Id: Ife0ba3562041e8b08e87e3e13640472b3004eed6

10 years agoMerge "Add supported URI scheme to PhoneAccounts. (1/4)" into lmp-dev
Tyler Gunn [Wed, 3 Sep 2014 18:12:57 +0000 (18:12 +0000)]
Merge "Add supported URI scheme to PhoneAccounts. (1/4)" into lmp-dev

10 years agoMerge "Adds carrier-specific GPS parameters. Bug: 17288144 Change-Id: Ibafef473221385...
Tsuwei Chen [Wed, 3 Sep 2014 17:53:50 +0000 (17:53 +0000)]
Merge "Adds carrier-specific GPS parameters. Bug: 17288144 Change-Id: Ibafef473221385b304f2ef77df7d9862b348cdf7" into lmp-dev

10 years agoMerge "SysUI: Suppress HUNs from non-profile users" into lmp-dev
Christoph Studer [Wed, 3 Sep 2014 17:52:54 +0000 (17:52 +0000)]
Merge "SysUI: Suppress HUNs from non-profile users" into lmp-dev

10 years agoMerge "Add timeout when waiting to bind to JobService" into lmp-dev
Matthew Williams [Wed, 3 Sep 2014 17:49:06 +0000 (17:49 +0000)]
Merge "Add timeout when waiting to bind to JobService" into lmp-dev

10 years agoAdd timeout when waiting to bind to JobService
Matthew Williams [Tue, 2 Sep 2014 23:17:53 +0000 (16:17 -0700)]
Add timeout when waiting to bind to JobService

BUG: 17322886

bindService() to an invalid service might never actually result in
onServiceConnected being called , for e.g. if the client service doesn't
actually implement JobService. This wastes an execution slot as we end
up waiting forever.

Also made the javadocs clearer for the JobScheduler class.

Change-Id: Ie15ebbe18c0b7579f2ab77dd46428d354ef632c3

10 years agoMerge "Add lock task checking to moving tasks to back" into lmp-dev
Jason Monk [Wed, 3 Sep 2014 17:41:40 +0000 (17:41 +0000)]
Merge "Add lock task checking to moving tasks to back" into lmp-dev

10 years agoMerge "Unconditionally move stack to front." into lmp-dev
Craig Mautner [Wed, 3 Sep 2014 17:35:18 +0000 (17:35 +0000)]
Merge "Unconditionally move stack to front." into lmp-dev

10 years agoMerge "Fix ChangeTransform to work with interruptions" into lmp-dev
George Mount [Wed, 3 Sep 2014 17:30:23 +0000 (17:30 +0000)]
Merge "Fix ChangeTransform to work with interruptions" into lmp-dev

10 years agoMerge "Additional fixes for "back" with translucent windows." into lmp-dev
George Mount [Wed, 3 Sep 2014 17:30:08 +0000 (17:30 +0000)]
Merge "Additional fixes for "back" with translucent windows." into lmp-dev

10 years agoAdditional fixes for "back" with translucent windows.
George Mount [Wed, 3 Sep 2014 14:27:47 +0000 (07:27 -0700)]
Additional fixes for "back" with translucent windows.

Ensure background is mutated before changing its alpha.
Ensure resetViews is called when activity options is set.

Bug 16215650

Change-Id: I8482532777652a93b2c0d05c1b902516d281baf0

10 years agoFix ChangeTransform to work with interruptions
George Mount [Tue, 2 Sep 2014 22:06:02 +0000 (15:06 -0700)]
Fix ChangeTransform to work with interruptions

Bug 17372872

If ChangeTransform was interrupted after its animation completed,
but before the parent's Transition completed, it would think
that its start location was relative to its parent's current
position and not relative to its end position.

Change-Id: Iad25aafc03c41c1e0a7530548fb38acafbaffb8e

10 years agoMerge "Pass ComponentName to probing certificate methods" into lmp-dev
Esteban Talavera [Wed, 3 Sep 2014 17:22:39 +0000 (17:22 +0000)]
Merge "Pass ComponentName to probing certificate methods" into lmp-dev

10 years agoSysUI: Suppress HUNs from non-profile users
Christoph Studer [Wed, 3 Sep 2014 15:35:54 +0000 (17:35 +0200)]
SysUI: Suppress HUNs from non-profile users

Bug: 17364652
Change-Id: Ic7a971d64cecc1624b872c776efeaccd09144db7

10 years agoAdd lock task checking to moving tasks to back
Jason Monk [Wed, 3 Sep 2014 17:17:05 +0000 (13:17 -0400)]
Add lock task checking to moving tasks to back

Chrome seems to use this method of moving itself to the back on
back presses, causing it to escape lock task mode.

Bug: 17365048
Change-Id: I2e8bc614f771951ed96cfc36f9789d12b1742e70

10 years agoMerge "New keycode definitions for TV remotes." into lmp-dev
Wally Yau [Wed, 3 Sep 2014 17:15:49 +0000 (17:15 +0000)]
Merge "New keycode definitions for TV remotes." into lmp-dev

10 years agoMerge "ActivityTransition: fix activity not finished on back" into lmp-dev
Dake Gu [Wed, 3 Sep 2014 17:07:07 +0000 (17:07 +0000)]
Merge "ActivityTransition: fix activity not finished on back" into lmp-dev

10 years agoChange SmsManager.getSmsManagerForSubId to getSmsManagerUsingSubId
Tom Taylor [Wed, 3 Sep 2014 17:04:04 +0000 (10:04 -0700)]
Change SmsManager.getSmsManagerForSubId to getSmsManagerUsingSubId

Bug 17371475

Change-Id: I2da8e355a3c7b037b55d38484c903f7f387aa97c

10 years agoUnconditionally move stack to front.
Craig Mautner [Wed, 3 Sep 2014 17:01:24 +0000 (10:01 -0700)]
Unconditionally move stack to front.

Recents was depending on using moveTaskToFront() to also move the
task's stack to the front. But that only works if the task is
actually in the stack because moveTaskToFront() doesn't do the
stack movement if the task is no longer in the stack. This change
calls ActivityStack.moveToFront() in addition to moveTaskToFront().

Fixes bug 17361027.

Also logs callingUid when starting an activity.

Change-Id: I023f956bafae00f45c58757ff5707ce520f02b55

10 years agoMerge "Fix DevicePolicyManager javadoc" into lmp-dev
Brian Carlstrom [Wed, 3 Sep 2014 16:10:52 +0000 (16:10 +0000)]
Merge "Fix DevicePolicyManager javadoc" into lmp-dev

10 years agoAdd supported URI scheme to PhoneAccounts. (1/4)
Tyler Gunn [Wed, 3 Sep 2014 16:09:12 +0000 (09:09 -0700)]
Add supported URI scheme to PhoneAccounts. (1/4)

Modified PhoneAccount and builder to support specifying supported
URI schemes.

Bug: 17140110
Change-Id: Ieef33bb1a6719de6f3897ed10ec38843808a7f85

10 years agoMerge "Tuned anti-falsing thresholds on the lockscreen" into lmp-dev
Selim Cinek [Wed, 3 Sep 2014 16:03:45 +0000 (16:03 +0000)]
Merge "Tuned anti-falsing thresholds on the lockscreen" into lmp-dev

10 years agoMerge "Fixed a bug where notification icons where not animating" into lmp-dev
Selim Cinek [Wed, 3 Sep 2014 16:01:51 +0000 (16:01 +0000)]
Merge "Fixed a bug where notification icons where not animating" into lmp-dev

10 years agoFix DevicePolicyManager javadoc
Brian Carlstrom [Wed, 3 Sep 2014 15:55:05 +0000 (08:55 -0700)]
Fix DevicePolicyManager javadoc

Bug: 17126717
Change-Id: Ib1d83a0e2003296ec1e17fa7c43e32c55b044df3

10 years agoTuned anti-falsing thresholds on the lockscreen
Selim Cinek [Wed, 3 Sep 2014 14:37:36 +0000 (16:37 +0200)]
Tuned anti-falsing thresholds on the lockscreen

Also added logic to provide nicer animations when falsing.
In addition adapted the clock scale slightly if dragging
in the void.

Bug: 15433087
Change-Id: I4d8eb26cc81d22647ef4d2eca1e69b4994a7f1e2

10 years agoMerge "Auto dismiss lockscreen when switching to guest" into lmp-dev
Adrian Roos [Wed, 3 Sep 2014 15:39:10 +0000 (15:39 +0000)]
Merge "Auto dismiss lockscreen when switching to guest" into lmp-dev

10 years agoFixed a bug where notification icons where not animating
Selim Cinek [Wed, 3 Sep 2014 12:47:57 +0000 (14:47 +0200)]
Fixed a bug where notification icons where not animating

Bug: 16043845
Change-Id: I23217d90803fd247f6d1b4d2aea056deb5749c15

10 years agoMerge "Fix TransitionManager.go() to allow null transitions" into lmp-dev
Chet Haase [Wed, 3 Sep 2014 15:19:28 +0000 (15:19 +0000)]
Merge "Fix TransitionManager.go() to allow null transitions" into lmp-dev

10 years agoMerge "Fixing Recents crash with non-primary user. (Bug 17343688)" into lmp-dev
Winson Chung [Wed, 3 Sep 2014 15:07:32 +0000 (15:07 +0000)]
Merge "Fixing Recents crash with non-primary user. (Bug 17343688)" into lmp-dev

10 years agoMerge "Fix behavior of inflating InsetDrawable" into lmp-dev
Chet Haase [Wed, 3 Sep 2014 14:55:28 +0000 (14:55 +0000)]
Merge "Fix behavior of inflating InsetDrawable" into lmp-dev

10 years agoFix TransitionManager.go() to allow null transitions
Chet Haase [Wed, 3 Sep 2014 14:53:15 +0000 (07:53 -0700)]
Fix TransitionManager.go() to allow null transitions

The doc'd behavior of go() is that a null transition is equivalent
to just switching to a scene with no transition. The actual behavior
was an NPE crash.

Issue #17342291 TransitionManager.go() with null Transition parameter throws NPE unlike documentation

Change-Id: I9416aa6e307f80eefc201ca3264fd64f8587ac2f

10 years agoMerge "Improve subpixel rendering of battery icon on all densities" into lmp-dev
Jorim Jaggi [Wed, 3 Sep 2014 14:50:30 +0000 (14:50 +0000)]
Merge "Improve subpixel rendering of battery icon on all densities" into lmp-dev

10 years agoMerge "Correctly forwarding the screen off event on lockscreen" into lmp-dev
Selim Cinek [Wed, 3 Sep 2014 14:49:21 +0000 (14:49 +0000)]
Merge "Correctly forwarding the screen off event on lockscreen" into lmp-dev

10 years agoMerge "Fix NPE in onDestroy." into lmp-dev
Santos Cordon [Wed, 3 Sep 2014 14:48:36 +0000 (14:48 +0000)]
Merge "Fix NPE in onDestroy." into lmp-dev

10 years agoAuto dismiss lockscreen when switching to guest
Adrian Roos [Tue, 2 Sep 2014 22:08:56 +0000 (00:08 +0200)]
Auto dismiss lockscreen when switching to guest

Bug: 16659674
Change-Id: I8d24a3997ac7493cd8a8317f8a35532eaf5c3cfe

10 years agoImprove subpixel rendering of battery icon on all densities
Jorim Jaggi [Wed, 3 Sep 2014 14:29:39 +0000 (16:29 +0200)]
Improve subpixel rendering of battery icon on all densities

Bug: 16161255
Change-Id: I97abc6a7a5cafb581e3f7c3d7509fdbf6d8542d5

10 years agoMerge "Add a warning log when it takes long time to handle a message in TIS" into...
Youngsang Cho [Wed, 3 Sep 2014 14:24:38 +0000 (14:24 +0000)]
Merge "Add a warning log when it takes long time to handle a message in TIS" into lmp-dev

10 years agoMerge "Make Fragment Transitions match Acitivty Transitions API" into lmp-dev
George Mount [Wed, 3 Sep 2014 14:21:46 +0000 (14:21 +0000)]
Merge "Make Fragment Transitions match Acitivty Transitions API" into lmp-dev

10 years agoAdd a warning log when it takes long time to handle a message in TIS
Youngsang Cho [Wed, 3 Sep 2014 13:27:56 +0000 (22:27 +0900)]
Add a warning log when it takes long time to handle a message in TIS

Bug: 17291092
Change-Id: If14ff467ac81d4f8d33febd57dd414dc5f4d3558

10 years agoMerge "Don't show add user for simple user switcher" into lmp-dev
Jason Monk [Wed, 3 Sep 2014 14:09:23 +0000 (14:09 +0000)]
Merge "Don't show add user for simple user switcher" into lmp-dev

10 years agoMerge "Correct hotspot notification asset" into lmp-dev
Jason Monk [Wed, 3 Sep 2014 12:59:42 +0000 (12:59 +0000)]
Merge "Correct hotspot notification asset" into lmp-dev

10 years agoMerge "Enforce permissions on start/stopLockTaskModeOnCurrent" into lmp-dev
Jason Monk [Wed, 3 Sep 2014 12:59:34 +0000 (12:59 +0000)]
Merge "Enforce permissions on start/stopLockTaskModeOnCurrent" into lmp-dev

10 years agoMerge "Status bar iconography updates" into lmp-dev
Jorim Jaggi [Wed, 3 Sep 2014 12:56:15 +0000 (12:56 +0000)]
Merge "Status bar iconography updates" into lmp-dev

10 years agoMerge "NoMan: Drop archive size to 100, strip EXTRA_BIG_TEXT" into lmp-dev
Christoph Studer [Wed, 3 Sep 2014 12:28:28 +0000 (12:28 +0000)]
Merge "NoMan: Drop archive size to 100, strip EXTRA_BIG_TEXT" into lmp-dev

10 years agoCorrectly forwarding the screen off event on lockscreen
Selim Cinek [Wed, 3 Sep 2014 12:18:09 +0000 (14:18 +0200)]
Correctly forwarding the screen off event on lockscreen

Bug: 17364635
Change-Id: I88730238e3622522674268438d266fd2334410cd

10 years agoPass ComponentName to probing certificate methods
Esteban Talavera [Thu, 28 Aug 2014 16:15:54 +0000 (17:15 +0100)]
Pass ComponentName to probing certificate methods

Pass ComponentName and check whether that admin is a profile owner on DPM
get/has certificate methods (requested on the API review).

As per Change I55eec17e01489ab323f8a0e68b11592605a7b740, not keeping track of
which admins installed which certificates for now:

"Having per-admin CA certificates would be a fair bit of work. The only MDMs
we're opening this up to for now are Device and Profile Owners which 100%
manage the profile so will be the only admin.
It seems like if we keep track of "who installed which certs" it'll be a little
pointless because the answer will always be "the ProfileOwner" for every single
one."

Bug: 17005622
Change-Id: I45e9dac5236ab4ed235a341c208ac3cb6aba17da

10 years agoMerge "Add the provisioning extra admin extras bundle." into lmp-dev
Sander Alewijnse [Wed, 3 Sep 2014 11:43:41 +0000 (11:43 +0000)]
Merge "Add the provisioning extra admin extras bundle." into lmp-dev

10 years agoAdd the provisioning extra admin extras bundle.
Sander Alewijnse [Wed, 20 Aug 2014 15:22:44 +0000 (16:22 +0100)]
Add the provisioning extra admin extras bundle.

Enables the MDM app running (as a regular app) in the primary user to pass
through a bundle of data with which to bootstrap the instance of itself
running as profile owner in the managed profile.

Bug:17126717
Change-Id: I28a368d13e33990b16dcd68436902e0a077d5f5d

10 years agoMerge "API Review: InputConnection" into lmp-dev
Yohei Yukawa [Wed, 3 Sep 2014 09:41:47 +0000 (09:41 +0000)]
Merge "API Review: InputConnection" into lmp-dev

10 years agoMerge "Kill the NetworkInfo(int type) constructor. IT'S A TRAP!" into lmp-dev
Lorenzo Colitti [Wed, 3 Sep 2014 06:27:11 +0000 (06:27 +0000)]
Merge "Kill the NetworkInfo(int type) constructor. IT'S A TRAP!" into lmp-dev

10 years agoPrepare to make SubscriptionManager public.
Wink Saville [Wed, 3 Sep 2014 05:37:08 +0000 (22:37 -0700)]
Prepare to make SubscriptionManager public.

Sync SubscriptionManager and its dependentes between lmp-dev
and lmp-sprout-dev.

In SubscriptionManager and SubscriptionController:
-Rename getActivatedSubInfoList to getActiveSubInfoList.
-Remove context as a parameter
-Cleanup

Change-Id: Ie06ced3e7ff5a3d06b3b47892fed22b4bb8972c7

10 years agoAPI Review: InputConnection
Yohei Yukawa [Wed, 3 Sep 2014 05:03:30 +0000 (22:03 -0700)]
API Review: InputConnection

This CL does nothing but rename some L API candidates
in InputConnection class, as per requested.

- requestUpdateCursorAnchorInfo()
  -> requestCursorUpdates()
- REQUEST_UPDATE_CURSOR_ANCHOR_INFO_IMMEDIATE
  -> CURSOR_UPDATE_IMMEDIATE
- REQUEST_UPDATE_CURSOR_ANCHOR_INFO_MONITOR
  -> CURSOR_UPDATE_MONITOR

BUG: 17320996
Change-Id: I772c48ff18918e48a81e807b48ff907614485c09

10 years agoMerge "Fix AccessibilityNode's isVisibleToUser behavior." into lmp-dev
Svetoslav [Wed, 3 Sep 2014 03:14:11 +0000 (03:14 +0000)]
Merge "Fix AccessibilityNode's isVisibleToUser behavior." into lmp-dev

10 years agoAdd more slow execution logs.
Dianne Hackborn [Wed, 3 Sep 2014 01:16:15 +0000 (18:16 -0700)]
Add more slow execution logs.

This time *without* mixing in an bunch of unintentional reverts!

Change-Id: Iab4cb9eb6d475d9fe5ebe16e9ea4be24c6f312e8

10 years agoAdds carrier-specific GPS parameters.
Tsuwei Chen [Tue, 2 Sep 2014 22:10:57 +0000 (15:10 -0700)]
Adds carrier-specific GPS parameters.
Bug: 17288144
Change-Id: Ibafef473221385b304f2ef77df7d9862b348cdf7

10 years agoMerge "Revert "And yet more logging for slow execution."" into lmp-dev
Dianne Hackborn [Wed, 3 Sep 2014 01:09:38 +0000 (01:09 +0000)]
Merge "Revert "And yet more logging for slow execution."" into lmp-dev

10 years agoRevert "And yet more logging for slow execution."
Dianne Hackborn [Wed, 3 Sep 2014 01:09:21 +0000 (01:09 +0000)]
Revert "And yet more logging for slow execution."

This reverts commit 113390ac113083884b6f498424b3f6afa2df4ebc.

Change-Id: I16fdb08f83ad31c10d943862bae639f622542339

10 years agoMerge "Use null instead of transparent for Material alert dialog sections" into lmp-dev
Alan Viverette [Wed, 3 Sep 2014 01:02:17 +0000 (01:02 +0000)]
Merge "Use null instead of transparent for Material alert dialog sections" into lmp-dev

10 years agoMerge "Address API Council feedback for WifiAdapter/WPS APIs" into lmp-dev
Vinit Deshpande [Wed, 3 Sep 2014 00:59:27 +0000 (00:59 +0000)]
Merge "Address API Council feedback for WifiAdapter/WPS APIs" into lmp-dev

10 years agoMerge "Allow empty strings in playFromSearch" into lmp-dev
RoboErik [Wed, 3 Sep 2014 00:40:19 +0000 (00:40 +0000)]
Merge "Allow empty strings in playFromSearch" into lmp-dev

10 years agoAllow empty strings in playFromSearch
RoboErik [Tue, 2 Sep 2014 19:25:42 +0000 (12:25 -0700)]
Allow empty strings in playFromSearch

This allows empty strings to be passed to playFromSearch to indicate
something should be chosen for the user and played. This makes it
consistent with INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH.

bug:17316566
Change-Id: I00ce8d252efa940e05568629e35198450c224a92

10 years agoMerge "Fix accessibility events emitted from TwoStatePreference" into lmp-dev
Alan Viverette [Wed, 3 Sep 2014 00:38:58 +0000 (00:38 +0000)]
Merge "Fix accessibility events emitted from TwoStatePreference" into lmp-dev

10 years agoMerge "Don't clip preference row icons to padding" into lmp-dev
Alan Viverette [Wed, 3 Sep 2014 00:30:13 +0000 (00:30 +0000)]
Merge "Don't clip preference row icons to padding" into lmp-dev

10 years agoMerge changes Id38bcf7c,I54f156d9 into lmp-dev
RoboErik [Wed, 3 Sep 2014 00:25:57 +0000 (00:25 +0000)]
Merge changes Id38bcf7c,I54f156d9 into lmp-dev

* changes:
  Update MediaController comment to mention notification listeners
  Don't play a sound when adjusting volume while telephony is active

10 years agoUpdate MediaController comment to mention notification listeners
RoboErik [Tue, 2 Sep 2014 22:54:16 +0000 (15:54 -0700)]
Update MediaController comment to mention notification listeners

Forgot to update the comment to specify that notification listeners
may also get a MediaController from the manager.

Change-Id: Id38bcf7cb38185bfe4f99bcf8889a6415320dd36

10 years agoDon't play a sound when adjusting volume while telephony is active
RoboErik [Tue, 2 Sep 2014 22:04:27 +0000 (15:04 -0700)]
Don't play a sound when adjusting volume while telephony is active

bug:17106215
Change-Id: I54f156d91440ce777e5a4d473cdd47927479d084

10 years agoFix NPE in onDestroy.
Santos Cordon [Wed, 3 Sep 2014 00:13:45 +0000 (17:13 -0700)]
Fix NPE in onDestroy.

NPE can happen when calls are canceled immediately before incallservice
has a chance to respond.

Bug:17362107
Change-Id: I6bf318f5f7d89731b686a1523678a26764fa9bf3

10 years agoMerge "Automatically supply a content description for ToolbarActionBar nav" into...
Adam Powell [Wed, 3 Sep 2014 00:04:52 +0000 (00:04 +0000)]
Merge "Automatically supply a content description for ToolbarActionBar nav" into lmp-dev

10 years agoMerge "Make sure ripple background bounds are used for invalidation" into lmp-dev
Alan Viverette [Tue, 2 Sep 2014 23:56:13 +0000 (23:56 +0000)]
Merge "Make sure ripple background bounds are used for invalidation" into lmp-dev

10 years agoFix AccessibilityNode's isVisibleToUser behavior.
Svetoslav [Tue, 2 Sep 2014 23:36:35 +0000 (16:36 -0700)]
Fix AccessibilityNode's isVisibleToUser behavior.

The isVisibleToUser property of an AccessibilityNodeInfo specifies
whether the user can see the source view. It is used by accessibility
services to figure out whether to focus on a view. This property
was giving a wrong value if the view is covered by another window
such as the keyboard. As a result the user hears one thing but when
double taps interacts with the overlaid window which is another thing.

bug:15938254

Change-Id: Ib9feb20ea422a24a512c47ed1234961ae0386a7f

10 years agoMerge "API Review: CursorAnchorInfo" into lmp-dev
Yohei Yukawa [Tue, 2 Sep 2014 23:45:35 +0000 (23:45 +0000)]
Merge "API Review: CursorAnchorInfo" into lmp-dev

10 years agoFix accessibility events emitted from TwoStatePreference
Alan Viverette [Tue, 2 Sep 2014 23:35:45 +0000 (16:35 -0700)]
Fix accessibility events emitted from TwoStatePreference

Removes redundant and conflicting events emitted from check and switch
preferences. Sends VIEW_CLICKED accessibility events from AdapterView
rows after calling their on click listeners, which ensures data is
consistent.

BUG: 16961152
Change-Id: I4b57bceec6830d775c2da57226b8ee482242caf7

10 years agoFix behavior of inflating InsetDrawable
Chet Haase [Tue, 2 Sep 2014 23:11:26 +0000 (16:11 -0700)]
Fix behavior of inflating InsetDrawable

A recent change to InsetDrawable changed the behavior of inflating
an InsetDrawable when it already had a valid bitmap. The new behavior
avoids throwing an exception with a bad resource where it used to
throw, because the existence of the bitmap makes it avoid trying to
load the resource at all.

The fix is to reintroduce the old behavior of forcing it to load the
resource regardless of the state of its bitmap.

Issue #17068252 InsetDrawable inflation CTS test is failing

Change-Id: I941388730d4479f8f4747a7985754ffdf5133f04

10 years agoMerge "Make stream_music volume configurable." into lmp-dev
Jungshik Jang [Tue, 2 Sep 2014 23:20:29 +0000 (23:20 +0000)]
Merge "Make stream_music volume configurable." into lmp-dev

10 years agoAutomatically supply a content description for ToolbarActionBar nav
Adam Powell [Tue, 2 Sep 2014 22:59:28 +0000 (15:59 -0700)]
Automatically supply a content description for ToolbarActionBar nav

If the developer hasn't set a navigation content description on the
Toolbar assigned to be an action bar or a home-action content
description via the ActionBar interface, use the framework default
"navigate up" string.

Also make sure that the default Up description is supplied in the
screen_toolbar window decor layout and that it is parsed properly in
all toolbars, even if we don't have an icon set during construction.

Bug 17298370

Change-Id: Ie2f9e34f92046d4d4ffb9a07e38fa89581891f7b

10 years agoMerge "Implement TODO" into lmp-dev
John Reck [Tue, 2 Sep 2014 22:58:50 +0000 (22:58 +0000)]
Merge "Implement TODO" into lmp-dev

10 years agoRemove partial support for hotspot changes on focus movement
Alan Viverette [Tue, 2 Sep 2014 22:58:03 +0000 (15:58 -0700)]
Remove partial support for hotspot changes on focus movement

Also removes unused x/y position and tween values on RippleBackground. The
background is now always centered within the hotspot area.

BUG: 17300399
Change-Id: I1904c9f44e6bebb2b434d2b092205edd42204263

10 years agoMerge "And yet more logging for slow execution." into lmp-dev
Dianne Hackborn [Tue, 2 Sep 2014 22:49:37 +0000 (22:49 +0000)]
Merge "And yet more logging for slow execution." into lmp-dev

10 years agoDon't clip preference row icons to padding
Alan Viverette [Tue, 2 Sep 2014 22:46:18 +0000 (15:46 -0700)]
Don't clip preference row icons to padding

Need negative margins to align the 48dp icons correctly with Material
layout guidelines and still respect listPreferredItemPaddingStart.

BUG: 17316340
Change-Id: I2d3baa4cd2857fb73a65eba3447de33d7319b6df

10 years agoImplement TODO
John Reck [Tue, 2 Sep 2014 22:44:14 +0000 (15:44 -0700)]
Implement TODO

Change-Id: I551ad0dab6356baa4c7787718b54d5b7337a3f26

10 years agoMerge "Use per-Network connection pools for openConnection." into lmp-dev
Lorenzo Colitti [Tue, 2 Sep 2014 22:40:10 +0000 (22:40 +0000)]
Merge "Use per-Network connection pools for openConnection." into lmp-dev

10 years agoMerge "Pass the socket mark for DNS queries to dnsmasq." into lmp-dev
Lorenzo Colitti [Tue, 2 Sep 2014 22:39:17 +0000 (22:39 +0000)]
Merge "Pass the socket mark for DNS queries to dnsmasq." into lmp-dev

10 years agoam 144c21c2: (-s ours) am da3b4363: DO NOT MERGE: Use a linear spline if there\'s...
Michael Wright [Tue, 2 Sep 2014 22:24:30 +0000 (22:24 +0000)]
am 144c21c2: (-s ours) am da3b4363: DO NOT MERGE: Use a linear spline if there\'s a non-monotonic brightness curve

* commit '144c21c2a063981efe942f98c4fa22ebd5f728fc':
  DO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve

10 years agoMerge "Update pointer hotspots to scale for DPI" into lmp-dev
Alan Viverette [Tue, 2 Sep 2014 22:20:11 +0000 (22:20 +0000)]
Merge "Update pointer hotspots to scale for DPI" into lmp-dev

10 years agoMake Fragment Transitions match Acitivty Transitions API
George Mount [Sat, 23 Aug 2014 00:04:02 +0000 (17:04 -0700)]
Make Fragment Transitions match Acitivty Transitions API

Bug 17188255

Change-Id: I506a097be4010d7156caf465c95295c58612c16e

10 years agoMake sure ripple background bounds are used for invalidation
Alan Viverette [Tue, 2 Sep 2014 22:05:27 +0000 (15:05 -0700)]
Make sure ripple background bounds are used for invalidation

BUG: 17349157
Change-Id: Ie88fbabbc66349aea9b7d00e28ca12f93776a4a7

10 years agoam da3b4363: DO NOT MERGE: Use a linear spline if there\'s a non-monotonic brightness...
Michael Wright [Tue, 2 Sep 2014 22:02:23 +0000 (22:02 +0000)]
am da3b4363: DO NOT MERGE: Use a linear spline if there\'s a non-monotonic brightness curve

* commit 'da3b43633fe86d69aab5cab52826e76e01f18d63':
  DO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve

10 years agoMerge "Add public constant for usage stats app op." into lmp-dev
Dianne Hackborn [Tue, 2 Sep 2014 21:54:56 +0000 (21:54 +0000)]
Merge "Add public constant for usage stats app op." into lmp-dev

10 years agoMerge "Ensure layout in getExtendedPadding calls" into lmp-dev
Raph Levien [Tue, 2 Sep 2014 21:53:25 +0000 (21:53 +0000)]
Merge "Ensure layout in getExtendedPadding calls" into lmp-dev

10 years agoMerge "Account for scaling effects when cropping" into lmp-dev
Craig Mautner [Tue, 2 Sep 2014 21:53:02 +0000 (21:53 +0000)]
Merge "Account for scaling effects when cropping" into lmp-dev

10 years agoStatus bar iconography updates
Jorim Jaggi [Tue, 2 Sep 2014 12:59:06 +0000 (14:59 +0200)]
Status bar iconography updates

- Use new assets for location, flightmode and "more" notifications
  icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
  more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
  icons.

Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2

10 years agoMerge "Move print rendering in an isolated process." into lmp-dev
Svet Ganov [Tue, 2 Sep 2014 21:51:45 +0000 (21:51 +0000)]
Merge "Move print rendering in an isolated process." into lmp-dev

10 years agoMerge "Disable touch dispatch while adjusting brightness" into lmp-dev
Adrian Roos [Tue, 2 Sep 2014 21:49:01 +0000 (21:49 +0000)]
Merge "Disable touch dispatch while adjusting brightness" into lmp-dev

10 years agoMerge "Bug 17243357: Remove MessagingConfigurationManager" into lmp-dev
Shri Borde [Tue, 2 Sep 2014 21:48:10 +0000 (21:48 +0000)]
Merge "Bug 17243357: Remove MessagingConfigurationManager" into lmp-dev

10 years agoDO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve
Michael Wright [Fri, 29 Aug 2014 00:42:16 +0000 (17:42 -0700)]
DO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve

Some devices may contain things like transflective displays where
they actually want the backlight brightness to decrease in the face
of high ambient light scenarios. In the interest of time, just use a
linear interpolation based on the brightness control points for these
cases but in the future we should consider adding a non-monotonic
cubic spline.

Bug: 15611140
Change-Id: I308ad00943d916866ee8d2507a41b7032e6b524e

10 years agoDisable touch dispatch while adjusting brightness
Adrian Roos [Tue, 2 Sep 2014 21:34:10 +0000 (23:34 +0200)]
Disable touch dispatch while adjusting brightness

Prevents new pointers from being added while the shade
is transparent so that nothing gets touched by accident.

Bug: 17113634
Change-Id: I4a607d08dbccd467280159060846edd32db9c512

10 years agoAccount for scaling effects when cropping
Craig Mautner [Tue, 2 Sep 2014 21:36:31 +0000 (14:36 -0700)]
Account for scaling effects when cropping

When a scaled window inherits the crop from an attached animating
window the scaling must be accounted for or the crop will obscure
the scaled window.

In the case of the bug that this CL fixes, the SurfaceView containing
a video was scaled down from 1920x1080 by a factor of 0.562 to fit in
1080 width. The crop applied to the window was 1080 but this was passed
to surfaceflinger which ended up cropping the width to 608 due to the
scaling.

Applying the scaling factor to the crop rectangle fixes this bug.

Fixes bug 16334217.

Change-Id: Iafefe43d3696d9fbff01a3666096348468a41e1a