137419 Commits

Author SHA1 Message Date
RoboErik
0791e1713b b/15452153 Send 0 delta volume requests
The new code was dropping volume requests with a delta of 0. These
are used to trigger a beep at the end of a volume adjustment.

Change-Id: Idd85cfeaffe78f9aaafb8e6989e240cb70409c1e
2014-06-08 13:20:43 -07:00
RoboErik
2e7a9167ae Adds listeners for changes to the list of active sessions
The listeners get notified when sessions are added, removed, or
reprioritized.

Change-Id: I7f3bfc84049719c3b9c19016c6bac92e1a5c3179
2014-06-08 12:21:32 -07:00
RoboErik
5d3114b64a b/15388389 Add volume handling support to MediaRouter
This makes MediaRouter work with sessions to handle volume
requests. Should work with all existing custom volume handling.

Change-Id: I5dfde26a6203a1072b7fc700978b4ca852ebe7d0
2014-06-08 12:18:25 -07:00
Bryan Mawhinney
2386bd5de4 Merge "Fix issue preventing aapt from stripping all unwanted densities" into lmp-preview-dev 2014-06-08 17:03:04 +00:00
Jae Seo
1bfce9fb9b TIF: Address the feedback from the API review - 3/3
- Change TvView to be a generic ViewGroup with a single SurfaceView child

Bug: 15345342
Change-Id: I86ed94b7020aabb6e093e391ab9477c1f801919a
2014-06-08 21:42:39 +09:00
Dongwon Kang
336cdf20dd Make TvView keep the volume value and set later once the connecation is made.
Bug: 15483740
Change-Id: Id4272bffb556587707b641ec8296bc5a9e57807e
2014-06-08 18:20:55 +09:00
Matthew Williams
13b0241248 Add test app for JobScheduler
Schedule either a delay/deadline task, or a task with
connectivity constraints
Change-Id: Ie7ea731d0f6673b680cef79f894cb609a61b795d
2014-06-07 20:50:54 -07:00
Deepanshu Gupta
acb119f0a2 Merge "Build LayoutLib with Java 6" into lmp-preview-dev 2014-06-07 23:32:10 +00:00
Deepanshu Gupta
f4058c8d6b Build LayoutLib with Java 6
Add source and target flags to LayoutLib Bridge to enable compatibility
with Java 6.

Change-Id: I81266af758bb57df037541d6e82600e5020a3c0d
2014-06-07 11:19:03 -07:00
Dianne Hackborn
000cdd5fe5 Merge "[system transitions] + merge all transition work into new branch for commiting to master + new task switching animations to support doc-centric recents + new default activity transitions + new app -> home (wallpaper close) + updated fragment close" into lmp-preview-dev 2014-06-07 17:33:18 +00:00
Wonsik Kim
af743eeaec Make TvInputs aware of whether it's hardware-based or not
Bug: 15326724
Change-Id: I1f418150ba29ee50afc50a811198115fdc6f9c42
2014-06-07 13:36:19 +09:00
Baligh Uddin
ceb997bae0 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-07 03:10:45 +00:00
Baligh Uddin
7892a49615 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-07 03:10:36 +00:00
Baligh Uddin
d5cf4a6ff6 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-07 03:10:23 +00:00
Ari Sachter-Zeltzer
7e3357a56d [system transitions]
+ merge all transition work into new branch for commiting to master
+ new task switching animations to support doc-centric recents
+ new default activity transitions
+ new app -> home (wallpaper close)
+ updated fragment close

Change-Id: If055e454e7e7bf11c7d54c8cacad8f7ec52d12d1
2014-06-06 19:48:36 -07:00
Igor Murashkin
2f98a26bbf Merge "util: Make Rational a Number/Comparable; add Range#inRange" into lmp-preview-dev 2014-06-07 00:35:36 +00:00
Alan Viverette
e6a4613cf3 Fix build
Change-Id: I49b6330e30710b99f9c89e2a88c95a8157a352ad
2014-06-06 17:29:11 -07:00
Igor Murashkin
007bfb14d2 util: Make Rational a Number/Comparable; add Range#inRange
* Also changes Rational to reduce the numerator/denominator by
its greatest common divisor at construction time (e.g. (2/4 -> 1/2)).

