153558 Commits

Author SHA1 Message Date
Michael Wright
a59e62341c 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
2014-09-15 14:24:59 -07:00
Jeff Sharkey
de74231f24 Update API naming to follow style guide.
Bug: 17510755
Change-Id: If73d81b416355559592feb895a62132194f4ba62
2014-09-15 14:17:46 -07:00
Svet Ganov
f230c5d21b Merge "Fix a crash in pring spooler." into lmp-dev 2014-09-15 20:27:52 +00:00
Ihab Awad
de4e52aa49 Merge "Add system feature for ConnectionService API support (1/3)" into lmp-dev 2014-09-15 20:14:51 +00:00
John Spurlock
5ff1d4f848 Merge "Doze: Aggressively dial down notification-related pulses." into lmp-dev 2014-09-15 19:37:56 +00:00
John Spurlock
190d026167 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
2014-09-15 15:35:56 -04:00
Esteban Talavera
b3969f4e2f am 95f023d0: Merge "Set device admin on dpm set-device-owner command" into lmp-dev
* commit '95f023d018f51bb13a462a5b1f43cd9d6be0cde5':
  Set device admin on dpm set-device-owner command
2014-09-15 19:30:14 +00:00
George Mount
de5cbcb150 am 9da2ace7: Merge "Fixed OOM due to visibility transitions." into lmp-dev
* commit '9da2ace7b05124d4709846e714f6abf9f78c9b04':
  Fixed OOM due to visibility transitions.
2014-09-15 19:30:04 +00:00
George Mount
596d43b725 am 4bf9a24d: Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev
* commit '4bf9a24d6bbe3a95cf1f1740a6df931c282d5adc':
  Fixed enter/exit transitions working against shared elements.
2014-09-15 19:29:59 +00:00
Eino-Ville Talvala
b6add17941 am ac7be719: Merge "Camera2: Clean up corner case error handling" into lmp-dev
* commit 'ac7be7192127be81b7cc0737c86c04a1f6aba851':
  Camera2: Clean up corner case error handling
2014-09-15 19:29:54 +00:00
Matthew Williams
889c9f3601 am 807511d5: Merge "Remove a minimum wake-up time for a job" into lmp-dev
* commit '807511d53fdebe723f3c2870528ecada60edf1a4':
  Remove a minimum wake-up time for a job
2014-09-15 19:29:49 +00:00
Selim Cinek
8c5c91ef4c am f4e6f631: Merge "Changed the swipe up search affordance" into lmp-dev
* commit 'f4e6f631e5c42d63a7d70facc3568440bd18a100':
  Changed the swipe up search affordance
2014-09-15 19:29:44 +00:00
Chris Craik
65c649c682 am e27790db: Merge "Force isolation of clip and matrix within layer" into lmp-dev
* commit 'e27790db1606103abd75efb39f2a54a3cf2253ce':
  Force isolation of clip and matrix within layer
2014-09-15 19:29:39 +00:00
Andres Morales
5f308bb7b2 am 1d436165: Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev
* commit '1d4361657a3478c77d6a71c248a007d04f8106e6':
  Add hidden API for pausing and resuming NFC polling.
2014-09-15 19:29:33 +00:00
Jorim Jaggi
e9e8d8ebbe am f86eb8b0: Merge "Fix priority for recent task thumbnail loader" into lmp-dev
* commit 'f86eb8b0b124ecc22c25d3fb89770fd3ac375ef9':
  Fix priority for recent task thumbnail loader
2014-09-15 19:29:28 +00:00
Robert Ly
d00b110a3b am e152b793: docs: remove fire and forget language from wear docs
* commit 'e152b793e5f56ac9d73d0b3e3e191fea6b0ba1e5':
  docs: remove fire and forget language from wear docs
