OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Fix issue #17507017: took ~3 seconds to move an app to the foreground" into...
Dianne Hackborn [Wed, 17 Sep 2014 00:14:43 +0000 (00:14 +0000)]
Merge "Fix issue #17507017: took ~3 seconds to move an app to the foreground" into lmp-dev

9 years agoMerge "Fix issue #16662560: SingleTop activity is getting instantiated multiple time...
Dianne Hackborn [Wed, 17 Sep 2014 00:13:37 +0000 (00:13 +0000)]
Merge "Fix issue #16662560: SingleTop activity is getting instantiated multiple time" into lmp-dev

9 years agoMerge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev
Robert Greenwalt [Wed, 17 Sep 2014 00:06:02 +0000 (00:06 +0000)]
Merge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev

9 years agoAdd NetworkAgent event for ExplicitlySelected
Robert Greenwalt [Sun, 7 Sep 2014 23:50:01 +0000 (16:50 -0700)]
Add NetworkAgent event for ExplicitlySelected

Lets Wifi tell us when the user selected this AP vs auto-connected.

bug:17396168
Change-Id: I6e067ab62ed49040629aa31fe07ff880d3d542f0

9 years agoMerge "Fix broken dispatch of onApplyWindowInsets" into lmp-dev
Adrian Roos [Tue, 16 Sep 2014 23:42:38 +0000 (23:42 +0000)]
Merge "Fix broken dispatch of onApplyWindowInsets" into lmp-dev

9 years agoMerge "Pass different dy into dispatchNestedSCroll" into lmp-dev
Brian Attwell [Tue, 16 Sep 2014 23:33:23 +0000 (23:33 +0000)]
Merge "Pass different dy into dispatchNestedSCroll" into lmp-dev

9 years agoMerge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:25:07 +0000 (23:25 +0000)]
Merge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev

9 years agoMerge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:23:22 +0000 (23:23 +0000)]
Merge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev

9 years agoFix issue #16662560: SingleTop activity is getting instantiated multiple time
Dianne Hackborn [Tue, 16 Sep 2014 18:11:23 +0000 (11:11 -0700)]
Fix issue #16662560: SingleTop activity is getting instantiated multiple time

Introduce a concept of a "root affinity" to a task -- this is the
affinity of the initial activity in the task.  Use this instead of
the current affinity in findTaskLocked(), where we look for an
existing task to use for a NEW_TASK intent.

This changes the semantics of the new "relinquish task identity" mode
so that it doesn't relinquish the root affinity of the task.  This
means when we are in the old style application-based recents matching
of findTaskLocked(), we will never count these tasks as the same as
the application's tasks only because they have relinquished their
identity to that application.  This is probably okay, it is basically
putting a different line between new document-centric recents and
old application-centric recents when they are mixed together.

Change-Id: I73a22ead9bd08e98bf67ad035a017f828c6a6715

9 years agoMerge "Ensure we always have valid colors in CaptionStyle" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:20:27 +0000 (23:20 +0000)]
Merge "Ensure we always have valid colors in CaptionStyle" into lmp-dev

9 years agoMerge "Update the progress bar to square instead of round lineCap" into lmp-dev
ztenghui [Tue, 16 Sep 2014 23:18:36 +0000 (23:18 +0000)]
Merge "Update the progress bar to square instead of round lineCap" into lmp-dev

9 years agoMerge "Report Network status to NetworkAgent." into lmp-dev
Robert Greenwalt [Tue, 16 Sep 2014 22:59:31 +0000 (22:59 +0000)]
Merge "Report Network status to NetworkAgent." into lmp-dev

9 years agoMerge "Restore changes that were needed." into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 22:53:33 +0000 (22:53 +0000)]
Merge "Restore changes that were needed." into lmp-dev

9 years agoEnsure we always have valid colors in CaptionStyle
Alan Viverette [Tue, 16 Sep 2014 22:53:33 +0000 (15:53 -0700)]
Ensure we always have valid colors in CaptionStyle

BUG: 17521623
Change-Id: I861aa189970fc14dd3e4426e5487a14f373d3a2e

