OSDN Git Service

android-x86/frameworks-base.git
9 years agoAdd an API to check availability of Ethernet interface.
Jaewan Kim [Mon, 20 Oct 2014 03:04:13 +0000 (12:04 +0900)]
Add an API to check availability of Ethernet interface.

Bug: 18045481
Change-Id: I95358241b431cfe4435ce70c23c9a639b9dc4d58

9 years agoam fb26a2c8: Merge "Don\'t animate screen brightness if there is a pending off transi...
Prashant Malani [Sat, 15 Nov 2014 09:56:57 +0000 (09:56 +0000)]
am fb26a2c8: Merge "Don\'t animate screen brightness if there is a pending off transition" into lmp-sprout-dev

* commit 'fb26a2c80b988118983251caf36492f2ae39559c':
  Don't animate screen brightness if there is a pending off transition

9 years agoMerge "Don't animate screen brightness if there is a pending off transition" into...
Prashant Malani [Sat, 15 Nov 2014 09:46:32 +0000 (09:46 +0000)]
Merge "Don't animate screen brightness if there is a pending off transition" into lmp-sprout-dev

9 years agoMerge "Feature request: Increasing advertise data size on non-connectable adv. When...
Tom Turney [Sat, 15 Nov 2014 03:00:05 +0000 (03:00 +0000)]
Merge "Feature request: Increasing advertise data size on non-connectable adv. When the advertisement is non-connectable, give back the bytes to the advertiser where the adv flags would have been. This increases the non-connectable advertisement's advertise data from 24 to 27 bytes." into lmp-mr1-dev

9 years agoMerge "implement HDMI-like demo mode for remote display" into lmp-mr1-dev
Chong Zhang [Sat, 15 Nov 2014 02:25:31 +0000 (02:25 +0000)]
Merge "implement HDMI-like demo mode for remote display" into lmp-mr1-dev

9 years agoFeature request: Increasing advertise data size on
Tom Turney [Thu, 13 Nov 2014 00:26:41 +0000 (16:26 -0800)]
Feature request: Increasing advertise data size on
non-connectable adv.
When the advertisement is non-connectable, give back the
bytes to the advertiser where the adv flags would have been.
This increases the non-connectable advertisement's advertise
data from 24 to 27 bytes.

Bug:18359570
Change-Id: Ia3cc48dca50cc3c51095ee92a489f143f6d350b1

9 years agoExplicitly bind AsyncTask to main looper.
Jeff Brown [Fri, 14 Nov 2014 23:49:45 +0000 (15:49 -0800)]
Explicitly bind AsyncTask to main looper.

It seems we were sort of trying to do this by forcing the AsyncTask
static initializer to run at certain times but it was not sufficiently
reliable.  In particular, this resulted in occasional system
server crashes.

Bug: 18192406
Change-Id: Ief73210c60e7680fbed6df74e3e58809b7ec7e4d

9 years agoMerge "camera2: Add READ_SETTINGS capability." into lmp-mr1-dev
Ruben Brunk [Sat, 15 Nov 2014 01:13:51 +0000 (01:13 +0000)]
Merge "camera2: Add READ_SETTINGS capability." into lmp-mr1-dev

9 years agoMerge "Teach bmgr that "android" is a valid package name" into lmp-mr1-dev
Christopher Tate [Sat, 15 Nov 2014 00:48:14 +0000 (00:48 +0000)]
Merge "Teach bmgr that "android" is a valid package name" into lmp-mr1-dev

9 years agoimplement HDMI-like demo mode for remote display
Chong Zhang [Wed, 12 Nov 2014 02:54:39 +0000 (18:54 -0800)]
implement HDMI-like demo mode for remote display

adding the following two system properties to control remote
display rotation and device orientation lock:

"persist.demo.rotationlock"=true|false
"persist.demo.remoterotation"=landscape|portrait

Bug: 18317603
Change-Id: Id5fe115f895c6a0e72563036b9a98ff3b5037763

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Fri, 14 Nov 2014 23:52:54 +0000 (15:52 -0800)]
Import translations. DO NOT MERGE

Change-Id: I629815c2db7019af69cf0660de6f791b2d8105cd
Auto-generated-cl: translation import

9 years agoMerge "Fixing regression in screen pinning button visibility. (Bug 18390050)" into...
Winson Chung [Fri, 14 Nov 2014 23:30:36 +0000 (23:30 +0000)]
Merge "Fixing regression in screen pinning button visibility. (Bug 18390050)" into lmp-mr1-dev

