149060 Commits

Author SHA1 Message Date
John Reck
998a6d8189 Track buildLayer calls, destroy if unused
Bug: 17208461

Change-Id: Ibdb104a493285d77a6891c5e74e38a52c7014da9
2014-08-28 15:55:26 -07:00
John Reck
e9a204f044 Merge "Actually end animators on tree destruction" into lmp-dev 2014-08-28 16:48:04 +00:00
Chet Haase
06c34e7cbe Merge "Canceling ViewPropertyAnimator now removes pending actions" into lmp-dev 2014-08-28 16:42:27 +00:00
Robert Greenwalt
2836dbb953 Merge "Clean up Connectivity Logging." into lmp-dev 2014-08-28 16:29:55 +00:00
Robin Lee
19293d2b44 Merge "Relocate broken getCallingUserId() calls" into lmp-dev 2014-08-28 16:15:36 +00:00
Jeff Sharkey
ca5186e9d5 Merge "Define EXTRA_SIZE for ContentProviders." into lmp-dev 2014-08-28 16:12:47 +00:00
Robin Lee
65c2797082 Relocate broken getCallingUserId() calls
This should not be invoked while the calling identity is cleared
because it will return the current user rather than the calling user.

Bug: 17314802
Change-Id: I587daa420b0976d41928ab7c34eeda2329c1341e
2014-08-28 16:59:11 +01:00
Jae Seo
f6a5d34167 Merge "Start TvInputManagerService when the device supports FEATURE_LIVE_TV" into lmp-dev 2014-08-28 15:45:02 +00:00
John Reck
d0cd9db316 Actually end animators on tree destruction
Bug: 17313962

Change-Id: I66b86d50b415f9aa33da23297f22e2cf7f96f565
2014-08-28 08:43:39 -07:00
Chet Haase
5637b7d239 Canceling ViewPropertyAnimator now removes pending actions
Normally, calling cancel() on ViewPropertyAnimator() will cancel any
running animations as well as any associated actions (layers and
start/end actions). But if the animation is canceled before the first
frame, these other actions are still pending and will not be canceled.

This fix also cancels these pending actions.

Issue #17296082 VPA.cancel() doesn't clear the end action

Change-Id: If104d21c1e2d64516500048a06ba217284732ef0
2014-08-28 07:53:59 -07:00
Selim Cinek
1a08a8f52f Merge "Fixed a flash of the preview image when going to the dialer" into lmp-dev 2014-08-28 13:37:23 +00:00
Selim Cinek
05546f455d Merge "Fixed a bug where notifications could remain in the overlay." into lmp-dev 2014-08-28 13:36:00 +00:00
John Spurlock
d7a94b3545 Merge "Zen: Remove alarm warnings, color the subhead instead." into lmp-dev 2014-08-28 13:30:31 +00:00
Lajos Molnar
7b8b560e3f Merge "media: update MediaCodec/Info/List/Format APIs based on review comments" into lmp-dev 2014-08-28 13:28:52 +00:00
Selim Cinek
0d61b51852 Fixed a flash of the preview image when going to the dialer
The preview image was animating even though it should not have
leading to a weird flash.

Bug: 17261091
Change-Id: I168eae25eb654ceb79e055fb0d0189c31cb0bb3d
2014-08-28 15:09:29 +02:00
Selim Cinek
95ed59283b Fixed a bug where notifications could remain in the overlay.
This led to notifications being visible even though they should
have been removed

Bug: 17295716
Change-Id: I05a243d5c9ca359d1f5ca29a7535935d6e61a4d6
2014-08-28 15:09:29 +02:00
Selim Cinek
24ac55e658 Added a warning when the profile has an owner
Also fixed a bug where a post in the QSFooter
was not always on the mainthread leading to a
crash.