9 years agoMerge "Increase clock and calendar haptic feedback durations" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 22:50:44 +0000 (22:50 +0000)]
Merge "Increase clock and calendar haptic feedback durations" into lmp-dev

9 years agoRestore changes that were needed.
Craig Mautner [Tue, 16 Sep 2014 22:38:47 +0000 (15:38 -0700)]
Restore changes that were needed.

Reverting the changes in ag/548487 also reverted alanv's changes
in ag/547793. This restores alanv's changes.

Fixes build.

Change-Id: Ifa2aa928a3ad29fe49e52dbec4e4833538dfe7e9

9 years agoPass different dy into dispatchNestedSCroll
Brian Attwell [Tue, 16 Sep 2014 21:46:20 +0000 (14:46 -0700)]
Pass different dy into dispatchNestedSCroll

Bug: 16462679
Bug: 17529919
Change-Id: I328457a27507253cc7bfeab0e2daa4d4563aab17

9 years agoUpdate the progress bar to square instead of round lineCap
ztenghui [Tue, 16 Sep 2014 22:37:03 +0000 (15:37 -0700)]
Update the progress bar to square instead of round lineCap

b/17206751

Change-Id: I4125a1e677d2888ad1c3580dc44d5983e623cda7

9 years agoPreserve NPE behavior of removed TextView.getTextColors() API
Alan Viverette [Tue, 16 Sep 2014 22:41:27 +0000 (15:41 -0700)]
Preserve NPE behavior of removed TextView.getTextColors() API

BUG: 17511449
Change-Id: Iea7e9aed69c21b230e3c474d4c1378a8663cfcb1

9 years agoMerge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 22:16:29 +0000 (22:16 +0000)]
Merge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev

9 years agoRevert "Fix various bugs in DatePickerCalendarDelegate"
Craig Mautner [Tue, 16 Sep 2014 22:12:47 +0000 (22:12 +0000)]
Revert "Fix various bugs in DatePickerCalendarDelegate"

alanv@ fixed this yesterday.

This reverts commit 82537efa4c5f4aad12b9aa249fb27eda21647f39.

Change-Id: If2b91ee36f8b24f695200ac1a87a306246ee5e44

9 years agoIncrease clock and calendar haptic feedback durations
Alan Viverette [Tue, 16 Sep 2014 22:08:10 +0000 (15:08 -0700)]
Increase clock and calendar haptic feedback durations

Some devices don't handle sub-15ms vibration durations very well.

BUG: 17511995
Change-Id: I2212ed9f37f3446e6f4ac5985906294121d39a9d

9 years agoMerge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev
John Spurlock [Tue, 16 Sep 2014 21:54:01 +0000 (21:54 +0000)]
Merge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev

9 years agoMerge "Add new DisconnectCause class to telecomm." into lmp-dev
Andrew Lee [Tue, 16 Sep 2014 21:43:16 +0000 (21:43 +0000)]
Merge "Add new DisconnectCause class to telecomm." into lmp-dev

9 years agoMerge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 21:30:28 +0000 (21:30 +0000)]
Merge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev

9 years agoFix broken dispatch of onApplyWindowInsets
Adrian Roos [Tue, 16 Sep 2014 16:37:38 +0000 (18:37 +0200)]
Fix broken dispatch of onApplyWindowInsets

Fixes an issue where window insets were not further dispatched
if all happen to be zero. To prevent further dispatch, the
insets must now be consumed explicitly.

Bug: 17522145
Change-Id: Ia8f6c10c8369b58db7a7cf49f8bcc2cab8e304f1

9 years agoZen: Fix recent regression in mode selection after reboot.
John Spurlock [Tue, 16 Sep 2014 21:02:23 +0000 (17:02 -0400)]
Zen: Fix recent regression in mode selection after reboot.

Bug:17509473
Change-Id: I761cd90384c490c7ab07fb633133535846701ce6

9 years agoFix various bugs in DatePickerCalendarDelegate
Craig Mautner [Tue, 16 Sep 2014 20:57:59 +0000 (13:57 -0700)]
Fix various bugs in DatePickerCalendarDelegate