9 years agoMerge "CEC: Buffer messages coming from unknown device" into lmp-mr1-dev
Jinsuk Kim [Fri, 14 Nov 2014 22:52:55 +0000 (22:52 +0000)]
Merge "CEC: Buffer messages coming from unknown device" into lmp-mr1-dev

9 years agoMerge "Document that circular reveal is async" into lmp-mr1-dev
John Reck [Fri, 14 Nov 2014 22:03:31 +0000 (22:03 +0000)]
Merge "Document that circular reveal is async" into lmp-mr1-dev

9 years agoDocument that circular reveal is async
John Reck [Fri, 14 Nov 2014 21:33:24 +0000 (13:33 -0800)]
Document that circular reveal is async

Bug: 18058966
Change-Id: I64b35441f12bec433f633580319ec73c1e11e7a2

9 years agoMerge "CEC: Fix a bug in HdmiPortInfo.createFromParcel()." into lmp-mr1-dev
Yuncheol Heo [Fri, 14 Nov 2014 21:50:19 +0000 (21:50 +0000)]
Merge "CEC: Fix a bug in HdmiPortInfo.createFromParcel()." into lmp-mr1-dev

9 years agoMerge "Volume: Move "Muted by" string from sysui to frameworks." into lmp-mr1-dev
John Spurlock [Fri, 14 Nov 2014 21:41:41 +0000 (21:41 +0000)]
Merge "Volume: Move "Muted by" string from sysui to frameworks." into lmp-mr1-dev

9 years agoMerge "Reduce spammy PackageManager critical logs." into lmp-mr1-dev
Jeff Sharkey [Fri, 14 Nov 2014 21:06:45 +0000 (21:06 +0000)]
Merge "Reduce spammy PackageManager critical logs." into lmp-mr1-dev

9 years agoMerge "Fix NPE in DropBoxManagerService.dump()" into lmp-mr1-dev
Jeff Sharkey [Fri, 14 Nov 2014 21:06:20 +0000 (21:06 +0000)]
Merge "Fix NPE in DropBoxManagerService.dump()" into lmp-mr1-dev

9 years agoMerge "Check bounds on CharSequence drawText methods" into lmp-mr1-dev
Raph Levien [Fri, 14 Nov 2014 20:54:27 +0000 (20:54 +0000)]
Merge "Check bounds on CharSequence drawText methods" into lmp-mr1-dev

9 years agoMerge "Update hint text color even when text present" into lmp-mr1-dev
Raph Levien [Fri, 14 Nov 2014 20:53:11 +0000 (20:53 +0000)]
Merge "Update hint text color even when text present" into lmp-mr1-dev

9 years agoMerge "Fudge clipRect in TextView for extra cursor width" into lmp-mr1-dev
Raph Levien [Fri, 14 Nov 2014 20:51:55 +0000 (20:51 +0000)]
Merge "Fudge clipRect in TextView for extra cursor width" into lmp-mr1-dev

9 years agoReduce spammy PackageManager critical logs.
Jeff Sharkey [Fri, 14 Nov 2014 19:41:18 +0000 (11:41 -0800)]
Reduce spammy PackageManager critical logs.

Bug: 18390552
Change-Id: I66e34e6ebf3f644f8585056b9701b7f4582d777e

9 years agoVolume: Move "Muted by" string from sysui to frameworks.
John Spurlock [Fri, 14 Nov 2014 19:35:01 +0000 (14:35 -0500)]
Volume: Move "Muted by" string from sysui to frameworks.

To enable sharing with Settings.

Bug: 17461563
Change-Id: Icdb5f85eb4bcaa1ead7d77c1460e06ad3f0604d5

9 years agoFixing regression in screen pinning button visibility. (Bug 18390050)
Winson Chung [Fri, 14 Nov 2014 19:30:39 +0000 (11:30 -0800)]
Fixing regression in screen pinning button visibility. (Bug 18390050)

9 years agoMerge "Block loading WebView in privileged processes." into lmp-mr1-dev
Jeff Sharkey [Fri, 14 Nov 2014 19:24:51 +0000 (19:24 +0000)]
Merge "Block loading WebView in privileged processes." into lmp-mr1-dev

9 years agoam 04b393a8: am d35b8587: am 5e5af93b: remove preview system image links bug: 18376658
smain@google.com [Fri, 14 Nov 2014 19:06:43 +0000 (19:06 +0000)]
am 04b393a8: am d35b8587: am 5e5af93b: remove preview system image links bug: 18376658

