6051 Commits

Author SHA1 Message Date
RoboErik
d2b8c947dd Api updates to MediaSession components
-renames get/setBufferPosition to get/setBufferedPosition
-renames getLaunchActivity to getSessionActivity
-adds doc link to setVolumeTo flags param
-renames setLaunchActivity to setSessionActivity
-hides setMediaRouter
-moves PLAYBACK_TYPE_ constants to MediaController.AudioInfo
-adds addOnActiveSessionsChangedListener version with a handler parameter
-renames AudioInfo to PlaybackInfo

bug:17114404
Change-Id: I0fbfe4eb979cb2af98e3f13095c654bb131f7ae5
2014-08-20 10:05:06 -07:00
Jorim Jaggi
730e9bceb7 Merge "Make alarm invisible when going to detail in QS" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
aa6c364082 Make alarm invisible when going to detail in QS
Bug: 17058346
Change-Id: Id93eb150582799a3e258c839c056e0fa38259424
2014-08-20 16:59:51 +02:00
Jorim Jaggi
fe9c0a58aa Merge "Don't allow to scroll to QS if not provisioned" into lmp-dev 2014-08-16 04:36:37 +00:00
Jorim Jaggi
18bd04fdfe Don't allow to scroll to QS if not provisioned
Bug: 15593900
Change-Id: I54ae38f7f2c82e26b859ba7b7b3a5e096e18289e
2014-08-20 15:00:36 +02:00
Jorim Jaggi
3bf37725bd Merge "Fix accessibility actions for navigation bar" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
7beadfc714 Fix accessibility actions for navigation bar
Because we handle touch events with custom code, we also need to
handle accessibiltiy correctly.

Bug: 15938266
Change-Id: I186807b7349881a5f0804d7452974cc3c3a8a160
2014-08-20 14:51:06 +02:00
Selim Cinek
255dd04271 Added notification color to all system notifications
Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
2014-08-20 14:25:18 +02:00
John Spurlock
7fa31601a6 Merge "Copy framework internal resources for indeterminate anim." into lmp-dev 2014-08-20 12:26:29 +00:00
John Spurlock
06b7b61352 Copy framework internal resources for indeterminate anim.
Bug:14622065
Change-Id: Icfe4df5b01f342b7d3dc792e03391dc764abd59b
2014-08-20 11:44:45 -04:00
Adrian Roos
fd3b324feb Merge "Implement trust managed visuals" into lmp-dev 2014-08-16 04:29:45 +00:00
Adrian Roos
2e3ccbb37e Implement trust managed visuals
Updates the trust managed indicator to match the
speced visuals and behavior.

Bug: 15519687
Change-Id: I2be04e8b37f3b5d9865ae4d25b46222cafadd113
2014-08-20 18:54:25 +02:00
Jorim Jaggi
163676496b Merge "Remove battery color when in power save" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
708f7721e9 Remove battery color when in power save
Also changes to color to our consistent warning color.

Bug: 16849393
Change-Id: I71737c1b7c18af569b5f4e957b006db579266cd1
2014-08-20 20:54:02 +02:00
Selim Cinek
d88c24ef9f Merge "Announcing quick settings changes now via talkback" into lmp-dev 2014-08-16 04:36:39 +00:00
Selim Cinek
4fda7b2d97 Announcing quick settings changes now via talkback
All tiles now report when their state changes due
to a user clicking on it. Also cleaned up some accessibility
strings.

