OSDN Git Service

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

9 years agoMerge "Enable shadow for GhostView" into lmp-dev
Chris Craik [Mon, 15 Sep 2014 21:32:04 +0000 (21:32 +0000)]
Merge "Enable shadow for GhostView" into lmp-dev

9 years agoFinish materializing dialogs
Adam Powell [Mon, 15 Sep 2014 21:30:23 +0000 (14:30 -0700)]
Finish materializing dialogs

Fix bottom spacing for dialogs with no button bar

Remove default dividers from dialog lists

Bug 17503404

Change-Id: Icdcaaad99f70a259ff3f892d6385257801e38437

9 years agoAdd config option for permanent dpad presence.
Michael Wright [Sun, 14 Sep 2014 21:55:16 +0000 (14:55 -0700)]
Add config option for permanent dpad presence.

Since all TV devices are required to have a DPad as a form of
navigation we should suppress any configuration instances where it
claims one doesn't exist just because it isn't currently connected.

This prevents applications from going through a configuration change
and potentially an app restart when a remote disconnects to save
battery.

Bug: 17493314
Change-Id: Ice87b7056984afe02917ccba9196fdbcac9985fc

9 years agoUpdate API naming to follow style guide.
Jeff Sharkey [Mon, 15 Sep 2014 21:04:56 +0000 (14:04 -0700)]
Update API naming to follow style guide.

Bug: 17510755
Change-Id: If73d81b416355559592feb895a62132194f4ba62

9 years agoMerge "Fix a crash in pring spooler." into lmp-dev
Svet Ganov [Mon, 15 Sep 2014 20:27:51 +0000 (20:27 +0000)]
Merge "Fix a crash in pring spooler." into lmp-dev

9 years agoMerge "Add system feature for ConnectionService API support (1/3)" into lmp-dev
Ihab Awad [Mon, 15 Sep 2014 20:14:50 +0000 (20:14 +0000)]
Merge "Add system feature for ConnectionService API support (1/3)" into lmp-dev

9 years agoMerge "Doze: Aggressively dial down notification-related pulses." into lmp-dev
John Spurlock [Mon, 15 Sep 2014 19:37:55 +0000 (19:37 +0000)]
Merge "Doze: Aggressively dial down notification-related pulses." into lmp-dev

9 years agoDoze: Aggressively dial down notification-related pulses.
John Spurlock [Sun, 14 Sep 2014 19:39:13 +0000 (15:39 -0400)]
Doze: Aggressively dial down notification-related pulses.

When dozing and buzz-worthy notifications arrive, don't follow
the LED logic with periodic pulses.

Instead, follow a simple decay schedule after the initial arrival,
 pulsing only at 10s, 30s, 60s, and 120s.

The schedule is reset when a new notification arrives, but only
for the first three times, until either the pickup sensor is
triggered or the device exits doze.

Also:
 - Make the notification trigger configurable.
 - Centralize existing sysprop configuration into DozeParameters.
 - Decouple vibration from debugging, make separately configurable.
 - Remove "delayed" pulse concept, fold into new schedule.

Bug:17496795
Change-Id: I64fc1c862bcfa1c288a4fd91c9d17e3bff245add

9 years agoReduce overdraw after clearing ripples in RippleDrawable
Alan Viverette [Mon, 15 Sep 2014 19:27:13 +0000 (12:27 -0700)]
Reduce overdraw after clearing ripples in RippleDrawable

We only need to force a transparent draw after canceling a render
thread accelerated animation, and then we can draw again without
the transparency to avoid overdraw in the display list.

BUG: 17451761
Change-Id: I640f9a29d0940a93802f14a15f27d2c2072755ce

9 years agoDocument retry behavior for MediaCodec.CryptoException
Jeff Tinker [Mon, 15 Sep 2014 18:47:16 +0000 (11:47 -0700)]
Document retry behavior for MediaCodec.CryptoException

bug: 17469693
Change-Id: I8cc204938b28451c638be017ebb499f525fcff50

9 years agoMerge "Set device admin on dpm set-device-owner command" into lmp-dev
Esteban Talavera [Mon, 15 Sep 2014 18:42:28 +0000 (18:42 +0000)]
Merge "Set device admin on dpm set-device-owner command" into lmp-dev

9 years agoMerge "Fixed OOM due to visibility transitions." into lmp-dev
George Mount [Mon, 15 Sep 2014 18:12:21 +0000 (18:12 +0000)]
Merge "Fixed OOM due to visibility transitions." into lmp-dev