Bug: 17066115
Change-Id: Iea9e1032973058ed5e63e70da4dc0bcf34fa59a3
2014-08-28 15:09:28 +02:00
Dan Sandler
e6afe9c75c Merge "Update soundscape for L, using classic names." into lmp-dev 2014-08-28 12:49:26 +00:00
Jorim Jaggi
746f7facf2 Start intent chooser after Keyguard is gone
If we have an intent chooser on the camera intent, we need to launch
it after the Keyguard is fully gone because the ResolveActivity would
finish itself if it is launched behind the Keyguard.

Bug: 16570873
Change-Id: I2fdb4975fa0a6510e8853c6042383089570ec1f5
2014-08-28 13:10:12 +02:00
Jorim Jaggi
d757d6bfc6 Merge "Fix large text setting for QS" into lmp-dev 2014-08-28 10:57:45 +00:00
Jorim Jaggi
e17c4b49a4 Fix large text setting for QS
Bug: 15591223
Change-Id: I9f514a4970edbda778b987dfc3eca3914e492011
2014-08-28 12:49:32 +02:00
Jorim Jaggi
87078b738b Merge "Make it possible to disable camera on lockscreen" into lmp-dev 2014-08-28 10:46:37 +00:00
Esteban Talavera
729b2a6c2f Renamed getUninstallBlocked to isUninstallBlocked
As per API review.

Bug: 17297103
Change-Id: Icb4ceded317b0df4deb0f5221512541a632e150b
2014-08-28 10:56:18 +01:00
Jae Seo
996b5af40c Start TvInputManagerService when the device supports FEATURE_LIVE_TV
Bug: 17284986
Change-Id: I5efeffecfcb771cb2e6180ccfd665464611a24fc
2014-08-27 23:52:01 -07:00
Jae Seo
11cfe2c036 Merge "Add android.software.live_tv feature" into lmp-dev 2014-08-28 05:50:19 +00:00
Jae Seo
a899be4ebd API Review: TV
This change addresses the following feedback:

- "ageHint" attribute should be renamed to "contentAgeHint"
- "country" attribute should be doc'd to specify valid formats (two
character country codes or whatever)

Bug: 17293643
Change-Id: Ia5e58e191c3678bb2d6b1be36c4275d323675ad9
2014-08-28 05:48:36 +00:00
Jae Seo
9c165d6e9a TIF: Enable applications to register custom content rating systems
A recent change that moved the string resource for the system supported
content ratings from the framework to the TV app led to a need for
allowing the TV app to publish its own content rating systems. This
change added an intent action and a metadata key to be used by the TV
input manager service for querying available content rating systems,
similarly to the way InputManager defined ACTION_QUERY_KEYBOARD_LAYOUTS
and META_DATA_KEYBOARD_LAYOUTS for custom keyboard layouts. Applications
now can register their own rating systems simply by declaring a
broadcast receiver in their manifests.

Bug: 17167287, Bug: 17114406
Change-Id: I1808c624014b603ea709714737c2a880714bdc0a
2014-08-27 21:52:07 -07:00
Dan Sandler
f56a345482 Update soundscape for L, using classic names.
(partial revert of commit 7348f744)

Bug: 15725449
Change-Id: Ic1a038c906deab035f96caed42fc16c59d459965
2014-08-28 00:40:26 -04:00
Selim Gurun
d576bf310b Merge "Address API Feedback" into lmp-dev 2014-08-28 01:47:31 +00:00
John Reck
4c5a27b5f6 Merge "Animator stuff" into lmp-dev 2014-08-28 01:38:58 +00:00
Svetoslav
040a7f0526 Merge "Fix live region updates." into lmp-dev 2014-08-28 01:37:43 +00:00
Jinsuk Kim
af410a5145 Merge "CEC: return non-null MHL controller when not ready" into lmp-dev 2014-08-28 00:59:03 +00:00
Santos Cordon
0e85f35514 Merge "Call onPhoneDestroyed when the service is unbound." into lmp-dev 2014-08-28 00:57:46 +00:00
Selim Gurun
17d1adb183 Address API Feedback
Bug: 17253647