2014-09-15 19:27:18 +00:00
Alan Viverette
2ae5640354 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
2014-09-15 12:27:13 -07:00
Jeff Tinker
6998c37139 Document retry behavior for MediaCodec.CryptoException
bug: 17469693
Change-Id: I8cc204938b28451c638be017ebb499f525fcff50
2014-09-15 11:47:16 -07:00
Esteban Talavera
895e08adcd Merge "Set device admin on dpm set-device-owner command" into lmp-dev 2014-09-15 18:42:30 +00:00
George Mount
08ff5c14fe Merge "Fixed OOM due to visibility transitions." into lmp-dev 2014-09-15 18:12:24 +00:00
George Mount
94e7e7ef91 Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev 2014-09-15 18:12:13 +00:00
Eino-Ville Talvala
5fa15be4e9 Merge "Camera2: Clean up corner case error handling" into lmp-dev 2014-09-15 18:11:11 +00:00
George Mount
27bc8aa583 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
2014-09-15 11:08:39 -07:00
George Mount
79b2781aa7 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
2014-09-15 11:05:36 -07:00
Matthew Williams
b6eaa86440 Merge "Remove a minimum wake-up time for a job" into lmp-dev 2014-09-15 17:56:51 +00:00
Robert Ly
e152b793e5 docs: remove fire and forget language from wear docs
Change-Id: I0a8d83ba0db24f1232d4c729f298c6af04c048b3
2014-09-15 10:46:23 -07:00
Selim Cinek
a2f945e227 Merge "Changed the swipe up search affordance" into lmp-dev 2014-09-15 17:18:40 +00:00
Ihab Awad
1ec6888685 Add system feature for ConnectionService API support (1/3)
Bug: 17445268
Change-Id: Ibf52cb394f00d075afd07b883a91f00da84b3c85
2014-09-15 09:10:54 -07:00
Chris Craik
025207b3cf Merge "Force isolation of clip and matrix within layer" into lmp-dev 2014-09-15 15:59:57 +00:00
Selim Cinek
92d892c0cd 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
2014-09-15 17:25:40 +02:00
Andres Morales
bd9d664743 Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev 2014-09-15 15:10:45 +00:00
Jorim Jaggi
f5989b053a Merge "Fix priority for recent task thumbnail loader" into lmp-dev 2014-09-15 15:02:41 +00:00
George Mount
018fe54613 am 7d3d95e7: Merge "Fix exit transitions hiding views permanently." into lmp-dev
* commit '7d3d95e790c475c81da9be60d3355637ac5b4332':
  Fix exit transitions hiding views permanently.
2014-09-15 14:22:44 +00:00
Jorim Jaggi
50949eaff7 Fix priority for recent task thumbnail loader
Follow up CL for Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93

Bug: 16513124
Change-Id: I3e95d0ae56a273c482db31b377f66fe7397d01f8
2014-09-15 16:08:17 +02:00
George Mount
2911b2046a Merge "Fix exit transitions hiding views permanently." into lmp-dev 2014-09-15 14:06:52 +00:00
Jungshik Jang
a953dac7f3 am 2e33bd88: Merge "Fix cyclic mute" into lmp-dev
* commit '2e33bd88d6068248601e679d644b0671ecaa65b2':
  Fix cyclic mute
2014-09-15 12:50:47 +00:00
Jungshik Jang
f5194d8cef Merge "Fix cyclic mute" into lmp-dev 2014-09-15 12:36:27 +00:00
Alexandra Gherghina
04d2d35d51 am 579f67cb: Merge "Update briefcase icons" into lmp-dev
* commit '579f67cb624f9822871809a25a6934d9cbe2aebd':
  Update briefcase icons
2014-09-15 11:59:26 +00:00
Alexandra Gherghina
0a91a0ae7c Merge "Update briefcase icons" into lmp-dev 2014-09-15 11:46:01 +00:00
Esteban Talavera
9c17388cff Set device admin on dpm set-device-owner command
Bug: 17312478
Change-Id: I4ef730a97d603352eda77f04a2b00fa97c2be662
2014-09-15 11:42:34 +01:00
Jorim Jaggi
459c3095d4 am 026a5154: Aggressive tuning of recents memory usage
* commit '026a51548b783713d5b47f3bae7f1ba998fee0c8':
  Aggressive tuning of recents memory usage
2014-09-15 09:26:08 +00:00
Jungshik Jang
720407ad06 Fix cyclic mute
Bug: 17502271
Change-Id: I837315afce8193ac1948fffed66cbb8c755968e2
2014-09-15 18:24:01 +09:00
Jorim Jaggi
81e0c8491f 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
2014-09-15 10:56:35 +02:00
Baligh Uddin
e1a27ed1a9 Import translations. DO NOT MERGE
Change-Id: I52d4c3489b8135587f47a3020a77fdd6c9f7fde4
Auto-generated-cl: translation import
2014-09-14 22:54:07 -07:00
Baligh Uddin
d591b2ac8c am ad893340: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit 'ad893340705e863e537167199b50696e989aa945':
  Import translations. DO NOT MERGE
2014-09-15 04:32:22 +00:00
Baligh Uddin
d776ffea75 am a52cb4fc: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit 'a52cb4fc1694cbe77287862faf016463ed06a6f8':
  Import translations. DO NOT MERGE
2014-09-15 04:32:18 +00:00
Baligh Uddin
0e77f2409f am fc4dbeb9: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit 'fc4dbeb9aecee5367afc55d7223c7b11f2ec2137':
  Import translations. DO NOT MERGE
2014-09-15 04:32:14 +00:00
Baligh Uddin
7e243f8925 Import translations. DO NOT MERGE
Change-Id: I540a7041a288cc711d139d4d647ffb96fc9feee5
Auto-generated-cl: translation import
2014-09-14 21:24:35 -07:00
Baligh Uddin
7de8dae1e8 Import translations. DO NOT MERGE
Change-Id: I6fac9cee4da3c1d6664ce99f1b8ba508e476f904
Auto-generated-cl: translation import
2014-09-14 21:22:59 -07:00
Baligh Uddin
f3d0e47572 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:49 +00:00