9 years agoMerge "Fixed enter/exit transitions working against shared elements." into lmp-dev
George Mount [Mon, 15 Sep 2014 18:12:12 +0000 (18:12 +0000)]
Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev

9 years agoMerge "Camera2: Clean up corner case error handling" into lmp-dev
Eino-Ville Talvala [Mon, 15 Sep 2014 18:11:10 +0000 (18:11 +0000)]
Merge "Camera2: Clean up corner case error handling" into lmp-dev

9 years agoFixed enter/exit transitions working against shared elements.
George Mount [Sun, 14 Sep 2014 23:48:21 +0000 (16:48 -0700)]
Fixed enter/exit transitions working against shared elements.

Bug 17499971

The enter and exit transitions were targeting the shared element.
This means you'd get double transitions on the shared element.

Also, the enter transition was not properly initialized to have
an invalid target so it was targeting all views.

Change-Id: I4f3510c70bea90f09be01776bc0ad1ffb42d99d5

9 years agoFixed OOM due to visibility transitions.
George Mount [Fri, 12 Sep 2014 23:39:04 +0000 (16:39 -0700)]
Fixed OOM due to visibility transitions.

Have maximum size for Visibility transition bitmaps.

Also changed Visibility to avoid transitioning out child views
while transitioning out their parents.

Also moved view-to-bitmap code to common utility.

Bug 17469198

Change-Id: I05f069a267539b479da1b39cdad2cc9270c5c381

9 years agoMerge "Remove a minimum wake-up time for a job" into lmp-dev
Matthew Williams [Mon, 15 Sep 2014 17:56:50 +0000 (17:56 +0000)]
Merge "Remove a minimum wake-up time for a job" into lmp-dev

9 years agoMerge "Changed the swipe up search affordance" into lmp-dev
Selim Cinek [Mon, 15 Sep 2014 17:18:39 +0000 (17:18 +0000)]
Merge "Changed the swipe up search affordance" into lmp-dev

9 years agoAdd system feature for ConnectionService API support (1/3)
Ihab Awad [Fri, 12 Sep 2014 18:09:01 +0000 (11:09 -0700)]
Add system feature for ConnectionService API support (1/3)

Bug: 17445268
Change-Id: Ibf52cb394f00d075afd07b883a91f00da84b3c85

9 years agoMerge "Force isolation of clip and matrix within layer" into lmp-dev
Chris Craik [Mon, 15 Sep 2014 15:59:55 +0000 (15:59 +0000)]
Merge "Force isolation of clip and matrix within layer" into lmp-dev

9 years agoChanged the swipe up search affordance
Selim Cinek [Thu, 11 Sep 2014 13:11:00 +0000 (15:11 +0200)]
Changed the swipe up search affordance

The previous card animation is removed and replaced by a animating
circle with a shadow. Also fixes several cases where the card could
either get stuck and the affordance was not launched.

Bug: 17457300
Bug: 17444236
Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba

9 years agoMerge "Add hidden API for pausing and resuming NFC polling." into lmp-dev
Andres Morales [Mon, 15 Sep 2014 15:10:43 +0000 (15:10 +0000)]
Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev

9 years agoMerge "Fix priority for recent task thumbnail loader" into lmp-dev
Jorim Jaggi [Mon, 15 Sep 2014 15:02:40 +0000 (15:02 +0000)]
Merge "Fix priority for recent task thumbnail loader" into lmp-dev

9 years agoFix priority for recent task thumbnail loader
Jorim Jaggi [Mon, 15 Sep 2014 14:07:29 +0000 (16:07 +0200)]
Fix priority for recent task thumbnail loader

Follow up CL for Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93

Bug: 16513124
Change-Id: I3e95d0ae56a273c482db31b377f66fe7397d01f8

9 years agoMerge "Fix exit transitions hiding views permanently." into lmp-dev
George Mount [Mon, 15 Sep 2014 14:06:50 +0000 (14:06 +0000)]
Merge "Fix exit transitions hiding views permanently." into lmp-dev

9 years agoMerge "Fix cyclic mute" into lmp-dev
Jungshik Jang [Mon, 15 Sep 2014 12:36:24 +0000 (12:36 +0000)]
Merge "Fix cyclic mute" into lmp-dev

9 years agoMerge "Update briefcase icons" into lmp-dev
Alexandra Gherghina [Mon, 15 Sep 2014 11:45:59 +0000 (11:45 +0000)]
Merge "Update briefcase icons" into lmp-dev