This is Part I of API feedback. It does not address portions
of the feedback that is still pending a response from API council.

Change-Id: I6ae250c6455a5545912623aeb34332d564fffde7
2014-08-27 17:56:08 -07:00
John Reck
119907cd25 Animator stuff
Bug: 17228458

Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
2014-08-27 17:44:25 -07:00
Santos Cordon
f30d7e9a8e Call onPhoneDestroyed when the service is unbound.
Bug: 17253031
Change-Id: I1a74e0f2fe1ec9172268638dba531c17d22dee99
2014-08-27 17:29:29 -07:00
Yorke Lee
fe7c3bc082 Merge "Update value of EXTRA_CALL_TYPE_FILTER" into lmp-dev 2014-08-28 00:16:27 +00:00
Dongwon Kang
162fa7f41b Merge "TIF: fix callback cleanup logic in removeSessionStateLocked()." into lmp-dev 2014-08-28 00:00:58 +00:00
Michael Wright
b4558af745 Merge "Change constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITY" into lmp-dev 2014-08-28 00:00:56 +00:00
Christopher Tate
89972815a2 Merge "Do not require device provisioning to do restore-at-install" into lmp-dev 2014-08-28 00:00:48 +00:00
Yorke Lee
52e7750184 Update value of EXTRA_CALL_TYPE_FILTER
Bug: 17253963
Change-Id: I1e98fc2a25b0bc807b0b4d1af2941da6660e09e0
2014-08-27 16:28:12 -07:00
Filip Gruszczynski
30a480bcfc Merge "Allowing isRound and outsetBottom properties to be passed to ActivityView." into lmp-dev 2014-08-27 23:22:29 +00:00
Filip Gruszczynski
f14d924cd7 Allowing isRound and outsetBottom properties to be passed to ActivityView.
We remove requirement for having display id == 0 or allow circumventing it
through a flag.

Change-Id: Ia4671614b51894393d47e681cc72718d394230f6
2014-08-27 15:38:24 -07:00
Michael Wright
219857b900 Change constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITY
Also add docs to PowerManager.WakeLock#release(int)

Bug: 17290118
Change-Id: Ibcbc4279efdd0f275808042356e6ff843958e23f
2014-08-27 15:37:27 -07:00
Alan Viverette
327710e36f Merge "Preserve inner drawable bounds and level on mutate" into lmp-dev 2014-08-27 22:29:19 +00:00
Jeff Sharkey
5b836f29a3 Define EXTRA_SIZE for ContentProviders.
Also make Size and SizeF parcelable.

Bug: 17205016
Change-Id: Ide397b84864f6cad7f8d89e66b6c8697a3ad335b
2014-08-27 15:13:57 -07:00
Tim Kilbourn
12ed679911 Merge "Update leanback shadow parameters." into lmp-dev 2014-08-27 22:07:37 +00:00
Robert Greenwalt
fc0c6890c6 Clean up Connectivity Logging.
bug:17285109
Change-Id: I61b98aa636996f8d4915fd954d49a22c20cfe9ab
2014-08-27 14:49:14 -07:00
Eric Laurent
6c104d84c3 Merge "fix condition to send ACTION_AUDIO_BECOMING_NOISY intent" into lmp-dev 2014-08-27 21:47:11 +00:00
John Spurlock
8f8ecd620c Zen: Remove alarm warnings, color the subhead instead.
- When selecting "None" in the dialog, remove the footer warnings
  about alarms, and associated bits.
- Update subhead text for "None".
- Keep track of how often "None" is used (defined as a user change
  during a visible dialog session) and color the subhead text
  with the warning color until it's been used five times.

Bug:17283115
Change-Id: Ief8a1c557716ec2f581b8338511432d17ac0d371
2014-08-27 17:46:03 -04:00