These bugs were exposed by cts DatePickerTest.

Fixes one item in 17459129.

Change-Id: Ifab52c6e6e760b75633aa4fe8ccf2d724f587e09

9 years agoMerge "Print preview disappearing on screen off/on." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 20:48:15 +0000 (20:48 +0000)]
Merge "Print preview disappearing on screen off/on." into lmp-dev

9 years agoMerge "Use Op package name when creating toasts" into lmp-dev
Amit Mahajan [Tue, 16 Sep 2014 20:47:23 +0000 (20:47 +0000)]
Merge "Use Op package name when creating toasts" into lmp-dev

9 years agoMerge "Always force list divider in DocumentsUI." into lmp-dev
Jeff Sharkey [Tue, 16 Sep 2014 19:44:14 +0000 (19:44 +0000)]
Merge "Always force list divider in DocumentsUI." into lmp-dev

9 years agoAdd new DisconnectCause class to telecomm.
Andrew Lee [Fri, 12 Sep 2014 00:33:16 +0000 (17:33 -0700)]
Add new DisconnectCause class to telecomm.

+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17

9 years agoPrint preview disappearing on screen off/on.
Svetoslav [Tue, 16 Sep 2014 18:53:15 +0000 (11:53 -0700)]
Print preview disappearing on screen off/on.

We were not clearing the tracked printer when the print activity is
paused and then not setting the tracked printer when the activity
is resumed.

bug:17525271

Change-Id: Ib0fb29006bfcf5ad03dce24b3407cd96dc421442

9 years agoMerge "Do not change fragments if print activity finishing." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 18:47:44 +0000 (18:47 +0000)]
Merge "Do not change fragments if print activity finishing." into lmp-dev

9 years agoAlways force list divider in DocumentsUI.
Jeff Sharkey [Tue, 16 Sep 2014 18:40:03 +0000 (11:40 -0700)]
Always force list divider in DocumentsUI.

DialogWhenLarge recently dropped the divider.

Bug: 17523958
Change-Id: I7ee3ce6853c01dbd3da6fc3e79ef02681b53df4c

9 years agoTIF: Re-connect the session on package update.
Ji-Hwan Lee [Tue, 16 Sep 2014 15:22:39 +0000 (00:22 +0900)]
TIF: Re-connect the session on package update.

When TIF client tries to connect a session while TV input is being
updated, updateServiceConnectionLocked() may fail to bindServiceAsUser()
and the session state may remain indefinitely until a client tries to
create another session to connect the service.  Reconnect the session by
calling updateServiceConnectionLocked() when package is updated.

Also, remove the session state when client dies before onSessionCreated().
This was causing the stale session in the above scenario (without
reconnection) to be connected to TIS even when client no longer exists.

Bug: 17518751
Change-Id: I5484df0d80c71649d22438521adf182ab59a6ce4

9 years agoMerge "Build LayoutLib tests with Java 6" into lmp-dev
Deepanshu Gupta [Tue, 16 Sep 2014 18:16:20 +0000 (18:16 +0000)]
Merge "Build LayoutLib tests with Java 6" into lmp-dev

9 years agoBuild LayoutLib tests with Java 6
Deepanshu Gupta [Tue, 16 Sep 2014 18:11:36 +0000 (11:11 -0700)]
Build LayoutLib tests with Java 6

Build the layoutlib tests with Java 6, so that we can test LayoutLib on
Java 6 also.

Change-Id: I8ab344af29c880dafdc195d8b061a1d08e724e26

9 years agoMerge "Properly handle dispatchRestoreInstanceState for new-style DatePicker" into...
Alan Viverette [Tue, 16 Sep 2014 17:55:30 +0000 (17:55 +0000)]
Merge "Properly handle dispatchRestoreInstanceState for new-style DatePicker" into lmp-dev

9 years agoMerge "Use RenderThread for navigation bar ripples" into lmp-dev
Jorim Jaggi [Tue, 16 Sep 2014 17:53:26 +0000 (17:53 +0000)]
Merge "Use RenderThread for navigation bar ripples" into lmp-dev