9 years agoSet device admin on dpm set-device-owner command
Esteban Talavera [Fri, 12 Sep 2014 14:48:55 +0000 (15:48 +0100)]
Set device admin on dpm set-device-owner command

Bug: 17312478
Change-Id: I4ef730a97d603352eda77f04a2b00fa97c2be662

9 years agoFix cyclic mute
Jungshik Jang [Mon, 15 Sep 2014 08:48:41 +0000 (17:48 +0900)]
Fix cyclic mute

Bug: 17502271
Change-Id: I837315afce8193ac1948fffed66cbb8c755968e2

9 years agoAggressive tuning of recents memory usage
Jorim Jaggi [Fri, 12 Sep 2014 21:28:58 +0000 (23:28 +0200)]
Aggressive tuning of recents memory usage

Limit the thumbnail count to a maximum of 10 thumbnails and the app
icon count to a maximum of 20 thumbnails, instead of using a
byte-size based limit.

Also prune entries immediately when leaving recents.

Bug: 16513124
Change-Id: Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93

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

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

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

9 years agoMinimize the number of default enabled IMEs part 3
Yohei Yukawa [Sun, 14 Sep 2014 03:01:59 +0000 (12:01 +0900)]
Minimize the number of default enabled IMEs part 3

With this CL, the behavior of getDefaultEnabledImes() changes
as follows:

- Previously system IMEs are always enabled by default as long
  as it is a software keyboard that supports En_* subtype. With
  this CL, getDefaultEnabledImes() relies on the locale returned
  from getFallbackLocaleForDefaultIme() instead of calling
  isSystemImeThatHasEnglishKeyboardSubtype() to minimize the
  number of enabled IMEs.
- Previously default enabled system IMEs are chosen in a
  country-agnostic way. As a result, "en_IN" is enabled even
  when the system locale is "en_US". With this CL, the system
  first tries to find IMEs with taking the coutnry into account,
  and use the country-agnostic way when and only when fallback
  logic is required.