* commit '04b393a812bbbe9975df6e7d20514c797398d571':
  remove preview system image links bug: 18376658

9 years agoBlock loading WebView in privileged processes.
Jeff Sharkey [Fri, 14 Nov 2014 00:20:38 +0000 (16:20 -0800)]
Block loading WebView in privileged processes.

WebView is very powerful, but it also has a large attack area.  To
improve security, refuse to load WebView components when running as
the root or system UIDs.

Bug: 18376908
Change-Id: I515b819033586076b1a9668023bb43ee0295d003

9 years agoam d35b8587: am 5e5af93b: remove preview system image links bug: 18376658
smain@google.com [Fri, 14 Nov 2014 19:00:09 +0000 (19:00 +0000)]
am d35b8587: am 5e5af93b: remove preview system image links bug: 18376658

* commit 'd35b858706ab7d7ec4685fa384ca3cd42d1ec316':
  remove preview system image links bug: 18376658

9 years agoam 5e5af93b: remove preview system image links bug: 18376658
smain@google.com [Fri, 14 Nov 2014 18:53:39 +0000 (18:53 +0000)]
am 5e5af93b: remove preview system image links bug: 18376658

* commit '5e5af93b962c5ec97f7c2b841d4e9076904dd544':
  remove preview system image links bug: 18376658

9 years agoMerge "Camera: doc update for independent 3A" into lmp-mr1-dev
Yin-Chia Yeh [Fri, 14 Nov 2014 18:36:32 +0000 (18:36 +0000)]
Merge "Camera: doc update for independent 3A" into lmp-mr1-dev

9 years agoremove preview system image links
smain@google.com [Fri, 14 Nov 2014 18:12:53 +0000 (10:12 -0800)]
remove preview system image links
bug: 18376658

Change-Id: I5f0e79e4261a004a84a09c0095d77f985abdf868

9 years agoMerge "AudioRecorder read buffer overflow" into lmp-mr1-dev
Eric Laurent [Fri, 14 Nov 2014 17:42:45 +0000 (17:42 +0000)]
Merge "AudioRecorder read buffer overflow" into lmp-mr1-dev

9 years agoMerge "Fixing crash in querying the task stack from a fresh load plan. (Bug 18371946...
Winson Chung [Fri, 14 Nov 2014 17:32:28 +0000 (17:32 +0000)]
Merge "Fixing crash in querying the task stack from a fresh load plan. (Bug 18371946)" into lmp-mr1-dev

9 years agoMerge "Added synchronization to handlePackagesChanged method" into lmp-mr1-dev
Fyodor Kupolov [Fri, 14 Nov 2014 17:26:05 +0000 (17:26 +0000)]
Merge "Added synchronization to handlePackagesChanged method" into lmp-mr1-dev

9 years agoMerge "Delay connecting to MmsService until APIs are called for imms" into lmp-mr1-dev
Ye Wen [Fri, 14 Nov 2014 17:22:10 +0000 (17:22 +0000)]
Merge "Delay connecting to MmsService until APIs are called for imms" into lmp-mr1-dev

9 years agoam 33d92c56: Use package name as custom resolver process name
Craig Mautner [Fri, 14 Nov 2014 16:31:20 +0000 (16:31 +0000)]
am 33d92c56: Use package name as custom resolver process name

* commit '33d92c56781f6058c9e682737a06c41f3a2d2f3a':
  Use package name as custom resolver process name

9 years agoUse package name as custom resolver process name
Craig Mautner [Fri, 14 Nov 2014 00:17:17 +0000 (16:17 -0800)]
Use package name as custom resolver process name

The process name was being assigned null. This meant that after the
process attached we weren't matching the name in
ActivityStackSupervisor.attachApplicationLocked(). That meant missing
the call to realStartActivityLocked() and then the resolver didn't
start until window manager timed out and resumeTopActivity was
called five seconds later.

Fixes bug 18301267.

Change-Id: If3721caeebb309c6054150b2f707e3d6e38a74d2

9 years agoMerge "SysUI: Add basic test coverage for signal levels" into lmp-mr1-dev
Jason Monk [Fri, 14 Nov 2014 14:50:01 +0000 (14:50 +0000)]
Merge "SysUI: Add basic test coverage for signal levels" into lmp-mr1-dev

9 years agoNew AccountManager method to copy accounts between users.
Esteban Talavera [Fri, 31 Oct 2014 15:41:12 +0000 (15:41 +0000)]
New AccountManager method to copy accounts between users.