Bug: 15432042
Change-Id: Ib827abccf44a040667e5931cf9442afc86b57e2d
2014-06-06 16:38:09 -07:00
Todd Poynor
407a403402 Merge "BatteryManager: battery property query API update" into lmp-preview-dev 2014-06-06 23:16:16 +00:00
Craig Mautner
3c9f70dc86 Merge "Implement maxRecents and fix TaskPersister bug" into lmp-preview-dev 2014-06-06 23:14:32 +00:00
Tim Murray
7fa0e6bc69 Merge "Change flags to use int instead of long." into lmp-preview-dev 2014-06-06 22:36:49 +00:00
Alan Viverette
1abd798db9 Merge "DO NOT MERGE Material theme" into lmp-preview-dev 2014-06-06 21:56:51 +00:00
svetoslavganov
9799686df0 Merge "Current page not updated when closed" into lmp-preview-dev 2014-06-06 21:46:18 +00:00
Alan Viverette
3cb07a462b DO NOT MERGE Material theme
BUG: 15467097
Change-Id: I15191362e104a902895418fc615892c21db64c35
2014-06-06 14:19:53 -07:00
svetoslavganov
27d3e6d06f Current page not updated when closed
Change-Id: I19845f179f9e712f0213c845c795d5e2c9ea4e29
2014-06-06 20:59:51 +00:00
Chris Craik
5985dfbf14 Add doc for View.getElevation()
Change-Id: I5a843969fa03db6bb0faef80962c1256c64aa450
2014-06-06 13:40:22 -07:00
Amith Yamasani
faecafce62 Merge "Add missing abstract method override in BridgePowerManager." into lmp-preview-dev 2014-06-06 19:59:06 +00:00
Dan Sandler
2a03b2fa1f Merge "NoMan: Rank by 'when' instead of 'postTime'" into lmp-preview-dev 2014-06-06 19:44:40 +00:00
Jim Miller
a4b882f60c Merge "Hide the fingerprint API for now. DO NOT MERGE" into lmp-preview-dev 2014-06-06 19:40:43 +00:00
Alan Viverette
f2dc2d1459 Merge "Update drawables to fix CTS test failures" into lmp-preview-dev 2014-06-06 19:37:16 +00:00
Amith Yamasani
da8738fabd Add missing abstract method override in BridgePowerManager.
Change-Id: I28a24f33f8a598e487ec21861e918a39a8875d43
2014-06-06 12:28:27 -07:00
Alan Viverette
2987eefe09 Make the action bar dark in DarkActionBar theme
Change-Id: I9f574bac1446fab88c0db1c7f9a45f50f73e3311
2014-06-06 12:16:29 -07:00
Amith Yamasani
599176b616 Fix build breakage in BatteryController
Caused due to a checkin race.

Change-Id: Icb636e4b2258064572b494ee5fcdd30538691d81
2014-06-06 11:41:27 -07:00
Tim Murray
fd710e705a Change flags to use int instead of long.
bug 15429629

Change-Id: Ideb983b17aa3c146d23f2be6bb0e9808cb6725b7
2014-06-06 11:10:45 -07:00
Alan Viverette
06318a0869 Update drawables to fix CTS test failures
Change-Id: I78617aedab450f5bc18807c03d07ee776584ece0
2014-06-06 10:59:55 -07:00
Dianne Hackborn
421e2fd044 Merge "Improvements to low power mode." into lmp-preview-dev 2014-06-06 17:46:11 +00:00
Dianne Hackborn
eb94fa7975 Improvements to low power mode.
Add new public API for monitoring low power mode.

BatteryService now puts device in to low power mode when
battery level is low.

Window manager now watches low power mode to turn off
animations.

Modifying the animator scale now gets propagated to all
processes.

Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
2014-06-06 10:25:36 -07:00
Selim Cinek
ece9de4466 Merge "When dragging down on the lockscreen, the lowest card could jump." into lmp-preview-dev 2014-06-06 16:15:52 +00:00
Dan Sandler
52f9fc15a7 Merge "Always hide status bar icons when status bar is expanded" into lmp-preview-dev 2014-06-06 16:15:34 +00:00
Selim Cinek
aef92efb10 When dragging down on the lockscreen, the lowest card could jump.
Bug: 15203895
Change-Id: I1a0a5a236490f12dba93700685be049d723b5339
2014-06-06 18:06:04 +02:00
Jorim Jaggi
b13d36d428 Always hide status bar icons when status bar is expanded
Also improve the animation when expanding/collapsing the shade for
a jank-free alpha fade animation.

Bug: 15448443
Bug: 15407838
Change-Id: Ieb0ce6d5bb1e5c1fb60d433b6989c52ec6924e8c
2014-06-06 18:03:52 +02:00
Christoph Studer
52b7a5a597 NoMan: Rank by 'when' instead of 'postTime'
Bug: 15461215
Change-Id: If17e2ff0a6e36ab45da07c2d883fcf8dc8025dc2
2014-06-06 17:46:04 +02:00
George Mount
d23d509726 Merge "API review: Constants to Gravity and Epicenter." into lmp-preview-dev 2014-06-06 13:59:27 +00:00
Bryan Mawhinney
b0db8de73e Fix issue preventing aapt from stripping all unwanted densities
Bug: 15463874
Change-Id: I9d1e289f1db2ed3c9a41d91caea6d07b69fcb84f
2014-06-06 13:27:11 +01:00
Kenny Guy
adf2ea2bfd Merge "Badge notification from managed profiles." into lmp-preview-dev 2014-06-06 10:06:41 +00:00
Dongwon Kang
7012db741c Merge "TIF: Address the feedback from the API review - 2/3" into lmp-preview-dev 2014-06-06 06:59:17 +00:00
Dongwon Kang
2750d21d8b Merge "TIF: Address the feedback from the API review - 1/3" into lmp-preview-dev 2014-06-06 06:58:02 +00:00
John Spurlock
7e984a953e Merge "VolumeZen: Only display active condition when entering." into lmp-preview-dev 2014-06-06 03:39:29 +00:00
John Spurlock
a2cd733c23 Merge "QuickSettings: Bluetooth updates." into lmp-preview-dev 2014-06-06 03:28:29 +00:00
John Spurlock
a625b74120 QuickSettings: Bluetooth updates.
- Use "Bluetooth" string when connecting.
- Use @hidden device alias (instead of name) for label.
- Use the same icon in the status bar.

Bug:15186962
Change-Id: I25613bebf069c91e76d6933f2512b3f0a8020474
2014-06-05 23:20:15 -04:00