BUG: 17347871
Change-Id: I6571d464a46453934f0a8f5e79018a67a9a3c845

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 04:05:55 +0000 (21:05 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 04:04:22 +0000 (21:04 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 04:02:30 +0000 (21:02 -0700)]
Import translations. DO NOT MERGE

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

9 years agoFix a crash in pring spooler.
Svet Ganov [Mon, 15 Sep 2014 03:29:27 +0000 (20:29 -0700)]
Fix a crash in pring spooler.

If the printer capabilities are reported with a delay which is pretty
common we were trying to evaluate the preview page dimensions without
having a media size resulting in a NPE.

bug:17501953

Change-Id: I6765137f61b8fd060e9eabff07e632875d934963

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

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

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

9 years agoMerge "Remove unnecessary warning." into lmp-dev
Jungshik Jang [Mon, 15 Sep 2014 02:23:06 +0000 (02:23 +0000)]
Merge "Remove unnecessary warning." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 02:17:12 +0000 (19:17 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 02:12:57 +0000 (19:12 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 02:11:15 +0000 (19:11 -0700)]
Import translations. DO NOT MERGE

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

9 years agoNavigationBarView: Fix NPE in Drawable.setVisible()
Dan Sandler [Mon, 15 Sep 2014 01:24:15 +0000 (21:24 -0400)]
NavigationBarView: Fix NPE in Drawable.setVisible()

Bug: 17495735
Change-Id: I9d5ed5a324ae5c08ea0c225104c41b44462aff22

9 years agoRemove unnecessary warning.
Jungshik Jang [Fri, 12 Sep 2014 09:49:08 +0000 (18:49 +0900)]
Remove unnecessary warning.

Bug: 17501260

Change-Id: I5e7edd6d1fc179c00306d745adc99bebdcb65316

9 years agoMerge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev
Prem Kumar [Mon, 15 Sep 2014 00:51:12 +0000 (00:51 +0000)]
Merge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev

9 years agoMerge "A little more work on issue ##16907799." into lmp-dev
Dianne Hackborn [Mon, 15 Sep 2014 00:26:59 +0000 (00:26 +0000)]
Merge "A little more work on issue ##16907799." into lmp-dev

9 years agoA little more work on issue ##16907799.
Dianne Hackborn [Mon, 15 Sep 2014 00:23:54 +0000 (17:23 -0700)]
A little more work on issue ##16907799.

I got distracted in the middle of it, and forget to finish
up with the test to not kill processes if they aren't using
an auto create binding.

Change-Id: Ieecfe97fa3208e50cb91ba94be2a8659d128b0de

9 years agoMerge "Clean up view drawable tinting methods, fix default modes" into lmp-dev
Alan Viverette [Sun, 14 Sep 2014 23:36:05 +0000 (23:36 +0000)]
Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev

9 years agoEnable shadow for GhostView
Chris Craik [Sun, 14 Sep 2014 23:28:52 +0000 (16:28 -0700)]
Enable shadow for GhostView

bug:17331776
Change-Id: Ia5819422e8cb53d2a4da110f819823b4e90e2fee

9 years agoMerge "Simplify progress bar paths" into lmp-dev
Alan Viverette [Sun, 14 Sep 2014 22:51:42 +0000 (22:51 +0000)]
Merge "Simplify progress bar paths" into lmp-dev

9 years agoMerge "Magic null-background filling for PhoneWindows" into lmp-dev
Adam Powell [Sun, 14 Sep 2014 22:51:28 +0000 (22:51 +0000)]
Merge "Magic null-background filling for PhoneWindows" into lmp-dev

9 years agoForce isolation of clip and matrix within layer
Chris Craik [Sun, 14 Sep 2014 22:49:54 +0000 (15:49 -0700)]
Force isolation of clip and matrix within layer

bug:17379260

Unclipped save layers need to isolate their clips and matrices
so that the save time readout of background content matches clip and
position with the restore/compose step.

Change-Id: I2de474cda76e960d080852f1716d6ddfa8a512d4

9 years agoClean up view drawable tinting methods, fix default modes
Alan Viverette [Sun, 14 Sep 2014 22:48:50 +0000 (15:48 -0700)]
Clean up view drawable tinting methods, fix default modes

Calling setTint now only modifies the tint. It won't force a mode change.

BUG: 17494736
Change-Id: I91392634869ed23981d8e61a403bb2be42aa7a07

9 years agoMagic null-background filling for PhoneWindows
Adam Powell [Thu, 11 Sep 2014 22:09:36 +0000 (15:09 -0700)]
Magic null-background filling for PhoneWindows

In the past it's been a recommended approach to avoiding overdraw for
apps to set their window background to null at runtime if their
content view fully covers their window surface. The problem with this
is the IME.

The IME can force a resize of the window at unexpected times and
unless an app has been configured to fit system windows and manually
cover the padded area that the IME window covers, the asynchronous
nature of the IME-show process can leave surface buffer garbage
visible to the user. In previous platform versions this wasn't an
issue since pre-renderthread we would always animate a crossfade from
the closed to open state. This animation was always a bit of a hack
since it could break the contract of requestLayout/invalidate on the
view hierarchy - it could result in a draw happening into the saved
"before" state of the crossfade before a pending layout.

Now that this has been cleaned up the buffer garbage is sometimes
visible.

To prevent this, PhoneWindow now detects the state of a null window
background and draws solid rects into the area not covered by a
window's content. Which color is determined by the window context's
theme, though this is not a public API available to apps.

Bug 17006497

Change-Id: I714439a1608c4ae135f3d9d49bb165330d9fbe9f

9 years agoMerge "temporarily enable wifi verbose logging in download manager test" into lmp-dev
Guang Zhu [Sun, 14 Sep 2014 22:35:29 +0000 (22:35 +0000)]
Merge "temporarily enable wifi verbose logging in download manager test" into lmp-dev

9 years agotemporarily enable wifi verbose logging in download manager test
Guang Zhu [Sun, 14 Sep 2014 22:30:29 +0000 (15:30 -0700)]
temporarily enable wifi verbose logging in download manager test

also temporarily compile against platfrom, not SDK, since we are
using private API

Bug: 17446070
Change-Id: I6da18aca2d5eaf305940514186ef2434e52f15b9

9 years agoSimplify progress bar paths
Alan Viverette [Sun, 14 Sep 2014 22:10:54 +0000 (15:10 -0700)]
Simplify progress bar paths

BUG: 17366831
Change-Id: I7efa215d399e4bf47b41949d313fba4487f068a0

9 years agoMerge "Fix issue #16907799: Processes containing bound services..." into lmp-dev
Dianne Hackborn [Sun, 14 Sep 2014 22:02:35 +0000 (22:02 +0000)]
Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev

9 years agoMerge "Route volume commands whenever media stream is in use" into lmp-dev
RoboErik [Sun, 14 Sep 2014 21:45:01 +0000 (21:45 +0000)]
Merge "Route volume commands whenever media stream is in use" into lmp-dev

9 years agoCamera2: Clean up corner case error handling
Eino-Ville Talvala [Sun, 14 Sep 2014 21:07:05 +0000 (14:07 -0700)]
Camera2: Clean up corner case error handling

- If a session is closed, and a new session is created immediately
afterwards, but then fails to be configured, the first session sees an
onUnconfigured call which it wasn't expecting, and throws an
exception on an internal thread, leading to app death.
Add a guard against this case.

- If the lower levels skip a frame (illegal per design), be slightly more
robust to that by accepting any successful result as the latest completed
frame, instead of just incrementing the completed frame count. This will
lead to missing results, but should allow shutdown, etc, to complete
cleanly.

- Convert TIMED_OUT error codes to CAMERA_ERROR CameraAccessExceptions.
This is a common error code returned by waitUntilIdle.

Also, improve debug logging to log a session ID with verbose logging,
and add a few verbose logs.

Bug: 16899526
Change-Id: I7a31f0a12effc2611e1f9c2408224ee82c37c912

9 years agoMerge "Fix jank while unlocking and security is set" into lmp-dev
Jorim Jaggi [Sun, 14 Sep 2014 21:40:13 +0000 (21:40 +0000)]
Merge "Fix jank while unlocking and security is set" into lmp-dev

9 years agoFix issue #16907799: Processes containing bound services...
Dianne Hackborn [Sun, 14 Sep 2014 21:21:18 +0000 (14:21 -0700)]
Fix issue #16907799: Processes containing bound services...

...are killed over eagerly.

When the current foreground activity is moving to the background,
it was briefly going through the CACHED_ACTIVITY state before the
correct LAST_ACTIVITY state, allowing its bound service processes
to be killed (because they went in to the cached list).  To solve
this, as long as a process has stopping activities, it won't go
lower than LAST_ACTIVITY.

Also fixed a problem where we could put a process in CACHED_EMPTY
instead of CACHED_ACTIVITY_CLIENT.  There were a number of cases
in the binding flow and also the client process state transitions
where we would not correctly updateing the bound client activity
state.

And add some sanity code so that if a process hosting a
service is killed, and a client process of that service is in the
cached state, we kill the client process.  This avoids situations
where we can start thrashing around in the cached list because we
are restarting process for no reason -- since they will just
continue to be cached.

Finally, tune the process LRU list to allow twice as many cached
activity processes (from 8 to 16), so we can make better use of
the RAM we have available these days.

Change-Id: Ib0cdf78c321cbb035259fc9dd6ee27b5ba1f90c5

9 years agoMerge "set correct bounds in ActionBar based on visibility of ActionBarView" into...
Chet Haase [Sun, 14 Sep 2014 21:30:20 +0000 (21:30 +0000)]
Merge "set correct bounds in ActionBar based on visibility of ActionBarView" into lmp-dev

9 years agoRoute volume commands whenever media stream is in use
RoboErik [Sun, 14 Sep 2014 20:54:31 +0000 (13:54 -0700)]
Route volume commands whenever media stream is in use

Found a regression in volume handling. Previously we handled
volume commands as long as the media stream was active but we were only
handling them when there was an active session on L. This adds a check to
make sure we handle volume if anything is playing on the media stream.

bug:17498479
Change-Id: Iddd745c8a762cf7ebedb37f1b26fc934db01fba0

9 years agoset correct bounds in ActionBar based on visibility of ActionBarView
Chet Haase [Sat, 13 Sep 2014 01:03:55 +0000 (18:03 -0700)]
set correct bounds in ActionBar based on visibility of ActionBarView

ActionBarContainer was setting the bounds of its background assuming the
visibility of the ActionBarView. But that view becomes GONE when the
ActionBarContextView is visible, causing artifacts such as wrong shadows
when resized (as in custom configuration changes).

Issue #17280341 Quantum: drop shadow on CAB has wrong width after rotation on L, when configuration change is handled by the app

Change-Id: I07e57f00e27b41d5370cb9440b35734a8ec10f3a

9 years agoMerge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev
Alan Viverette [Sun, 14 Sep 2014 20:04:38 +0000 (20:04 +0000)]
Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev

9 years agoMerge "Correct test data size in keystore signing and verification tests." into lmp-dev
Shawn Willden [Sun, 14 Sep 2014 19:58:05 +0000 (19:58 +0000)]
Merge "Correct test data size in keystore signing and verification tests." into lmp-dev

9 years agoMerge "Saver: PowerManager call to set low power mode." into lmp-dev
John Spurlock [Sun, 14 Sep 2014 19:36:11 +0000 (19:36 +0000)]
Merge "Saver: PowerManager call to set low power mode." into lmp-dev