Adding the copyAccountToUser method which copies an account
along with its credentials to a different user.

Also an extra in the public api to identify the account to migrate
during provisioning.

Bug: 17716971
Change-Id: I2f29f1765ba0d360a3894b13ef86253b7c7d3284

9 years agoMerge "Add extra to enable device admins to skip removal of system apps." into lmp...
Sander Alewijnse [Fri, 14 Nov 2014 10:26:35 +0000 (10:26 +0000)]
Merge "Add extra to enable device admins to skip removal of system apps." into lmp-mr1-dev

9 years agoam cd22c3d6: Merge "Sets windowOverscan for all Wear DeviceDefault themes." into...
Mark Renouf [Fri, 14 Nov 2014 02:14:29 +0000 (02:14 +0000)]
am cd22c3d6: Merge "Sets windowOverscan for all Wear DeviceDefault themes." into lmp-sprout-dev

* commit 'cd22c3d67c98a6ac98291c3337e6506546e771be':
  Sets windowOverscan for all Wear DeviceDefault themes.

9 years agoMerge "Sets windowOverscan for all Wear DeviceDefault themes." into lmp-sprout-dev
Mark Renouf [Fri, 14 Nov 2014 02:04:29 +0000 (02:04 +0000)]
Merge "Sets windowOverscan for all Wear DeviceDefault themes." into lmp-sprout-dev

9 years agoMerge "Ignore accessibility overlays during visible window computation" into lmp...
Alan Viverette [Fri, 14 Nov 2014 01:52:14 +0000 (01:52 +0000)]
Merge "Ignore accessibility overlays during visible window computation" into lmp-mr1-dev

9 years agoMerge "Set current degrees when updating RotateDrawable from typed array" into lmp...
Alan Viverette [Fri, 14 Nov 2014 01:52:12 +0000 (01:52 +0000)]
Merge "Set current degrees when updating RotateDrawable from typed array" into lmp-mr1-dev

9 years agoMerge "Account for window bounds in accessibility view click point computation" into...
Alan Viverette [Fri, 14 Nov 2014 01:45:56 +0000 (01:45 +0000)]
Merge "Account for window bounds in accessibility view click point computation" into lmp-mr1-dev

9 years agoTeach bmgr that "android" is a valid package name
Christopher Tate [Fri, 14 Nov 2014 00:36:33 +0000 (16:36 -0800)]
Teach bmgr that "android" is a valid package name

Bug 18379037

Change-Id: I4d6da2893f83e672920bbda9447aa4cbd1ecec7b

9 years agoam f21e7d31: am aa3a93ed: am 67b0ac71: Merge "docs: Clarifies the difference between...
Sarah Maddox [Fri, 14 Nov 2014 00:21:14 +0000 (00:21 +0000)]
am f21e7d31: am aa3a93ed: am 67b0ac71: Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs

* commit 'f21e7d31582b404e479d9a594f192e67e2b95d8f':
  docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length.

9 years agoSets windowOverscan for all Wear DeviceDefault themes.
Mark Renouf [Thu, 13 Nov 2014 23:58:59 +0000 (18:58 -0500)]
Sets windowOverscan for all Wear DeviceDefault themes.

Without this flag, window insets will be consumed by the first View
which does not explicitly override onApplyWindowInsets. This is either
SwipeDismissLayout or the content view of the activity (if swipeDismiss
is not enabled).

BUG: 18376451
Change-Id: I5e590bad9810a9a232a6c318f715d587a3290f34

9 years agoam aa3a93ed: am 67b0ac71: Merge "docs: Clarifies the difference between the Android...
Sarah Maddox [Fri, 14 Nov 2014 00:09:12 +0000 (00:09 +0000)]
am aa3a93ed: am 67b0ac71: Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs

* commit 'aa3a93ede76b46ef6ca0daa18ca9a6cd77c26f66':
  docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length.

9 years agoam 67b0ac71: Merge "docs: Clarifies the difference between the Android framework...
Sarah Maddox [Fri, 14 Nov 2014 00:02:38 +0000 (00:02 +0000)]
am 67b0ac71: Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs

* commit '67b0ac719a87ba52c849a6cf055ef235f230dd6e':
  docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length.

9 years agoMerge "docs: Clarifies the difference between the Android framework location APIs...
Sarah Maddox [Thu, 13 Nov 2014 23:57:29 +0000 (23:57 +0000)]
Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs

