OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Bugfix: use the correct user for ContentResolver calls" into lmp-dev
Alexandra Gherghina [Thu, 11 Sep 2014 16:12:57 +0000 (16:12 +0000)]
Merge "Bugfix: use the correct user for ContentResolver calls" into lmp-dev

9 years agoMerge "Replace TreeSet with HashSet." into lmp-dev
Przemyslaw Szczepaniak [Thu, 11 Sep 2014 15:59:35 +0000 (15:59 +0000)]
Merge "Replace TreeSet with HashSet." into lmp-dev

9 years agoReplace TreeSet with HashSet.
Przemyslaw Szczepaniak [Thu, 11 Sep 2014 15:10:32 +0000 (16:10 +0100)]
Replace TreeSet with HashSet.

Both Locale and Voice do not implement Comparable.

Bug: 17467923
Change-Id: I683577e5b18ae1892e1ccea5ea241e1d016c9517

9 years agoMerge "Omit appearing views that have a parent that is also appearing." into lmp-dev
George Mount [Thu, 11 Sep 2014 15:53:35 +0000 (15:53 +0000)]
Merge "Omit appearing views that have a parent that is also appearing." into lmp-dev

9 years agoMerge "Allow device owners to update LOCATION_MODE." into lmp-dev
Julia Reynolds [Thu, 11 Sep 2014 15:46:06 +0000 (15:46 +0000)]
Merge "Allow device owners to update LOCATION_MODE." into lmp-dev