9 years agoUse RenderThread for navigation bar ripples
Jorim Jaggi [Mon, 15 Sep 2014 15:20:08 +0000 (17:20 +0200)]
Use RenderThread for navigation bar ripples

Bug: 17506181
Change-Id: Icf3b80f8c4bc29fe85313381d4019dda3ef85ea9

9 years agoDo not change fragments if print activity finishing.
Svetoslav [Tue, 16 Sep 2014 17:50:52 +0000 (10:50 -0700)]
Do not change fragments if print activity finishing.

It is possible that we try to switch framents after the print
activity finish method is called. In this state the activity
is going away and trying to perform a fragment operation throws.
Now if we are finishing no fragment opration is performed.

bug:17520007

Change-Id: I0dd935d3cdaeddca31fccf49bd5de97e878abb9d

9 years agoMerge "Fixed an RTL overlapping issue in volume settings." into lmp-dev
PauloftheWest [Tue, 16 Sep 2014 17:49:38 +0000 (17:49 +0000)]
Merge "Fixed an RTL overlapping issue in volume settings." into lmp-dev

9 years agoMerge "Fix static AID prefix registration." into lmp-dev
Martijn Coenen [Tue, 16 Sep 2014 17:40:29 +0000 (17:40 +0000)]
Merge "Fix static AID prefix registration." into lmp-dev

9 years agoFixed an RTL overlapping issue in volume settings.
PauloftheWest [Tue, 16 Sep 2014 17:29:51 +0000 (10:29 -0700)]
Fixed an RTL overlapping issue in volume settings.

Bug: 17468763
Change-Id: Iea9b769013e4551f8b523a08a229ed7804b275f5

9 years agoUse Op package name when creating toasts
Tony Hill [Tue, 16 Sep 2014 10:27:35 +0000 (11:27 +0100)]
Use Op package name when creating toasts

Some components may be running in processes other than their
base package using android:process directives. The op package
name must therefore be used otherwise the AppOps check will fail
due to a mismatch between the base package name and the UID.

Bug: 17431423
Change-Id: I429aa46066935b964151a2ec0854f0e14c117c4e

9 years agoFix static AID prefix registration.
Martijn Coenen [Tue, 16 Sep 2014 17:09:12 +0000 (10:09 -0700)]
Fix static AID prefix registration.

Bug: 16517161
Change-Id: Ibaddf8720907f1d28d44231d927f538628bbf9d0

9 years agoMerge "Properly redispatch systemUiVisibility flags" into lmp-dev
Adrian Roos [Tue, 16 Sep 2014 16:39:44 +0000 (16:39 +0000)]
Merge "Properly redispatch systemUiVisibility flags" into lmp-dev

9 years agoam 6641ddf6: am d00b110a: am e152b793: docs: remove fire and forget language from...
Robert Ly [Tue, 16 Sep 2014 16:24:17 +0000 (16:24 +0000)]
am 6641ddf6: am d00b110a: am e152b793: docs: remove fire and forget language from wear docs