9 years agoDon't animate screen brightness if there is a pending off transition
Prashant Malani [Thu, 13 Nov 2014 22:04:00 +0000 (14:04 -0800)]
Don't animate screen brightness if there is a pending off transition

When the DisplayPowerRequest policy is POLICY_OFF, a screen state
transition animation to DISPLAY_OFF is intiated. However, in
updatePowerState() the screen brightness setting, based on the current
display state, is set to normal brightness and an animation is
triggered. This causes a transient flash on some devices, which are
transitioning from a dimmed screen to screen off.

This change checks for a pending screen off transition before
triggering a screen brightness animation, to prevent the flashes.

Bug: 18136235
Change-Id: I37f9fb28b3ec8a4fdbb45920c40d25ebd50c220b

9 years agocamera2: Add READ_SETTINGS capability.
Ruben Brunk [Tue, 11 Nov 2014 20:00:34 +0000 (12:00 -0800)]
camera2: Add READ_SETTINGS capability.

Bug: 18281970
Change-Id: I28be92a85f0a843c690f9ff49263440cd871e40d

9 years agoSet current degrees when updating RotateDrawable from typed array
Alan Viverette [Thu, 13 Nov 2014 23:14:36 +0000 (15:14 -0800)]
Set current degrees when updating RotateDrawable from typed array

This regressed after enabling theming in RotateDrawable.

BUG: 18288235
Change-Id: I61a7b2c178253ed2d550fa0636e27e021ac9eb64

9 years agoIgnore accessibility overlays during visible window computation
Alan Viverette [Thu, 13 Nov 2014 22:49:20 +0000 (14:49 -0800)]
Ignore accessibility overlays during visible window computation

Previously, the conditional for checking the layer type before
accounting for the window bounds was incorrectly inverted, but
we can simplify by just skipping accessibility overlay windows
completely.

BUG: 18358878
BUG: 18359820
BUG: 18359788
Change-Id: I9ba1e43a0fef4fa40693bd8c7e883c2ef45b4c4d

9 years agoMerge "Add offset method to Outline" into lmp-mr1-dev
Chris Craik [Thu, 13 Nov 2014 22:46:20 +0000 (22:46 +0000)]
Merge "Add offset method to Outline" into lmp-mr1-dev

9 years agoMerge "Don't dismiss AutoCompleteTextView on focus change while temp detached" into...
Alan Viverette [Thu, 13 Nov 2014 22:45:10 +0000 (22:45 +0000)]
Merge "Don't dismiss AutoCompleteTextView on focus change while temp detached" into lmp-mr1-dev

9 years agoMerge "Make indeterminate progress alpha consistent with determinate" into lmp-mr1-dev
Alan Viverette [Thu, 13 Nov 2014 22:44:11 +0000 (22:44 +0000)]
Merge "Make indeterminate progress alpha consistent with determinate" into lmp-mr1-dev

9 years agoMerge "Fix the starting pen's position when a path close." into lmp-mr1-dev
ztenghui [Thu, 13 Nov 2014 22:41:53 +0000 (22:41 +0000)]
Merge "Fix the starting pen's position when a path close." into lmp-mr1-dev

9 years agoMerge "fix crash on invalid base64 key" into lmp-mr1-dev
Nick Kralevich [Thu, 13 Nov 2014 22:37:01 +0000 (22:37 +0000)]
Merge "fix crash on invalid base64 key" into lmp-mr1-dev

9 years agoam 90bdbe8c: am 30aee7fc: am feb1347b: Merge "Doc update: new reg error code + snippe...
kmccormick [Thu, 13 Nov 2014 22:34:03 +0000 (22:34 +0000)]
am 90bdbe8c: am 30aee7fc: am feb1347b: Merge "Doc update: new reg error code + snippet" into lmp-docs

* commit '90bdbe8c999df88330b28daa492eeb4425863dab':
  Doc update: new reg error code + snippet

9 years agoFixing crash in querying the task stack from a fresh load plan. (Bug 18371946)
Winson Chung [Thu, 13 Nov 2014 22:30:26 +0000 (14:30 -0800)]
Fixing crash in querying the task stack from a fresh load plan. (Bug 18371946)

9 years agoam 30aee7fc: am feb1347b: Merge "Doc update: new reg error code + snippet" into lmp...
kmccormick [Thu, 13 Nov 2014 22:29:45 +0000 (22:29 +0000)]
am 30aee7fc: am feb1347b: Merge "Doc update: new reg error code + snippet" into lmp-docs

