OSDN Git Service

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

9 years agoAccessibilty support for the print UI.
Svetoslav [Wed, 10 Sep 2014 05:11:10 +0000 (22:11 -0700)]
Accessibilty support for the print UI.

bug:15816751

Change-Id: I5dcdbdd0357843b870ddd47d7c41cfba114d194c

9 years agoam 0adb8bb0: am 5debe44b: am 0743bca5: docs: add 64k method limit note
Robert Ly [Wed, 10 Sep 2014 18:26:56 +0000 (18:26 +0000)]
am 0adb8bb0: am 5debe44b: am 0743bca5: docs: add 64k method limit note

* commit '0adb8bb0a2a9bd240af55e5a1795d837a8c5f9db':
  docs: add 64k method limit note

9 years agoFix PIN/PUK flow
Jorim Jaggi [Wed, 10 Sep 2014 18:17:58 +0000 (20:17 +0200)]
Fix PIN/PUK flow

Bug: 17411293
Change-Id: Ib9e99ba5d982704fc0b8201aa90a664501a34b81

9 years agoam 5debe44b: am 0743bca5: docs: add 64k method limit note
Robert Ly [Wed, 10 Sep 2014 18:16:12 +0000 (18:16 +0000)]
am 5debe44b: am 0743bca5: docs: add 64k method limit note

* commit '5debe44b88e41b61ecbbc48c60a006cd6abd734d':
  docs: add 64k method limit note

9 years agoMerge "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager" into lmp-dev
Matthew Williams [Wed, 10 Sep 2014 18:04:16 +0000 (18:04 +0000)]
Merge "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager" into lmp-dev

9 years agoam 0743bca5: docs: add 64k method limit note
Robert Ly [Wed, 10 Sep 2014 18:04:16 +0000 (18:04 +0000)]
am 0743bca5: docs: add 64k method limit note

* commit '0743bca58961582078f4e8199fe9a6fa044036eb':
  docs: add 64k method limit note

9 years agoRemove auto spaceifying behavior on paste
Raph Levien [Wed, 10 Sep 2014 18:03:18 +0000 (11:03 -0700)]
Remove auto spaceifying behavior on paste

The paste action contained some logic to automatically insert or remove
spaces, basically to emulate the semantics of the text being a sequence
of space-separated words. This was never universally loved, and gives
particularly unexpected behavior with a hardware keyboard.

This patch simply removes the logic to automatically adjust spaces on
paste, so what gets pasted is simply the literal buffer contents.

Bug: 16900326
Bug: 3304489
Change-Id: I5cdf9c43d98a17aa708883b47245aa7929a124d2

9 years agoProtect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager
Matthew Williams [Wed, 10 Sep 2014 17:53:14 +0000 (10:53 -0700)]
Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager

BUG: 17359770
Reuse the Manifest.permission.ACCOUNT_MANAGER to protect this receiver,
because when this intent lands it kicks off a sync for every account/provider
on the device.
Semantically this means "if you can't talk to an authenticator to do things like
get a token or add an account, then you can't send an intent to the SyncManager
that the accounts on the device have changed in some drastic way"

Change-Id: I7eccc38e135cb00ebb0aafc69afc802fe1c4f219

9 years agodocs: add 64k method limit note
Robert Ly [Wed, 10 Sep 2014 17:50:46 +0000 (10:50 -0700)]
docs: add 64k method limit note

Change-Id: I6590fc996331c1f2024276d338c4035f2cb0f18d

9 years agoMerge "Update unclear Fragment Javadoc." into lmp-dev
Jeff Davidson [Wed, 10 Sep 2014 17:46:20 +0000 (17:46 +0000)]
Merge "Update unclear Fragment Javadoc." into lmp-dev

9 years agoDon't accept score below 0.
Robert Greenwalt [Tue, 9 Sep 2014 21:46:37 +0000 (14:46 -0700)]
Don't accept score below 0.

Network Factories are allowed to go below, but networks need to be
constrained.  Allowing the network to go below 0 meant that -1 could
sometimes leak through and foul the logic.

The core of 17361330 will be fixed when we stop sending scores for
listens to NetworkFactories, but it exposed this issue too.  Summary:

1 - add a network listener.  This isn't  a request so it's not sent
to networks.
2 - alter your score (ethernet sets score to -1 when the link goes
down) (16:07:39.782)
3 - a bug in ConnectivityService causes score changes to get sent for
all network requests and network listeners causing NetworkFactories
to no see 2 entities.  This bug will be fixed by a pending change
(https://googleplex-android-review.googlesource.com/#/c/540840/).
This causes the ethernet NetworkFactory to see two entities, both
served by networks of score -1.  (16:07:39.989)
4 - disconnect Ethernet - this only sends 0 scores for known
requests, not network listeners.  Had it been sent for both entities
they both would have evaluated that the networkfactory score (-1)
was lower than the request score (0) and both released their
refcount. (16:08:03.147)
5 - this means the listener is tracked by the EthernetNetworkFactory
with a score of -1 while the factory itself has a score of -1 so the
network release isn't called.

bug:17361330
Change-Id: Ife34ca0f9c233dd3c3df80f6fea580af43afcdeb

9 years agoWait for animation complete before completing boot
Craig Mautner [Tue, 9 Sep 2014 21:26:41 +0000 (14:26 -0700)]
Wait for animation complete before completing boot

Defer the boot process in ActivityManagerService,
WindowManagerService and PowerManagerService until the boot
animation has completed.

Fixes bug 16309312.

Change-Id: Ic5e0d627ca4ded3e211c5d2afece89da40d34642

9 years agoMerge "Virtualizer: replace device type by virtualization mode" into lmp-dev
Jean-Michel Trivi [Wed, 10 Sep 2014 17:29:18 +0000 (17:29 +0000)]
Merge "Virtualizer: replace device type by virtualization mode" into lmp-dev

9 years agoMerge "Hide AudioDevice class" into lmp-dev
Eric Laurent [Wed, 10 Sep 2014 17:28:54 +0000 (17:28 +0000)]
Merge "Hide AudioDevice class" into lmp-dev

9 years agoMerge "Remove some overdraw in Keyguard" into lmp-dev
Jorim Jaggi [Wed, 10 Sep 2014 17:22:51 +0000 (17:22 +0000)]
Merge "Remove some overdraw in Keyguard" into lmp-dev

9 years agoMerge "Fix QS interception on tablets" into lmp-dev
Jorim Jaggi [Wed, 10 Sep 2014 17:22:41 +0000 (17:22 +0000)]
Merge "Fix QS interception on tablets" into lmp-dev

9 years agoMerge "camera2: Fix preview stretching in LEGACY mode." into lmp-dev
Ruben Brunk [Wed, 10 Sep 2014 17:11:20 +0000 (17:11 +0000)]
Merge "camera2: Fix preview stretching in LEGACY mode." into lmp-dev

9 years agoRemove some overdraw in Keyguard
Jorim Jaggi [Wed, 10 Sep 2014 16:52:29 +0000 (18:52 +0200)]
Remove some overdraw in Keyguard

Bug: 17287256
Change-Id: I0bc4101713f83abc2738528c247ca8ce5748bff1

9 years agoFixed a bug where the drag down animation was behaving wrong
Selim Cinek [Wed, 10 Sep 2014 16:52:08 +0000 (18:52 +0200)]
Fixed a bug where the drag down animation was behaving wrong

Since we actually only need to animate the yCoordinate in
the drag down motion, some clipping artefacts were left
in certain cases.

Bug: 17345758
Change-Id: I659a64b7ae5c7abcfa04c20347ec56a2d5f4f75c