* commit '6641ddf6711a7f521df6492db167598ec33d2487':
  docs: remove fire and forget language from wear docs

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 16 Sep 2014 15:18:22 +0000 (15:18 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

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

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

9 years agoMerge "AID prefix registration." into lmp-dev
Martijn Coenen [Tue, 16 Sep 2014 14:55:03 +0000 (14:55 +0000)]
Merge "AID prefix registration." into lmp-dev

9 years agoProperly redispatch systemUiVisibility flags
Adrian Roos [Mon, 15 Sep 2014 14:54:24 +0000 (16:54 +0200)]
Properly redispatch systemUiVisibility flags

Fixes two bugs introduced by change
I7bd32531130d199c0734ffcb800194e77b7e16c3:

When the system window insets consumed by DecorView
change as a result of changing flags, the insets must
be redispatched to the hierarchy.

Also fixes a bug where, as a result of removing the wrong
implication of the SYSTEM_UI_FLAG_LAYOUT_STABLE flag by
FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS, the status bar was
being forced to black when returning from recents.

Bug: 17489047
Bug: 15046646
Change-Id: I127b0ff3b17c4873a7c28d67020f84298ed09db2

9 years agoDoze: Workaround vibration-related pickup gestures.
John Spurlock [Tue, 16 Sep 2014 13:12:03 +0000 (09:12 -0400)]
Doze: Workaround vibration-related pickup gestures.

Ensure the pickup is registered a safe period of time after the
last notification before resetting the notification pulse schedule.

Bug:17496795
Change-Id: I0edc9bcbdf078cbf55df5935744a3eee7e902b5d

9 years agoMerge "Make the playback device pass CEC CTS." into lmp-dev
Yuncheol Heo [Tue, 16 Sep 2014 07:41:22 +0000 (07:41 +0000)]
Merge "Make the playback device pass CEC CTS." into lmp-dev

9 years agoMake the playback device pass CEC CTS.
Yuncheol Heo [Tue, 16 Sep 2014 06:53:59 +0000 (15:53 +0900)]
Make the playback device pass CEC CTS.

- Clear the logical address on the hotplug event.
- Don't reset mIsActiveSource flag on the hotplug event.

Bug: 17517438
Change-Id: Id129a9cce30323090ce21bbfc188b955bd32755b

9 years agoMerge "Missing or wrong pages in preview when scorlling large docs." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 06:19:58 +0000 (06:19 +0000)]
Merge "Missing or wrong pages in preview when scorlling large docs." into lmp-dev

9 years agoMissing or wrong pages in preview when scorlling large docs.
Svetoslav [Tue, 16 Sep 2014 04:03:28 +0000 (21:03 -0700)]
Missing or wrong pages in preview when scorlling large docs.

The bound pages in the adapter were not properly tracked, more
specifically we did not remove pages from the bound set ending
up in a bad state. Also when the printer changes and if the
new one has different page size the content disappears due to
us not notifying for the data set change.

bug:17515670

Change-Id: Iac74e864609012f6804584fa133e87c27dc186a5

9 years agoMerge "Set user agent for XTRA download according to carrier specification. Bug:...
Tsuwei Chen [Tue, 16 Sep 2014 03:50:00 +0000 (03:50 +0000)]
Merge "Set user agent for XTRA download according to carrier specification. Bug: 17056380 Change-Id: Iacb90d4780f35fa6875702889d4a5f02610768b7" into lmp-dev

9 years agoProperly handle dispatchRestoreInstanceState for new-style DatePicker
Alan Viverette [Tue, 16 Sep 2014 02:27:55 +0000 (19:27 -0700)]
Properly handle dispatchRestoreInstanceState for new-style DatePicker

Fixes reversed day/month/year in restore instance state.

BUG: 17514055
Change-Id: Id839f2f0dbca47034dc84100dbeb1c32e8848178

9 years agoMerge "Page shredder callback invoked on the wrong thread." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 02:22:21 +0000 (02:22 +0000)]
Merge "Page shredder callback invoked on the wrong thread." into lmp-dev

9 years agoMerge "Update print preview when a printer becomes available" into lmp-dev
Svetoslav [Tue, 16 Sep 2014 02:21:58 +0000 (02:21 +0000)]
Merge "Update print preview when a printer becomes available" into lmp-dev

9 years agoPage shredder callback invoked on the wrong thread.
Svetoslav [Tue, 16 Sep 2014 01:28:51 +0000 (18:28 -0700)]
Page shredder callback invoked on the wrong thread.

The code executed in the shredder completion callback must
be called on the main thread but instead it was called on
another one. This led to a crash.

bug:17514533

Change-Id: Id9e86d38a90fedadc60f967b193470fd83eb3362

9 years agoFix TimePicker.setCurrentHour() when argument is 0
Alan Viverette [Tue, 16 Sep 2014 01:54:10 +0000 (18:54 -0700)]
Fix TimePicker.setCurrentHour() when argument is 0

BUG: 17515453
Change-Id: Ie67db01ed3c574a23ec377de15e48aa1b4ae3709