Bug: 15682239
Change-Id: Ide97fb97a0253618db206562573dadd0036dab45
2014-08-20 18:58:08 +02:00
Jeff Brown
184926239b Use the CAST_SETTINGS activity for Cast Screen / More Settings.
Change-Id: Ifc2e505896ecf17ac2d0d24a3fec07c10d604448
2014-08-19 20:08:52 -07:00
Jorim Jaggi
2d268f3508 Merge "Don't close panel when in QS and all notifications go away" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
ba94f883c3 Don't close panel when in QS and all notifications go away
Bug: 16988161
Change-Id: Icd21f5ce4b7485c8a83616276b47ea1b08553c21
2014-08-20 19:23:55 +02:00
Jorim Jaggi
684c772ddd Merge "Fix crash when reset() gets called during an animation" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
0d9f35d1d8 Fix crash when reset() gets called during an animation
Bug: 17058023
Change-Id: I2ed77b49c4daf1790e43f74a274054618e378b40
2014-08-20 17:08:44 +02:00
Jorim Jaggi
909cb49a10 Merge "Fix QS expansion weirdness #2" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
b7a3303f80 Fix QS expansion weirdness #2
Bug: 17138703
Bug: 17047680
Change-Id: I4058d9a2e349c4a52ab167638471a1eb11753380
2014-08-20 16:21:36 +02:00
Jason Monk
9b4d6dd3db Merge "Add hotspot tile to defaults" into lmp-dev 2014-08-16 04:03:42 +00:00
Jason Monk
15eb388fc5 Add hotspot tile to defaults
So that it can show up on devices.

Bug: 17151619
Change-Id: I9fe8697dfa099ede3b17098b85beecaaed656ecf
2014-08-20 10:23:48 -04:00
Winson Chung
dd7930354a Merge "Adding shadows to the focus state and fab button. (Bug 16950262)" into lmp-dev 2014-08-16 04:03:42 +00:00
Winson Chung
f95c7f5727 Adding shadows to the focus state and fab button. (Bug 16950262)
- Fixing regression where we weren't resetting the dim colors properly.

Change-Id: Ib95cc96d40f80bc22b7ecd7c816d5cbaa9b592c5
2014-08-19 20:45:37 +00:00
Winson Chung
abedcab44c Small tweaks to the stack curve and header transition. (Bug 16656169)
Change-Id: I96120063a66f267ad0b6a39b3dd020bc030083b8
2014-08-19 20:45:36 +00:00
Amith Yamasani
7376a44b57 Merge "Rephrase the Exit guest action and dialog text" into lmp-dev 2014-08-19 02:43:23 +00:00
Amith Yamasani
e5b274ac61 Rephrase the Exit guest action and dialog text
Exiting guest session -> Removing guest?
Buttons = Cancel / Remove

Bug: 16495144

Change-Id: I3952e0818fa03edff6f9131a32e6469cbaa27b85
2014-08-18 21:01:22 +00:00
RoboErik
a66c40bf6e Update MediaSession APIs for council feedback
-Changes MediaSessionManager.SessionsListener to OnActiveSessionsChangedListener
and makes it an interface.
-Renames MediaController.VolumeInfo to MediaController.AudioInfo
-Renames MediaSession.Track to MediaSession.Item

bug:17059552
Change-Id: I3a0b4371700ad6657972c312a5ab89ddfac6df5b
2014-08-19 17:12:42 +00:00
John Spurlock
fc12e6f1da Merge "Revert workaround for network limit dialog." into lmp-dev 2014-08-16 04:32:18 +00:00
John Spurlock
169126bf4d Revert workaround for network limit dialog.
Restore the window type now that it no longer crashes.

This reverts https://googleplex-android-review.git.corp.google.com/#/c/527371/

Bug:17102499
Change-Id: Ifb93a959a693b5925712ae82192c80790b6aefb1
2014-08-19 12:40:02 -04:00
John Spurlock
3eccbc270d Data usage limit strings + icon changes.
- Change notification icon + text.
- Change QS detail overlimit title.

Bug:17042440
Change-Id: I45ebd82c3e676ec265f29b778605444ae4a1c4f1
2014-08-19 10:25:47 -04:00
Jason Monk
a0efbdf204 Merge "Update the QS footer from UI thread" into lmp-dev 2014-08-16 04:03:42 +00:00
Jason Monk
b1c2f3bb10 Update the QS footer from UI thread
Bug: 17070248
Change-Id: I0d72ce6e137f42ad321b3fd6b10b9a5f35ca7801
2014-08-20 10:55:53 -04:00
John Spurlock
86c3de81ea PowerUI: Remove the fallback dialogs.
- Low battery notifications are now always notifications, even
  if not HUNs.
