OSDN Git Service

android-x86/frameworks-base.git
9 years agoJobScheduler: Fix doc build break
Eino-Ville Talvala [Wed, 3 Sep 2014 20:40:16 +0000 (13:40 -0700)]
JobScheduler: Fix doc build break

Change-Id: I769da7274fe5e3f64a47c82f893afeee6a11254e

9 years agoMerge "Disconnect TrustAgent when not active." into lmp-dev
Marco Fucci [Wed, 3 Sep 2014 20:39:03 +0000 (20:39 +0000)]
Merge "Disconnect TrustAgent when not active." into lmp-dev

9 years agoMerge "Add some @SystemApi tags for internal user-related APIs" into lmp-dev
Amith Yamasani [Wed, 3 Sep 2014 20:26:09 +0000 (20:26 +0000)]
Merge "Add some @SystemApi tags for internal user-related APIs" into lmp-dev

9 years agoMerge "Bug 17262099: MMS API changes (multi-project)." into lmp-dev
Julian Odell [Wed, 3 Sep 2014 20:20:33 +0000 (20:20 +0000)]
Merge "Bug 17262099: MMS API changes (multi-project)." into lmp-dev

9 years agoAdd some @SystemApi tags for internal user-related APIs
Amith Yamasani [Wed, 3 Sep 2014 20:17:28 +0000 (13:17 -0700)]
Add some @SystemApi tags for internal user-related APIs

Also added an internal isManagedProfile()

Bug: 17371392
Change-Id: Ibcc26771d954505cbd530192bf4a8a25a8d4cae0

9 years agoBug 17262099: MMS API changes (multi-project).
Julian Odell [Tue, 26 Aug 2014 00:53:52 +0000 (17:53 -0700)]
Bug 17262099: MMS API changes (multi-project).

Move MMS api to using content provider rather than byte[] to pass MMS message contents.
Rebased and merged into TOT.

Change-Id: I3509b2774b1cb30a1c8100bb25d283140c963b6b

9 years agoMerge "Remove startActivityFromInCall API" into lmp-dev
Evan Charlton [Wed, 3 Sep 2014 20:07:46 +0000 (20:07 +0000)]
Merge "Remove startActivityFromInCall API" into lmp-dev

9 years agoMerge "Restrict lazy dexopt to eng builds only" into lmp-dev
Brian Carlstrom [Wed, 3 Sep 2014 20:02:41 +0000 (20:02 +0000)]
Merge "Restrict lazy dexopt to eng builds only" into lmp-dev

9 years agoMerge "Rename getActivatedXxx to getActiveXxx" into lmp-dev
Wink Saville [Wed, 3 Sep 2014 19:50:53 +0000 (19:50 +0000)]
Merge "Rename getActivatedXxx to getActiveXxx" into lmp-dev

9 years agoMerge "Close the base socket when bindListen fails" into lmp-dev
Matthew Xie [Wed, 3 Sep 2014 19:29:02 +0000 (19:29 +0000)]
Merge "Close the base socket when bindListen fails" into lmp-dev

9 years agoClose the base socket when bindListen fails
Matthew Xie [Wed, 3 Sep 2014 17:04:00 +0000 (10:04 -0700)]
Close the base socket when bindListen fails

Bug: 10773872
Change-Id: I0a72b2eb65055fa1959070d2dc32d40a573bd6f2

9 years agoDisconnect TrustAgent when not active.
Marco Fucci [Fri, 29 Aug 2014 19:31:48 +0000 (12:31 -0700)]
Disconnect TrustAgent when not active.

Bug: 17191952
Change-Id: I470261f659a573400b2eb1421eeb953c87e58b66

9 years agoRename getActivatedXxx to getActiveXxx
Wink Saville [Wed, 3 Sep 2014 19:22:54 +0000 (12:22 -0700)]
Rename getActivatedXxx to getActiveXxx

Change-Id: Iba6d2805a69d3385c93b7ed3c6267b5b8b252a28

9 years agoMerge "Use alarm rather than delayed message to end lingering." into lmp-dev
Paul Jensen [Wed, 3 Sep 2014 19:08:14 +0000 (19:08 +0000)]
Merge "Use alarm rather than delayed message to end lingering." into lmp-dev

9 years agoRestrict lazy dexopt to eng builds only
Brian Carlstrom [Wed, 3 Sep 2014 15:55:05 +0000 (08:55 -0700)]
Restrict lazy dexopt to eng builds only

Bug: 16696554
Change-Id: I56bb63ce534842994a70df6b09843b4e3153c845

9 years agoMerge "Remove onConnectionAdded/Removed() from ConnectionService API" into lmp-dev
Nancy Chen [Wed, 3 Sep 2014 18:41:20 +0000 (18:41 +0000)]
Merge "Remove onConnectionAdded/Removed() from ConnectionService API" into lmp-dev

9 years agoMerge "Fix regression in CTS for AudioTrack" into lmp-dev
Glenn Kasten [Wed, 3 Sep 2014 18:31:58 +0000 (18:31 +0000)]
Merge "Fix regression in CTS for AudioTrack" into lmp-dev

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoRemove startActivityFromInCall API
Evan Charlton [Wed, 3 Sep 2014 17:07:03 +0000 (10:07 -0700)]
Remove startActivityFromInCall API

Rip out the startActivityFromInCall API until we can replace it with
something better.

Bug: 16988478
Change-Id: Ib7b0493353262d9e795d78b78a98dd29e7a3f88e

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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