* commit '30aee7fccbbcbdd09ca9393636316813e222ba62':
  Doc update: new reg error code + snippet

9 years agoam feb1347b: Merge "Doc update: new reg error code + snippet" into lmp-docs
kmccormick [Thu, 13 Nov 2014 22:24:44 +0000 (22:24 +0000)]
am feb1347b: Merge "Doc update: new reg error code + snippet" into lmp-docs

* commit 'feb1347b2b411be03c640e8d61bfc3b428932e31':
  Doc update: new reg error code + snippet

9 years agoMerge "Doc update: new reg error code + snippet" into lmp-docs
kmccormick [Thu, 13 Nov 2014 22:21:01 +0000 (22:21 +0000)]
Merge "Doc update: new reg error code + snippet" into lmp-docs

9 years agoMerge "Move ringtone redirection to MediaPlayer." into lmp-mr1-dev
Jeff Sharkey [Thu, 13 Nov 2014 22:16:14 +0000 (22:16 +0000)]
Merge "Move ringtone redirection to MediaPlayer." into lmp-mr1-dev

9 years agoMerge "new sms/mms carrier app API" into lmp-mr1-dev
Abhijith Shastry [Thu, 13 Nov 2014 22:15:44 +0000 (22:15 +0000)]
Merge "new sms/mms carrier app API" into lmp-mr1-dev

9 years agoMake indeterminate progress alpha consistent with determinate
Alan Viverette [Thu, 13 Nov 2014 22:04:32 +0000 (14:04 -0800)]
Make indeterminate progress alpha consistent with determinate

Both should match the default disabledAlpha for controls.

BUG: 15900514
Change-Id: Ie7c801bc208a14f14926d38b462f49d1f91b28d0

9 years agoMove ringtone redirection to MediaPlayer.
Jeff Sharkey [Wed, 12 Nov 2014 18:39:56 +0000 (10:39 -0800)]
Move ringtone redirection to MediaPlayer.

Way back in API 1 we defined Settings.System.DEFAULT_NOTIFICATION_URI
which redirects through SettingsProvider before finally ariving at
the real underlying ContentProvider, usually MediaStore.

With new SELinux rules, we're no longer allowing the system_server
to hold open FDs to shared storage devices, which causes these
proxied openFile() calls to fail.

To work around this, teach MediaPlayer to resolve the final ringtone
Uri without going through the system.

Bug: 18226181
Change-Id: I40c68617c952c0bb3e939e5084f5b68a35e31ae3

9 years agoCEC: Fix a bug in HdmiPortInfo.createFromParcel().
Yuncheol Heo [Thu, 13 Nov 2014 21:43:31 +0000 (06:43 +0900)]
CEC: Fix a bug in HdmiPortInfo.createFromParcel().

- Added equals() for the testing.

Bug: 18376178
Change-Id: Icc7d5fe78b3132bf51754fc3bb0d5a40e0d3b20a

9 years agoDon't dismiss AutoCompleteTextView on focus change while temp detached
Alan Viverette [Thu, 13 Nov 2014 20:59:37 +0000 (12:59 -0800)]
Don't dismiss AutoCompleteTextView on focus change while temp detached

This is consistent with how TextView handles focus changes while
temporarily detached and prevents the suggestion popup from being
dismissed during layout when the AutoCompleteTextView is used
within a ListView.

BUG: 18364277
Change-Id: I8ca6fb9dba63b49a84a60a606bc441446c083cee

9 years agoam 4cc7bbc9: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Geoff Mendal [Thu, 13 Nov 2014 20:58:23 +0000 (20:58 +0000)]
am 4cc7bbc9: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

* commit '4cc7bbc9fd937c6f25962fd6971e77773114aff2':
  Import translations. DO NOT MERGE

9 years agoam 24c1d664: Merge "Remove an unnecessary condition from previous change." into lmp...
Jeff Brown [Thu, 13 Nov 2014 20:58:19 +0000 (20:58 +0000)]
am 24c1d664: Merge "Remove an unnecessary condition from previous change." into lmp-sprout-dev

* commit '24c1d664c4f95a8c997bfc4683844e05b788c3db':
  Remove an unnecessary condition from previous change.

9 years agoam 1cbff0e3: Merge "Improve screen brightness boost behavior." into lmp-sprout-dev
Jeff Brown [Thu, 13 Nov 2014 20:58:15 +0000 (20:58 +0000)]
am 1cbff0e3: Merge "Improve screen brightness boost behavior." into lmp-sprout-dev