9 years agoMerge "Fix volume change failure in HDMI-CEC system audio mode." into lmp-dev
Jungshik Jang [Tue, 16 Sep 2014 01:52:28 +0000 (01:52 +0000)]
Merge "Fix volume change failure in HDMI-CEC system audio mode." into lmp-dev

9 years agoMerge "Quick fix issue #17514851: dumpsys package <package-name> includes..." into...
Dianne Hackborn [Tue, 16 Sep 2014 01:34:23 +0000 (01:34 +0000)]
Merge "Quick fix issue #17514851: dumpsys package <package-name> includes..." into lmp-dev

9 years agoUpdate print preview when a printer becomes available
Svetoslav [Tue, 16 Sep 2014 01:17:21 +0000 (18:17 -0700)]
Update print preview when a printer becomes available

We laizily request printer capabilities and when they are reported
we were not updating the preview and as a result the content was not
rendered, hence pages showing an empty state.

bug:17514117

Change-Id: Icfee7eaa1ab63f5e4d7655d4057ef2110c27cd43

9 years agoMerge "Adds APIs for Bluetooth PBAP and MAP access permission." into lmp-dev
Edward Jee [Tue, 16 Sep 2014 01:19:18 +0000 (01:19 +0000)]
Merge "Adds APIs for Bluetooth PBAP and MAP access permission." into lmp-dev

9 years agoFix volume change failure in HDMI-CEC system audio mode.
Jungshik Jang [Mon, 15 Sep 2014 08:41:06 +0000 (17:41 +0900)]
Fix volume change failure in HDMI-CEC system audio mode.

In order to get volume change event, output device should not be
in fixed volume device. This change ignores CEC releated outputs
if system audio mode is on.

Along with this, fix invalid output from getStreamForDevice
as AudioPolicManager does.

Bug: 17502272
Change-Id: I7d4406caea7fa6617f17969dc61aabebb87ecf7d

9 years agoMerge "camera2-legacy: Fix jpeg thumbnail quality not being set" into lmp-dev
Igor Murashkin [Tue, 16 Sep 2014 00:58:23 +0000 (00:58 +0000)]
Merge "camera2-legacy: Fix jpeg thumbnail quality not being set" into lmp-dev

9 years agocamera2-legacy: Fix jpeg thumbnail quality not being set
Igor Murashkin [Tue, 16 Sep 2014 00:54:09 +0000 (17:54 -0700)]
camera2-legacy: Fix jpeg thumbnail quality not being set

Bug: 17472049
Change-Id: I6ce9f2bb07def86bc58b4b2495c58ee6762a65e1

9 years agoMerge "Show the lockscreen when more than 1 user is present" into lmp-dev
Adam Lesinski [Tue, 16 Sep 2014 00:50:22 +0000 (00:50 +0000)]
Merge "Show the lockscreen when more than 1 user is present" into lmp-dev

9 years agoMerge "Camera2: Check for sequence complete sooner." into lmp-dev
Eino-Ville Talvala [Tue, 16 Sep 2014 00:47:28 +0000 (00:47 +0000)]
Merge "Camera2: Check for sequence complete sooner." into lmp-dev

9 years agoShow the lockscreen when more than 1 user is present
Adam Lesinski [Mon, 15 Sep 2014 22:27:19 +0000 (15:27 -0700)]
Show the lockscreen when more than 1 user is present

Bug:17399024
Change-Id: Iaf2ea2747cbcd9db45ba9faa7c8fe0389a799855

9 years agoMerge "Always apply ImageView's tint attribute using SRC_ATOP by default" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 00:40:29 +0000 (00:40 +0000)]
Merge "Always apply ImageView's tint attribute using SRC_ATOP by default" into lmp-dev

9 years agoMerge "Reduce overdraw after clearing ripples in RippleDrawable" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 00:37:14 +0000 (00:37 +0000)]
Merge "Reduce overdraw after clearing ripples in RippleDrawable" into lmp-dev

9 years agoMerge "Minimize the number of default enabled IMEs part 3" into lmp-dev
Yohei Yukawa [Tue, 16 Sep 2014 00:19:52 +0000 (00:19 +0000)]
Merge "Minimize the number of default enabled IMEs part 3" into lmp-dev