9 years agoMerge "Enrich test cases when enabling default IMEs part 3" into lmp-dev
Yohei Yukawa [Thu, 11 Sep 2014 15:32:14 +0000 (15:32 +0000)]
Merge "Enrich test cases when enabling default IMEs part 3" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 11 Sep 2014 15:29:17 +0000 (15:29 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 11 Sep 2014 15:29:07 +0000 (15:29 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Remove package level intent forwarding." into lmp-dev
Alexandra Gherghina [Thu, 11 Sep 2014 15:17:20 +0000 (15:17 +0000)]
Merge "Remove package level intent forwarding." into lmp-dev

9 years agoEnrich test cases when enabling default IMEs part 3
Yohei Yukawa [Thu, 11 Sep 2014 14:50:21 +0000 (23:50 +0900)]
Enrich test cases when enabling default IMEs part 3

This is another groundwork for subsequent fixes.

Notable changes in test cases are:
- A dummy Hinglish IME ("en_US" + "hi") is added
- Added test cases where system locale is "en_GB",
  "en_IN", and "hi" as well as "en_US".

BUG: 17347871
Change-Id: Iacf0f47c4dbc147f8153df50ba58fc4da4dacd29

9 years agoMerge "Enrich test cases when enabling default IMEs part 2" into lmp-dev
Yohei Yukawa [Thu, 11 Sep 2014 14:50:00 +0000 (14:50 +0000)]
Merge "Enrich test cases when enabling default IMEs part 2" into lmp-dev

9 years agoEnrich test cases when enabling default IMEs part 2
Yohei Yukawa [Thu, 11 Sep 2014 07:59:31 +0000 (16:59 +0900)]
Enrich test cases when enabling default IMEs part 2

This is another groundwork for subsequent fixes.

Notable changes in test cases are:
- isSystemReady == false is now coverted.
- tests can run even when the system locale of test
  environment is different from "en_US"

BUG: 17347871

Change-Id: I9434270735d3b37d8b788d41250b23d7950aaeed

9 years agoRemove package level intent forwarding.
Adam Connors [Tue, 9 Sep 2014 15:35:29 +0000 (16:35 +0100)]
Remove package level intent forwarding.

Clean up unused methods.

Bug: 17389110
Change-Id: I8a80fe3e14219f06572de05c390cdda0efcbf5db

9 years agoMerge "Flush HTTP socket pools and DNS cache when binding process to a Network."...
Paul Jensen [Thu, 11 Sep 2014 13:15:20 +0000 (13:15 +0000)]
Merge "Flush HTTP socket pools and DNS cache when binding process to a Network." into lmp-dev

9 years agoMerge "Make Network.openConnection() share HttpHandlers not OkHttpClients." into...
Paul Jensen [Thu, 11 Sep 2014 12:57:32 +0000 (12:57 +0000)]
Merge "Make Network.openConnection() share HttpHandlers not OkHttpClients." into lmp-dev

9 years agoMerge "Don't use layers when fading between public/private layout" into lmp-dev
Jorim Jaggi [Thu, 11 Sep 2014 12:41:24 +0000 (12:41 +0000)]
Merge "Don't use layers when fading between public/private layout" into lmp-dev

9 years agoMerge "Fix inconsistent layout param in notification" into lmp-dev
Jorim Jaggi [Thu, 11 Sep 2014 12:40:03 +0000 (12:40 +0000)]
Merge "Fix inconsistent layout param in notification" into lmp-dev

9 years agoMerge "Fixed a crash when the more card or the dismissview was longpressed" into...
Selim Cinek [Thu, 11 Sep 2014 12:20:20 +0000 (12:20 +0000)]
Merge "Fixed a crash when the more card or the dismissview was longpressed" into lmp-dev

9 years agoMerge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev
Selim Cinek [Thu, 11 Sep 2014 12:20:04 +0000 (12:20 +0000)]
Merge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev

9 years agoMerge "Fixed a bug where the notifications and the clock could jump" into lmp-dev
Selim Cinek [Thu, 11 Sep 2014 12:19:35 +0000 (12:19 +0000)]
Merge "Fixed a bug where the notifications and the clock could jump" into lmp-dev

9 years agoDon't use layers when fading between public/private layout
Jorim Jaggi [Wed, 10 Sep 2014 21:29:28 +0000 (23:29 +0200)]
Don't use layers when fading between public/private layout

Saves us some memory and more importantly, prevents layer trashing
and some skipped frames when building the layers.

Bug: 17287256
Bug: 16513124
Change-Id: Ief7c9a892da57bc77264de016f5118277e648f45

9 years agoFixed a crash when the more card or the dismissview was longpressed
Selim Cinek [Thu, 11 Sep 2014 10:41:47 +0000 (12:41 +0200)]
Fixed a crash when the more card or the dismissview was longpressed

Bug: 17460534
Change-Id: Ided33204b04085ed01f1cc6ada9ccc43fbf028d0

9 years agoMerge "Fix: always allow getProviderMimeType within the same user." into lmp-dev
Nicolas Prevot [Thu, 11 Sep 2014 09:25:56 +0000 (09:25 +0000)]
Merge "Fix: always allow getProviderMimeType within the same user." into lmp-dev

9 years agoMerge "Enrich test cases when enabling default IMEs" into lmp-dev
Yohei Yukawa [Thu, 11 Sep 2014 06:53:45 +0000 (06:53 +0000)]
Merge "Enrich test cases when enabling default IMEs" into lmp-dev

9 years agoMerge "Update the comment in two APIs since we will persist the settings." into lmp-dev
Derek Tan [Thu, 11 Sep 2014 05:16:34 +0000 (05:16 +0000)]
Merge "Update the comment in two APIs since we will persist the settings." into lmp-dev

9 years agoMerge "LayoutLib: support font weights." into lmp-dev
Deepanshu Gupta [Thu, 11 Sep 2014 04:54:25 +0000 (04:54 +0000)]
Merge "LayoutLib: support font weights." into lmp-dev

9 years agoam e5c53e9d: am 4fa904ab: am 9513f81e: am 24499ba7: am e1f07060: (-s ours) am e825f0e...
Jean-Michel Trivi [Thu, 11 Sep 2014 04:43:22 +0000 (04:43 +0000)]
am e5c53e9d: am 4fa904ab: am 9513f81e: am 24499ba7: am e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not restore the media button event receiver

* commit 'e5c53e9d78eed94bd9ed55aabddf96e07c7b9a50':
  Do not restore the media button event receiver

9 years agoam 4fa904ab: am 9513f81e: am 24499ba7: am e1f07060: (-s ours) am e825f0ee: am 60f22fb...
Jean-Michel Trivi [Thu, 11 Sep 2014 04:33:36 +0000 (04:33 +0000)]
am 4fa904ab: am 9513f81e: am 24499ba7: am e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not restore the media button event receiver

* commit '4fa904aba2d60ca8bce39b30264076d8eec7a904':
  Do not restore the media button event receiver

9 years agoam 9513f81e: am 24499ba7: am e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not...
Jean-Michel Trivi [Thu, 11 Sep 2014 04:23:21 +0000 (04:23 +0000)]
am 9513f81e: am 24499ba7: am e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not restore the media button event receiver

* commit '9513f81e33bc0da445735257c8de11a38f3775fa':
  Do not restore the media button event receiver

9 years agoam 24499ba7: am e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not restore the...
Jean-Michel Trivi [Thu, 11 Sep 2014 04:16:10 +0000 (04:16 +0000)]
am 24499ba7: am e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not restore the media button event receiver

* commit '24499ba7ff79c8fa2ea9e02256366c43e78f66c0':
  Do not restore the media button event receiver

9 years agoam 6c7bc371: am 4232a59b: am d086db30: Merge "cherrypick from klp-modular-dev docs...
Ricardo Cervera [Thu, 11 Sep 2014 03:31:05 +0000 (03:31 +0000)]
am 6c7bc371: am 4232a59b: am d086db30: Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs

* commit '6c7bc3711f9e4b2b5a7cd88de26d063e3fff9b7f':
  cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365

9 years agoam 4bb4d66c: am 02afa734: am a6c12f01: Merge "docs: Fixed minor bug in downloads...
Ricardo Cervera [Thu, 11 Sep 2014 03:29:33 +0000 (03:29 +0000)]
am 4bb4d66c: am 02afa734: am a6c12f01: Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular-docs

* commit '4bb4d66c0e8570cfd771853b71fdb1d8dbbede5d':
  docs: Fixed minor bug in downloads class. Bug: 16948533

9 years agoFix build breakage
Youngsang Cho [Thu, 11 Sep 2014 02:17:41 +0000 (11:17 +0900)]
Fix build breakage

Change-Id: Ic52e2d767f3adfedfa4e78aa2510d480c537c857

9 years agoEnrich test cases when enabling default IMEs
Yohei Yukawa [Wed, 10 Sep 2014 08:53:51 +0000 (17:53 +0900)]
Enrich test cases when enabling default IMEs

This is another groundwork for subsequent fixes.

Notable changes in test cases are:
- isAsciiCapable is now annotated accordingly.
- "dummy.keyboard0" now has several subtypes like
  "en_GB", "en_IN", "hi", "hi_ZZ" like the AOSP
  LatinIME.

BUG: 17347871
Change-Id: Ide698ed11c2539ba5862e6b37ea63ed19f8ce566

9 years agoMerge "Add a system API to query hdmi system audio mode" into lmp-dev
Terry Heo [Thu, 11 Sep 2014 01:35:05 +0000 (01:35 +0000)]
Merge "Add a system API to query hdmi system audio mode" into lmp-dev

9 years agoNotify of the update of TvInputInfo
Chulwoo Lee [Tue, 2 Sep 2014 15:59:35 +0000 (00:59 +0900)]
Notify of the update of TvInputInfo

The TvInputInfo is updated when
1. the package is reinstalled.
2. the media on which a newer version of TV inputs exists become
   available.
3. the media on which a newer version of TV inputs exists become
   unavailable.

BUG: 17349383
Change-Id: I983058b13678bd8ecf7d766dc8bdac5fed7df4a0

9 years agoMerge "Use Calendar day of week rather than Time in SimpleMonthView" into lmp-dev
Alan Viverette [Thu, 11 Sep 2014 01:22:54 +0000 (01:22 +0000)]
Merge "Use Calendar day of week rather than Time in SimpleMonthView" into lmp-dev

9 years agoMerge "Using the correct package name for ContentResolver" into lmp-dev
Svetoslav Ganov [Thu, 11 Sep 2014 01:21:20 +0000 (01:21 +0000)]
Merge "Using the correct package name for ContentResolver" into lmp-dev

9 years agoMediaCodec.Image: use image.setCrop() in constructor
Lajos Molnar [Thu, 11 Sep 2014 00:56:24 +0000 (17:56 -0700)]
MediaCodec.Image: use image.setCrop() in constructor

This avoids the ReadOnlyBuffer exception for readonly images.

Bug: 17059255
Change-Id: I83de487e8bf60ba09b1cba1c0106191dd741c217

9 years agoMerge "Fix issue #17414533: update batterystats occasionally takes a couple..." into...
Dianne Hackborn [Thu, 11 Sep 2014 00:56:41 +0000 (00:56 +0000)]
Merge "Fix issue #17414533: update batterystats occasionally takes a couple..." into lmp-dev

9 years agoMerge "Fix issue #17428001: Fix revokeUriPermissions" into lmp-dev
Dianne Hackborn [Thu, 11 Sep 2014 00:55:24 +0000 (00:55 +0000)]
Merge "Fix issue #17428001: Fix revokeUriPermissions" into lmp-dev

9 years agoMerge "add android.util.SizeF.parseSizeF()" into lmp-dev
Lajos Molnar [Thu, 11 Sep 2014 00:55:04 +0000 (00:55 +0000)]
Merge "add android.util.SizeF.parseSizeF()" into lmp-dev

9 years agoam e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not restore the media button...
Jean-Michel Trivi [Thu, 11 Sep 2014 00:51:32 +0000 (00:51 +0000)]
am e1f07060: (-s ours) am e825f0ee: am 60f22fbf: Do not restore the media button event receiver

* commit 'e1f07060b8c94cc02309172fb9fb8cd4bd0e35f7':
  Do not restore the media button event receiver

9 years agoMake Network.openConnection() share HttpHandlers not OkHttpClients.
Paul Jensen [Mon, 8 Sep 2014 18:59:09 +0000 (14:59 -0400)]
Make Network.openConnection() share HttpHandlers not OkHttpClients.

HttpHandler and HttpsHandler classes have a lot of bug fixes baked into
them that the Network.openConnection() API should be using, for example
disabling SPDY support.

bug:17420465
Change-Id: I9f1472753a542d1dd6bffde3a60c37a9145098aa

9 years agoMerge "Output recent configs in am get-config command" into lmp-dev
Adam Lesinski [Thu, 11 Sep 2014 00:24:04 +0000 (00:24 +0000)]
Merge "Output recent configs in am get-config command" into lmp-dev

9 years agoMerge "Copy opaque over shape in GradientDrawable copy constructor" into lmp-dev
Alan Viverette [Thu, 11 Sep 2014 00:22:02 +0000 (00:22 +0000)]
Merge "Copy opaque over shape in GradientDrawable copy constructor" into lmp-dev

9 years agoam 4232a59b: am d086db30: Merge "cherrypick from klp-modular-dev docs: Added note...
Ricardo Cervera [Thu, 11 Sep 2014 00:19:11 +0000 (00:19 +0000)]
am 4232a59b: am d086db30: Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs

* commit '4232a59b083f4062e127b4de4663348b3e08b1bd':
  cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365

9 years agoam 02afa734: am a6c12f01: Merge "docs: Fixed minor bug in downloads class. Bug: 16948...
Ricardo Cervera [Thu, 11 Sep 2014 00:19:06 +0000 (00:19 +0000)]
am 02afa734: am a6c12f01: Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular-docs

* commit '02afa7348b7b6b41d24f4d401d07ed3cea4b5066':
  docs: Fixed minor bug in downloads class. Bug: 16948533

9 years agoFix issue #17414533: update batterystats occasionally takes a couple...
Dianne Hackborn [Thu, 11 Sep 2014 00:08:48 +0000 (17:08 -0700)]
Fix issue #17414533: update batterystats occasionally takes a couple...

...hundred milliseconds.

Rework the locking so that no critical paths block on the cpu collection.

Change-Id: Ie615a033f7f8b523b67abee62c581d1a8fce324c

9 years agoUse Calendar day of week rather than Time in SimpleMonthView
Alan Viverette [Thu, 11 Sep 2014 00:09:13 +0000 (17:09 -0700)]
Use Calendar day of week rather than Time in SimpleMonthView

BUG: 17377360
Change-Id: I685f35b760c049edaa8934eccaf5ce1bbf326cf2

9 years agoam d086db30: Merge "cherrypick from klp-modular-dev docs: Added note on disabling...
Ricardo Cervera [Thu, 11 Sep 2014 00:06:13 +0000 (00:06 +0000)]
am d086db30: Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs

* commit 'd086db30d0f097f34eae0a9a3d443e11cc230d62':
  cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365

9 years agoam a6c12f01: Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into...
Ricardo Cervera [Thu, 11 Sep 2014 00:06:10 +0000 (00:06 +0000)]
am a6c12f01: Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular-docs

* commit 'a6c12f0189c92b556fd7c3af3d8466d9b6d828c9':
  docs: Fixed minor bug in downloads class. Bug: 16948533

9 years agoLayoutLib: support font weights.
Deepanshu Gupta [Thu, 28 Aug 2014 02:30:32 +0000 (19:30 -0700)]
LayoutLib: support font weights.

Also fixes a shader delegate method.

Change-Id: I86be80ab55d04760084d5bf39235f2ee4de7be23

9 years agoMerge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for...
Ricardo Cervera [Wed, 10 Sep 2014 23:57:45 +0000 (23:57 +0000)]
Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs

9 years agoMerge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular...
Ricardo Cervera [Wed, 10 Sep 2014 23:57:15 +0000 (23:57 +0000)]
Merge "docs: Fixed minor bug in downloads class. Bug: 16948533" into klp-modular-docs

9 years agoCopy opaque over shape in GradientDrawable copy constructor
Alan Viverette [Wed, 10 Sep 2014 23:54:02 +0000 (16:54 -0700)]
Copy opaque over shape in GradientDrawable copy constructor

BUG: 17433604
Change-Id: I8eeba8bd68930db178545a3b25e29c3c45ae1f79

9 years agoOmit appearing views that have a parent that is also appearing.
Craig Stout [Wed, 10 Sep 2014 22:53:29 +0000 (15:53 -0700)]
Omit appearing views that have a parent that is also appearing.

b/17460766

Change-Id: Ib3fe619e271688c93a5cd4cb4d557e6cca5baa34

9 years agoMerge "Fix docs and nulling behavior for TextView.setCompoundDrawables" into lmp-dev
Alan Viverette [Wed, 10 Sep 2014 23:31:03 +0000 (23:31 +0000)]
Merge "Fix docs and nulling behavior for TextView.setCompoundDrawables" into lmp-dev

9 years agoMerge "Make SearchView styles public, remove public Holo styles added in L" into...
Alan Viverette [Wed, 10 Sep 2014 23:29:12 +0000 (23:29 +0000)]
Merge "Make SearchView styles public, remove public Holo styles added in L" into lmp-dev

9 years agoMerge "Only force drawing in RippleDrawable when necessary" into lmp-dev
Alan Viverette [Wed, 10 Sep 2014 23:26:05 +0000 (23:26 +0000)]
Merge "Only force drawing in RippleDrawable when necessary" into lmp-dev

9 years agoFix issue #17428001: Fix revokeUriPermissions
Dianne Hackborn [Wed, 10 Sep 2014 21:28:48 +0000 (14:28 -0700)]
Fix issue #17428001: Fix revokeUriPermissions

You can now revoke permissions that were granted to you.

Change-Id: I9a1872059edc715b10bbd2d653e45420d43331c3

9 years agoMerge "Additional layer logging" into lmp-dev
Chris Craik [Wed, 10 Sep 2014 23:19:06 +0000 (23:19 +0000)]
Merge "Additional layer logging" into lmp-dev

9 years agoAdditional layer logging
Chris Craik [Wed, 10 Sep 2014 20:04:31 +0000 (13:04 -0700)]
Additional layer logging

bug:17208461

Track layer's last known state.

Change-Id: Ic1799191f5839a1d6cc56f598f2ac2671dc27a6f

9 years agoMake SearchView styles public, remove public Holo styles added in L
Alan Viverette [Wed, 10 Sep 2014 23:05:35 +0000 (16:05 -0700)]
Make SearchView styles public, remove public Holo styles added in L

We shouldn't adding styles for a deprecated theme. Also this cleans up
the removed public resources for easier deletion later.

BUG: 17455273
Change-Id: I2c5caf354aab91463702f25c38f0dd29c153ba44

9 years agoMerge "Fix a crash in print spooler." into lmp-dev
Svetoslav [Wed, 10 Sep 2014 23:00:41 +0000 (23:00 +0000)]
Merge "Fix a crash in print spooler." into lmp-dev

9 years agoMerge "Accessibilty support for the print UI." into lmp-dev
Svetoslav [Wed, 10 Sep 2014 22:59:49 +0000 (22:59 +0000)]
Merge "Accessibilty support for the print UI." into lmp-dev

9 years agoMerge "Manage mode shouldn't block for other providers." into lmp-dev
Jeff Sharkey [Wed, 10 Sep 2014 22:39:44 +0000 (22:39 +0000)]
Merge "Manage mode shouldn't block for other providers." into lmp-dev

9 years agoMerge "AudioEffect JNI: fix queryEffects()" into lmp-dev
Eric Laurent [Wed, 10 Sep 2014 22:37:25 +0000 (22:37 +0000)]
Merge "AudioEffect JNI: fix queryEffects()" into lmp-dev

9 years agoManage mode shouldn't block for other providers.
Jeff Sharkey [Wed, 10 Sep 2014 18:23:15 +0000 (11:23 -0700)]
Manage mode shouldn't block for other providers.

When loading DocumentsUI in management mode (for Downloads), we
normally focus on a single authority and let the other providers
keep loading async.  However, when one of the providers kicks a
change notification, we end up blocking the main thread.

Simple fix is to move the blocking into the AsyncTask.

Bug: 17452691
Change-Id: Ie5212ad825b7df719690b29941c9ae9ba2cabe4b

9 years agoUsing the correct package name for ContentResolver
Xin Guan [Wed, 10 Sep 2014 20:24:30 +0000 (15:24 -0500)]
Using the correct package name for ContentResolver

Change-Id: I0518391f7262c78043fbd42ddfefef0f2451382c

9 years agoAudioEffect JNI: fix queryEffects()
Eric Laurent [Wed, 10 Sep 2014 22:05:03 +0000 (15:05 -0700)]
AudioEffect JNI: fix queryEffects()

Some effects supported by the platform may not be
returned to JAVA layer because not visible by applications.
The size of the array of effect descriptors
returned must be adjusted so that no entry in the array is null.

Bug: 17453177.
Change-Id: I3baaacf24bcb0fa45ce50461a1ac3d6eaa67f4b9

9 years agoOutput recent configs in am get-config command
Adam Lesinski [Wed, 10 Sep 2014 00:28:03 +0000 (17:28 -0700)]
Output recent configs in am get-config command

Change-Id: Ic516e73d2e72ac0dc3136f7226cedd851fe22b85

9 years agoFix a crash in print spooler.
Svetoslav [Wed, 10 Sep 2014 21:35:58 +0000 (14:35 -0700)]
Fix a crash in print spooler.

1. Leftover code was setting the state to configuring
   before initialization is complete.

2. We were not cancelling the print job if cancelled
   when initializing.

3. The remote print document was cancelled even if
   doing nothing.

bug:17451600

Change-Id: I79a80b723af8537da260012470748b4e8831fd9e

9 years agoMerge "Fix ArrayIndexOutOfBoundsException." into lmp-dev
George Mount [Wed, 10 Sep 2014 21:47:57 +0000 (21:47 +0000)]
Merge "Fix ArrayIndexOutOfBoundsException." into lmp-dev

9 years agoMerge "Revise createIntent and parseResult API." into lmp-dev
Tao Bai [Wed, 10 Sep 2014 21:43:03 +0000 (21:43 +0000)]
Merge "Revise createIntent and parseResult API." into lmp-dev

9 years agoMerge "QS: Fix NPE path inside cell tile." into lmp-dev
John Spurlock [Wed, 10 Sep 2014 21:40:42 +0000 (21:40 +0000)]
Merge "QS: Fix NPE path inside cell tile." into lmp-dev

9 years agoQS: Fix NPE path inside cell tile.
John Spurlock [Wed, 10 Sep 2014 21:34:56 +0000 (17:34 -0400)]
QS: Fix NPE path inside cell tile.

Bug:17456632
Change-Id: Ifc859cf8c1620152fd333d3a92bcd1a47ac1d7e7

9 years agoMerge "Wait for animation complete before completing boot" into lmp-dev
Craig Mautner [Wed, 10 Sep 2014 21:33:42 +0000 (21:33 +0000)]
Merge "Wait for animation complete before completing boot" into lmp-dev

9 years agoMerge "Add docs to Conference object." into lmp-dev
Nancy Chen [Wed, 10 Sep 2014 21:33:01 +0000 (21:33 +0000)]
Merge "Add docs to Conference object." into lmp-dev

9 years agoMerge "Move capturing entering views until just before transition." into lmp-dev
George Mount [Wed, 10 Sep 2014 21:26:22 +0000 (21:26 +0000)]
Merge "Move capturing entering views until just before transition." into lmp-dev

9 years agoUse constant state in AnimatedVectorDrawable
Chet Haase [Fri, 5 Sep 2014 23:53:25 +0000 (16:53 -0700)]
Use constant state in AnimatedVectorDrawable

Complex animated vector drawables can be expensive to load due to
sub-optimal parsing of the String-based pathData. Suffering that penalty
every time the same drawable is loaded (such as material-themed
ProgressBars) is painful.

The new approach caches constant state of both the VectorDrawable (including
the pathData geometry) and the animators (which includes potentially expensive
path-based interpolators).

issue #17366831 Material ProgressBar taking 200+ms to inflate

Change-Id: Iba3b541e24cfce8c07f5aa9fe6aa7d7b92b2fe1c

9 years agoMerge "make autojoin configurable, clean up BSSID info that may be stake in WifiConfi...
vandwalle [Wed, 10 Sep 2014 21:16:57 +0000 (21:16 +0000)]
Merge "make autojoin configurable, clean up BSSID info that may be stake in WifiConfiguration" into lmp-dev

9 years agoOnly force drawing in RippleDrawable when necessary
Alan Viverette [Wed, 10 Sep 2014 21:05:15 +0000 (14:05 -0700)]
Only force drawing in RippleDrawable when necessary

BUG: 17451761
Change-Id: Ibb9d1c64791ec54eb90608c957eeb5efb1712b4a

9 years agoFix inconsistent layout param in notification
Jorim Jaggi [Wed, 10 Sep 2014 21:04:43 +0000 (23:04 +0200)]
Fix inconsistent layout param in notification

Might increase the measure performance a bit.

Bug: 17040206
Change-Id: I2fff039cefdb4f21aff2674b6e7449549f5f8670

9 years agoMerge "Change EmptyArray System.identityHashCode to Object.hashCode." into lmp-dev
Mathieu Chartier [Wed, 10 Sep 2014 21:02:25 +0000 (21:02 +0000)]
Merge "Change EmptyArray System.identityHashCode to Object.hashCode." into lmp-dev

9 years agoam e825f0ee: am 60f22fbf: Do not restore the media button event receiver
Jean-Michel Trivi [Wed, 10 Sep 2014 20:59:32 +0000 (20:59 +0000)]
am e825f0ee: am 60f22fbf: Do not restore the media button event receiver

* commit 'e825f0eec571831ceb60e65ec7e2a6b1ed7be5bd':
  Do not restore the media button event receiver

9 years agoMerge "Remove auto spaceifying behavior on paste" into lmp-dev
Raph Levien [Wed, 10 Sep 2014 20:55:50 +0000 (20:55 +0000)]
Merge "Remove auto spaceifying behavior on paste" into lmp-dev

9 years agomake autojoin configurable, clean up BSSID info that may be stake in WifiConfiguration
vandwalle [Wed, 10 Sep 2014 08:32:09 +0000 (01:32 -0700)]
make autojoin configurable, clean up BSSID info that may be stake in WifiConfiguration

Change-Id: I5052f6a76bcd1f980ef558bff54ce1b172319743

9 years agoMerge "Fix PIN/PUK flow" into lmp-dev
Jorim Jaggi [Wed, 10 Sep 2014 20:48:45 +0000 (20:48 +0000)]
Merge "Fix PIN/PUK flow" into lmp-dev

9 years agoam 60f22fbf: Do not restore the media button event receiver
Jean-Michel Trivi [Wed, 10 Sep 2014 20:47:57 +0000 (20:47 +0000)]
am 60f22fbf: Do not restore the media button event receiver

* commit '60f22fbf67a69e8f3604afb46ccd7c3bd2819cb1':
  Do not restore the media button event receiver

9 years agoMerge "Fix invisible Keyguard" into lmp-dev
Jorim Jaggi [Wed, 10 Sep 2014 20:43:50 +0000 (20:43 +0000)]
Merge "Fix invisible Keyguard" into lmp-dev

9 years agoMerge "Tries to resolve reference resource names instead of its data." into lmp-dev
Jon Miranda [Wed, 10 Sep 2014 20:34:07 +0000 (20:34 +0000)]
Merge "Tries to resolve reference resource names instead of its data." into lmp-dev

9 years agoFix invisible Keyguard
Jorim Jaggi [Wed, 10 Sep 2014 20:23:08 +0000 (22:23 +0200)]
Fix invisible Keyguard

Bug: 17439581
Change-Id: Ie649af4a3455a650ab46372f1e5500b530a24f34

9 years agoTIF: Enable inflating class android.media.tv.TvView on non-TV devices
Jae Seo [Wed, 10 Sep 2014 20:11:13 +0000 (13:11 -0700)]
TIF: Enable inflating class android.media.tv.TvView on non-TV devices

Needed to pass the CTS for those devices.

Bug: 17455222
Change-Id: Ief9a76835418906d9e8e06d4e5ddc71a3370055d

9 years agoMerge "RTL support for print UI." into lmp-dev
Svetoslav [Wed, 10 Sep 2014 20:06:16 +0000 (20:06 +0000)]
Merge "RTL support for print UI." into lmp-dev

9 years agoMerge "Fix page spacing in preview list." into lmp-dev
Svetoslav [Wed, 10 Sep 2014 20:05:45 +0000 (20:05 +0000)]
Merge "Fix page spacing in preview list." into lmp-dev

9 years agoChange EmptyArray System.identityHashCode to Object.hashCode.
Mathieu Chartier [Wed, 10 Sep 2014 19:56:21 +0000 (12:56 -0700)]
Change EmptyArray System.identityHashCode to Object.hashCode.

Equivalent behavior, improves performance since
Object.hashCode has a fast path in the java side that does not
require JNI.

According to traceview sampling profiler:
Calendar had 6.8% time in System.identityHashCode during launch.
0.4% time in System.identityHashCode after the change.

Bug: 16828525

Change-Id: I1ed1d1283a990f990b0d4352cc1f4822b1dadf7b

9 years agoMerge "Camera2: Allow captures right after abort" into lmp-dev
Eino-Ville Talvala [Wed, 10 Sep 2014 19:48:19 +0000 (19:48 +0000)]
Merge "Camera2: Allow captures right after abort" into lmp-dev

9 years agoMerge "Set remote connection state after setting handle" into lmp-dev
Sailesh Nepal [Wed, 10 Sep 2014 19:45:02 +0000 (19:45 +0000)]
Merge "Set remote connection state after setting handle" into lmp-dev

9 years agoMerge "Don't accept score below 0." into lmp-dev
Robert Greenwalt [Wed, 10 Sep 2014 19:30:21 +0000 (19:30 +0000)]
Merge "Don't accept score below 0." into lmp-dev