* commit '1cbff0e310b0fba6b25ca1c1e14eaefeabdee0d9':
  Improve screen brightness boost behavior.

9 years agoam ee291ca2: am 6f41522d: am c9fc837f: Add new samples to what\'s new page.
Renato Mangini [Thu, 13 Nov 2014 20:58:03 +0000 (20:58 +0000)]
am ee291ca2: am 6f41522d: am c9fc837f: Add new samples to what\'s new page.

* commit 'ee291ca2ce4092aaae556ebda46daf7337506f74':
  Add new samples to what's new page.

9 years agoFix the starting pen's position when a path close.
ztenghui [Thu, 13 Nov 2014 00:19:03 +0000 (16:19 -0800)]
Fix the starting pen's position when a path close.

We have to cache the starting point for the latest "move", then apply it after
we close the path.

b/18214929

Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662

9 years agoFudge clipRect in TextView for extra cursor width
Raph Levien [Thu, 13 Nov 2014 20:36:49 +0000 (12:36 -0800)]
Fudge clipRect in TextView for extra cursor width

There are a number of cases (most commonly cursor at start of line in
RTL direction) where the cursor extends past the right edge of the
clipRect. This patch adds approximately 1dp on the right side of the
clip, so that the cursor doesn't get clipped.

Bug: 18035274
Change-Id: I489825a91750742c28e445f54f9d27000accbcfb

9 years agoFix NPE in DropBoxManagerService.dump()
Jeff Sharkey [Thu, 13 Nov 2014 20:28:46 +0000 (12:28 -0800)]
Fix NPE in DropBoxManagerService.dump()

Bug: 18374803
Change-Id: Id1f66a0887d1584f97b127e837a4fad31f7d9d57

9 years agoMerge "Zen: Update condition text for current condition." into lmp-mr1-dev
John Spurlock [Thu, 13 Nov 2014 20:20:23 +0000 (20:20 +0000)]
Merge "Zen: Update condition text for current condition." into lmp-mr1-dev

9 years agoMerge "Make package verifier broadcasts foreground." into lmp-mr1-dev
Jeff Sharkey [Thu, 13 Nov 2014 20:17:30 +0000 (20:17 +0000)]
Merge "Make package verifier broadcasts foreground." into lmp-mr1-dev

9 years agoMake package verifier broadcasts foreground.
Jeff Sharkey [Thu, 13 Nov 2014 20:13:53 +0000 (12:13 -0800)]
Make package verifier broadcasts foreground.

We're using ordered broadcasts (sigh!) for package verification, and
we could be stuck behind dozens of other background broadcasts, so
hoist into foreground queue.

Bug: 18356768
Change-Id: Ib4abf771db0147f8fbd7227f32297602816c84ae

9 years agoCamera: doc update for independent 3A
Yin-Chia Yeh [Wed, 12 Nov 2014 19:42:49 +0000 (11:42 -0800)]
Camera: doc update for independent 3A

Bug: 18281970
Change-Id: I12f8b4fcbabe473b076464eaf9b7617a5ec586d3

9 years agoMerge "[RemoveAccount API]: Adding support for intent." into lmp-mr1-dev
Simranjit Singh Kohli [Thu, 13 Nov 2014 19:18:28 +0000 (19:18 +0000)]
Merge "[RemoveAccount API]: Adding support for intent." into lmp-mr1-dev

9 years agoMerge "Cancel or drop key events if activity is stopped." into lmp-mr1-dev
Wale Ogunwale [Thu, 13 Nov 2014 19:00:05 +0000 (19:00 +0000)]
Merge "Cancel or drop key events if activity is stopped." into lmp-mr1-dev

9 years agoMerge "Support for delayed audio focus" into lmp-mr1-dev
Jean-Michel Trivi [Thu, 13 Nov 2014 18:47:32 +0000 (18:47 +0000)]
Merge "Support for delayed audio focus" into lmp-mr1-dev

9 years agoAdd extra to enable device admins to skip removal of system apps.
Sander Alewijnse [Wed, 12 Nov 2014 18:03:11 +0000 (18:03 +0000)]
Add extra to enable device admins to skip removal of system apps.

Bug:17369849
Change-Id: Ibc1c0f480c436c7075725f79ffaaf92832c1154a

9 years agoAudioRecorder read buffer overflow
Jon Eklund [Thu, 13 Nov 2014 15:57:17 +0000 (09:57 -0600)]
AudioRecorder read buffer overflow