9 years agoMerge "Fix a typo in comment." into lmp-dev
Ang Li [Tue, 16 Sep 2014 00:00:36 +0000 (00:00 +0000)]
Merge "Fix a typo in comment." into lmp-dev

9 years agoMerge "Treat empty string as title-set in ToolbarWidgetWrapper" into lmp-dev
Adam Powell [Mon, 15 Sep 2014 23:55:33 +0000 (23:55 +0000)]
Merge "Treat empty string as title-set in ToolbarWidgetWrapper" into lmp-dev

9 years agoMerge "Set cache dirty when re-create the cache bitmap" into lmp-dev
ztenghui [Mon, 15 Sep 2014 23:46:03 +0000 (23:46 +0000)]
Merge "Set cache dirty when re-create the cache bitmap" into lmp-dev

9 years agoMerge "Finish materializing dialogs" into lmp-dev
Adam Powell [Mon, 15 Sep 2014 23:41:56 +0000 (23:41 +0000)]
Merge "Finish materializing dialogs" into lmp-dev

9 years agoSet cache dirty when re-create the cache bitmap
ztenghui [Mon, 15 Sep 2014 23:36:07 +0000 (16:36 -0700)]
Set cache dirty when re-create the cache bitmap

b/17503595

Change-Id: Icdaa3651345b740772363f8afb29bb36741fcc87

9 years agoQuick fix issue #17514851: dumpsys package <package-name> includes...
Dianne Hackborn [Mon, 15 Sep 2014 23:40:07 +0000 (16:40 -0700)]
Quick fix issue #17514851: dumpsys package <package-name> includes...

...irrelevant install state at the end

Quick and dirty impl just doesn't print any of that data when filtering
by package name.  In the future that part of the dump should be smarter
to know how to filter by package name.  (Probably also moved to a place
earlier in the dump, so the key information -- the overall package
data -- is still at the end.)

Change-Id: I094f7c2f25401438a68a6aa00d10b19c19eb7c7d

9 years agoMerge "Document retry behavior for MediaCodec.CryptoException" into lmp-dev
Jeff Tinker [Mon, 15 Sep 2014 23:37:07 +0000 (23:37 +0000)]
Merge "Document retry behavior for MediaCodec.CryptoException" into lmp-dev

9 years agoTreat empty string as title-set in ToolbarWidgetWrapper
Adam Powell [Mon, 15 Sep 2014 23:36:01 +0000 (16:36 -0700)]
Treat empty string as title-set in ToolbarWidgetWrapper

If a developer explicitly sets the empty string as the title of a
Toolbar that is used as an action bar via Activity#setActionBar, don't
overwrite it with the window title. This clears up a nonintuitive
behavior when explicitly clearing the title of a toolbar.

Bug 17510951

Change-Id: I183c2ca57d3bd16ae1f89bb7daa2cdf086189138

9 years agoCamera2: Check for sequence complete sooner.
Eino-Ville Talvala [Mon, 15 Sep 2014 23:24:08 +0000 (16:24 -0700)]
Camera2: Check for sequence complete sooner.

It's possible, especially with legacy mode, for a last frame for a
sequence to have already arrived when a repeating sequence is stopped.

In that case, need to check for sequence complete as soon as the
requestId, framenumber pair is added to the pending queue of completions.

Bug: 17428716
Change-Id: Ie5c6ea5a43639c812b8441da326c6303e150fce0

9 years agoAlways apply ImageView's tint attribute using SRC_ATOP by default
Alan Viverette [Mon, 15 Sep 2014 23:25:09 +0000 (16:25 -0700)]
Always apply ImageView's tint attribute using SRC_ATOP by default

Preserves pre-L behavior and avoids requiring developers to manually
set the tintMode to SRC_ATOP when targeting SDK 21+.

BUG: 17507827
Change-Id: I43f86cbcb9662172254f46700441ca85a54428f6

9 years agoFix issue #17507017: took ~3 seconds to move an app to the foreground
Dianne Hackborn [Mon, 15 Sep 2014 23:21:55 +0000 (16:21 -0700)]
Fix issue #17507017: took ~3 seconds to move an app to the foreground