- Remove obsolete dialogs used only as HUN fallbacks.
- Extend the default HUN timeout to 10 seconds and remove the
  ongoing hack for the warning notification.

Bug:17070231
Change-Id: I29069c3d90dcca6f9bce512e5a0ccbd983704de5
2014-08-20 10:54:25 -04:00
John Reck
11fa6ad67f Merge "Don't use Animator:reverse()" into lmp-dev 2014-08-16 03:56:29 +00:00
John Reck
baf94181f7 Don't use Animator:reverse()
Bug: 17137979

Change-Id: I048611c363c947020d2e703bdf521f018f8ca614
2014-08-20 08:41:02 -07:00
Michael Wright
665366a305 Change 'disable hardware keyboard' to 'show input method'
Previously it implied that the hardware keyboard would be disabled,
but really the toggle would just enable showing the IME even if a
hardware keyboard was present. Changed the string and swapped the
semantics to be more clear about the behavior.

Bug: 14066881
Change-Id: I9c8a7eb98b5277f1d09cc19fa7402e9b4cf51d92
2014-08-17 17:51:19 -07:00
Baligh Uddin
ab5c77cfcc Import translations. DO NOT MERGE
Change-Id: Idc57a1961ba0cf31e9542f6bf2666cebc7e82c68
Auto-generated-cl: translation import
2014-08-15 22:23:37 -07:00
Selim Cinek
f86d4055fb Merge "Removed bugreport tile code from Quick settings" into lmp-dev 2014-08-16 04:36:39 +00:00
Selim Cinek
3f11dede31 Removed bugreport tile code from Quick settings
And also the corresponding string / drawable

Bug: 15385554
Change-Id: If1482a20274439891e6dda1f9f2f8b6a26ed2b51
2014-08-19 13:09:36 +02:00
John Spurlock
c9ae305b56 Merge "Temporary workaround for NetworkOverLimitActivity dialog." into lmp-dev 2014-08-16 04:32:18 +00:00
John Spurlock
cf008884a9 Temporary workaround for NetworkOverLimitActivity dialog.
Remove the window type, since it now crashes SystemUI.

Bug:17102499
Change-Id: I69230242e27150f9e38822b5cd3745caae108287
2014-08-18 15:14:48 -04:00
Adrian Roos
49e057d7ee Play "device trusted" sound when onTrustInitiatedByUser fires
Bug: 16840500
Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53
2014-08-18 16:53:27 +00:00
Amith Yamasani
d1e2cc3e2c Update strings for guest session dialog
Bug: 16898180
Change-Id: I29b96a8ef3280d9d582562c245ca12a1d65eb878
2014-08-15 17:23:45 -07:00
Adrian Roos
b7ebbded5f Fix errors that could lead to brightness flickering
Ensures that changing the brightness doesn't lead to
another write to settings from SystemUI. Also makes
sure that a BrightnessDialog from a background user
is never showing. While we're in there, fix the obsolete
window flags as well and ensure BrightnessDialog only ever
allocates one BrightnessController.

Bug: 16297345
Change-Id: Id95b598b0fa99680072bc160afb00d2cd49f05ca
2014-08-15 19:09:09 +00:00
Selim Cinek
afd7f117b3 Merge "Fixed several bugs with the notification shade" into lmp-dev 2014-08-15 04:32:23 +00:00
Selim Cinek
31094df5c6 Fixed several bugs with the notification shade
Cleaned up the code around mMaxPanelHeight of the
PanelView which could lead to flickering during
peeking.
Changed the panel opening logic to account for lag
when we need to wait for a layout, which could lead
to inconsistent animations.
Fixed a bug where holes could appear in the shade
when notifications were updating.
This also improved the general updating behaviour
which is now done in a nicer animation.

Bug: 15942322
Bug: 15861506
Bug: 15168335
Change-Id: Ifd7ce51bea6b5e39c9b76fd0d766a7d2c42bf7a4
2014-08-15 13:43:47 +02:00