Since function was changed from byte-native to short-native,
it's no longer necessary to multiply offset by sizeof(short).

Bug 18367580

Change-Id: I669d860334ba40e46c04e534d7008b9e2401d8cd

9 years agoMerge "Optimize setting padding and backgrounds for views" into lmp-mr1-dev
Adam Powell [Thu, 13 Nov 2014 18:12:52 +0000 (18:12 +0000)]
Merge "Optimize setting padding and backgrounds for views" into lmp-mr1-dev

9 years agoMerge "Use the suggested stream if it's currently active" into lmp-mr1-dev
RoboErik [Thu, 13 Nov 2014 17:55:05 +0000 (17:55 +0000)]
Merge "Use the suggested stream if it's currently active" into lmp-mr1-dev

9 years agoMerge "MTP: Update JNI for new packet getters" into lmp-mr1-dev
Mike Lockwood [Thu, 13 Nov 2014 17:52:00 +0000 (17:52 +0000)]
Merge "MTP: Update JNI for new packet getters" into lmp-mr1-dev

9 years agoMTP: Update JNI for new packet getters
Mike Lockwood [Thu, 13 Nov 2014 17:40:42 +0000 (09:40 -0800)]
MTP: Update JNI for new packet getters

Bug:18113092
Change-Id: I5d7473af1b57235fbc078c297a309e4a301c9fbd

9 years agoMerge "Fix doze jank by removing a fullscreen layer of overdraw" into lmp-mr1-dev
Jorim Jaggi [Thu, 13 Nov 2014 17:02:16 +0000 (17:02 +0000)]
Merge "Fix doze jank by removing a fullscreen layer of overdraw" into lmp-mr1-dev

9 years agoFix doze jank by removing a fullscreen layer of overdraw
Jorim Jaggi [Tue, 11 Nov 2014 21:51:10 +0000 (22:51 +0100)]
Fix doze jank by removing a fullscreen layer of overdraw

Move all doze related stuff into DozeScrimController, and combine
both alpha values from the regular ScrimController and
DozeScrimController before applying it to a view. Move the black
background from NotificationPanelView to DozeScrimController, which
saves a fullscreen layer of overdraw during the transition.

Bug: 18238168
Change-Id: Ifb133bf4a0f8255f5c2f5e205509af339cac8c8f

9 years agoMerge "Fix wrong states when waking up from doze via touch" into lmp-mr1-dev
Jorim Jaggi [Thu, 13 Nov 2014 16:46:54 +0000 (16:46 +0000)]
Merge "Fix wrong states when waking up from doze via touch" into lmp-mr1-dev

9 years agoRevert "Debug for bug 18017409"
Craig Mautner [Thu, 13 Nov 2014 00:55:53 +0000 (00:55 +0000)]
Revert "Debug for bug 18017409"

The bug has been fixed. No longer needed.

This reverts commit 5a3c231dc832c205d2bb2f7f0881925b92c9e5e2.

Change-Id: I4a0dda5321f4eeb989c4c58951c43c8d62fd3664

9 years agoFix wrong states when waking up from doze via touch
Jorim Jaggi [Tue, 11 Nov 2014 22:16:28 +0000 (23:16 +0100)]
Fix wrong states when waking up from doze via touch

Bug: 18337222
Change-Id: I1cdc213a798ddac18b09accbbc31c59aa2a2d6fc

9 years agoZen: Update condition text for current condition.
John Spurlock [Wed, 12 Nov 2014 14:16:49 +0000 (09:16 -0500)]
Zen: Update condition text for current condition.

If the provider sends us an updated summary (or other text)
for the currently selected exit condition, update the UI and
persisted condition.

Update the downtime condition text (end time/line2 + summary)
when the next alarm changes (if downtime = none).

Also, clear the fired-alarm cache on time or time-zone resets.

Bug: 16373455
Change-Id: Ib38c52104a281fcc04a89612b643a219fd82b40b

9 years agoMerge "Update current.txt with the new extra" into lmp-mr1-dev
Alexandra Gherghina [Thu, 13 Nov 2014 15:31:09 +0000 (15:31 +0000)]
Merge "Update current.txt with the new extra" into lmp-mr1-dev

9 years agoMerge "[WebView] Allow the WebView to be compiled against the system SDK." into lmp...
Ignacio Solla [Thu, 13 Nov 2014 15:03:43 +0000 (15:03 +0000)]
Merge "[WebView] Allow the WebView to be compiled against the system SDK." into lmp-mr1-dev