This is because of the 5 second timeout from when the user can bring
home to the foreground until regular third party apps can launch an
activity on top of it.  Activities launched from notifications look
like they are being launched by the app, so get impacted by the timeout.

Fix this be also looking at the actual caller to see if they are
allowed to pop in front regardless of the timeout.

Change-Id: I63fbc2bcabf585e6d2810a2309f0613fdf91fdf5

9 years agoMerge "Whoops, wait around for pm result." into lmp-dev
Jeff Sharkey [Mon, 15 Sep 2014 22:55:52 +0000 (22:55 +0000)]
Merge "Whoops, wait around for pm result." into lmp-dev

9 years agoMerge "No longer require READ_PHONE_STATE permission for getCallState" into lmp-dev
Yorke Lee [Mon, 15 Sep 2014 22:50:35 +0000 (22:50 +0000)]
Merge "No longer require READ_PHONE_STATE permission for getCallState" into lmp-dev

9 years agoNo longer require READ_PHONE_STATE permission for getCallState
Yorke Lee [Mon, 15 Sep 2014 22:46:57 +0000 (15:46 -0700)]
No longer require READ_PHONE_STATE permission for getCallState

Bug: 17510808
Change-Id: Id3bb5bf2fea9489bd613063aa946389e8ceb3104

9 years agoMerge "Avoid invalidating view during some outline invalidations" into lmp-dev
Chet Haase [Mon, 15 Sep 2014 22:40:03 +0000 (22:40 +0000)]
Merge "Avoid invalidating view during some outline invalidations" into lmp-dev

9 years agoAvoid invalidating view during some outline invalidations
Chet Haase [Mon, 15 Sep 2014 20:46:43 +0000 (13:46 -0700)]
Avoid invalidating view during some outline invalidations

We were invalidating the view during outline invalidation far
too often. Sometimes, it's appropriate to invalidate the view when
the outline changes, but not when the outline is being invalidated
in the middle of drawing the view, which is done in reaction to a view
invalidation.

Issue #17460940 Volantis: panning in Calendar from month to month is only at 30fps

Change-Id: I7bdee17dc9c7df89d4cd3d781010823cef931222

9 years agoSet user agent for XTRA download according to carrier specification.
Tsuwei Chen [Sat, 13 Sep 2014 22:00:40 +0000 (15:00 -0700)]
Set user agent for XTRA download according to carrier specification.
Bug: 17056380
Change-Id: Iacb90d4780f35fa6875702889d4a5f02610768b7

9 years agoFix a typo in comment.
Ang Li [Mon, 15 Sep 2014 21:44:01 +0000 (14:44 -0700)]
Fix a typo in comment.

Change-Id: I23224b1adf946ebec0ec7a39686913189c9b8287

9 years agoam d00b110a: am e152b793: docs: remove fire and forget language from wear docs
Robert Ly [Mon, 15 Sep 2014 22:03:04 +0000 (22:03 +0000)]
am d00b110a: am e152b793: docs: remove fire and forget language from wear docs

* commit 'd00b110a3b9991553806d196f1115a510a72210c':
  docs: remove fire and forget language from wear docs

9 years agoMerge "Update API naming to follow style guide." into lmp-dev
Jeff Sharkey [Mon, 15 Sep 2014 21:51:16 +0000 (21:51 +0000)]
Merge "Update API naming to follow style guide." into lmp-dev

9 years agoWhoops, wait around for pm result.
Jeff Sharkey [Mon, 15 Sep 2014 21:50:41 +0000 (14:50 -0700)]
Whoops, wait around for pm result.

poll() returns immediately; we want to take() to wait for the result
to actually arrive.

Bug: 17510699
Change-Id: I87669e79e9941480fed33e4cc8a38de793d59e90

9 years agoMerge "Add config option for permanent dpad presence." into lmp-dev
Michael Wright [Mon, 15 Sep 2014 21:38:39 +0000 (21:38 +0000)]
Merge "Add config option for permanent dpad presence." into lmp-dev