9855 Commits

Author SHA1 Message Date
Winson Chung
65c294036b Adding NPE check when the system has no tasks.
Bug: 20640135
Change-Id: Ifb62d18dbf2125bc33325b7c2f2a44da51309325
2015-05-27 19:47:21 +00:00
Jorim Jaggi
5aa147dd9b Merge "Prevent draw passes when nothing actually changes" into mnc-dev 2015-05-26 21:17:55 +00:00
Jorim Jaggi
06302c2296 Prevent draw passes when nothing actually changes
Bug: 19602257
Change-Id: I1d05fb8399332021b6d50470fe3dd9bb34773a81
2015-05-26 14:16:54 -07:00
Jorim Jaggi
5a45537578 Merge "Round rect clipping for notification contents" into mnc-dev 2015-05-26 21:14:46 +00:00
Jorim Jaggi
be4116a347 Round rect clipping for notification contents
Enable round rect clipping on notifications for the following kind
of notifications:
- Big picture style.
- Big media narrow style.
- Custom notifications.

Bug: 16142505
Change-Id: I157650fe470636ed624a81557c08135827eac0cb
2015-05-26 14:14:10 -07:00
Jorim Jaggi
4e792fa5a9 Merge "Polish animations for fingerprint icon" into mnc-dev 2015-05-26 20:48:39 +00:00
Jorim Jaggi
864e64bace Polish animations for fingerprint icon
- Make error state animation faster.
- Add animation for
-- Draw on when turning on the screen
-- Draw off when unlocking
-- Error state -> normal state

Bug: 21269675
Change-Id: If09c0a35ce194fbeeb86151d45b4cfa81c9999c5
2015-05-26 13:34:34 -07:00
Jason Monk
7cd8a7e1bd Merge "SysUI: Move LocationControllerImpl receiver to bg" into mnc-dev 2015-05-26 17:19:10 +00:00
Jason Monk
05b86bc027 SysUI: Move LocationControllerImpl receiver to bg
Bug: 19520495
Change-Id: Ia0fbfb663076c296c65bcefdad62d36f98c9e757
2015-05-26 13:11:35 -04:00
Jason Monk
283c8b72aa QS: Only show summary for active wifi
Bug: 20432208
Change-Id: Iedf6e4d102e64c53a633f8d377b5eb57768b1f17
2015-05-26 12:54:12 -04:00
Adrian Roos
47cfee9d03 Fix initial keyguard user switcher state
Bug: 18411080
Change-Id: I506968ee6101069361d83f7ef386802f5856a68e
2015-05-26 01:10:37 +00:00
Geoff Mendal
ab26685640 Import translations. DO NOT MERGE
Change-Id: I9662a21a18c78c1599c7ebf55300f22b2df1a458
Auto-generated-cl: translation import
2015-05-25 10:05:44 -05:00
Selim Cinek
37c110fa14 Fixed a flash when launching keyguard affordances
When media artwork was present the screen would briefly
show the artwork and the scrim when launching the affordances
on the keyguard.

Bug: 21379150
Change-Id: Ica36e7f7ef11beef9b2351af4cf43ab4e20151ac
2015-05-22 19:45:46 +00:00
Selim Cinek
79d79c455b The heads up now have a margin on top and don't stick to the edge
Bug: 21337754
Change-Id: I199bc0732df62eadc2458db12a7c1059da988020
2015-05-21 23:38:30 +00:00
Selim Cinek
ffa6eb8791 Fixed a crash with HUN notifications
Bug: 20925733
Change-Id: Id96c9e476d9faa770b5bcd3c35213dd0debdeaea
2015-05-21 23:35:52 +00:00
Jorim Jaggi
eb8f11a865 Keep status bar visible when animating in negative heights
So we don't accidentally invoke bouncer and introduce jank
when expanding again.

Bug: 18502113
Change-Id: I0206cf1f48779d0d0fc661cb27852e2d202245ba
2015-05-21 20:29:05 +00:00
Selim Cinek
0cce531f2e Fixed a bug where a notification could get below the empty shade view
This lead to a temporary flash when a notification came in with
the empty shade view being visible.

Bug: 20972545
Change-Id: I2b06f63dd43bf53bb2d1da0cddb635a709663f71
2015-05-21 18:51:44 +00:00
Baligh Uddin
e68fed4568 Import translations. DO NOT MERGE
Change-Id: Ie0f7cbb03d74e7c84ed90084d69a3d663f41214b
Auto-generated-cl: translation import
2015-05-20 21:59:08 -07:00
John Spurlock
dbf2cd1660 Merge "Volume: Include a11y bit in dialog dump." into mnc-dev 2015-05-21 03:35:12 +00:00
John Spurlock
84ee67ce70 Volume: Include a11y bit in dialog dump.
Bug: 21340132
Change-Id: Ie9a347e7e0f08c7019b4a483a3a87a8cba6f37da
2015-05-20 23:33:43 -04:00
Adrian Roos
770e98953e Merge "Fix ObservableScrollView's cancel dispatch" into mnc-dev 2015-05-21 01:13:00 +00:00
Adrian Roos
5c82e340c3 Fix ObservableScrollView's cancel dispatch
Bug: 21239185
Change-Id: I8005556a2a6fcd8981e615a6f5537a1d7e9ce6a7
2015-05-20 18:08:58 -07:00
Jason Monk
e15cecc90c Merge "Don't crash in bugreport on devices without BT" into mnc-dev 2015-05-20 13:16:02 +00:00
Adrian Roos
1bbe3d4b75 Merge "Fix user switcher ripple emanation point" into mnc-dev 2015-05-20 00:43:47 +00:00
Jeff Sharkey
f5a6bd7538 Push initial disk state, handle empty media.
Stash volume count from last scan, and use it to push initial storage
notifications state when listener is first attached.

Also omit disks with invalid size, which usually means they're an
empty slot with no media.

Bug: 20503551
Change-Id: I75097035aebaad70ba32437179a863f6a0910aa5
2015-05-19 14:57:22 -07:00
Jason Monk
09389a9b58 Don't crash in bugreport on devices without BT
Bug: 21160862
Change-Id: Ia3295fc6ebbd8ad1b5d03c70c89370d09f9cbb03
2015-05-19 16:33:14 -04:00
Selim Cinek
4a21a7fab6 Fixed Focusability issues with heads up
The panel was focusable when a heads up came in which
lead to several bugs. Sometimes the user was not able to
type anymore and focus listeners fired.

Bug: 21153703
Bug: 20892889
Change-Id: Iab86e651ef827767225ca092bb2c1e3fe1ddf385
2015-05-19 19:27:43 +00:00
Adrian Roos
970be5313a Fix user switcher ripple emanation point
Bug: 18444431
Change-Id: I35b053b151ba1e6e326d3a6c2bd2c3c8e3ad8c28
2015-05-19 12:11:48 -07:00
Jason Monk
bf45b3f426 Merge "SysUI: Move BT receivers to bg" into mnc-dev 2015-05-19 17:56:31 +00:00
Jason Monk
10bfd94ae6 Merge "Update 0th level icon for QS wifi sub panel" into mnc-dev 2015-05-19 17:55:30 +00:00
Jason Monk
3d804a4fe5 Update 0th level icon for QS wifi sub panel
Bug: 21019691
Change-Id: I3086c5105b418e618a7d4df9bb8b9cb4189beeb8
2015-05-19 13:46:00 -04:00
Jason Monk
744cf647f7 SysUI: Move BT receivers to bg
Bug: 19520495
Change-Id: I58e7d023b9eaf67fccd1634e00803c8c8d871fff
2015-05-19 13:13:15 -04:00
John Spurlock
5ddde02ac2 Merge "Volume: Dialog should not interfere when not showing." into mnc-dev 2015-05-19 16:40:06 +00:00
John Spurlock
e56efa71bb Volume: Dialog should not interfere when not showing.
Also dump volume dialog controller state properly as part of
the sysui service dump.

Bug: 21207717
Change-Id: I5146d4159d9b017bc91852b91a585725821c19d9
2015-05-19 12:26:25 -04:00
Xiyuan Xia
1ca3541857 Merge "Abort swipe up gesture when long press is detected" into mnc-dev 2015-05-19 15:44:44 +00:00
Selim Cinek
6f145cf0c0 Fixed a bug that the more card was gone
Bug: 21155295
Change-Id: I7e332df71980b5a553e66b928c3e994849470ab3
2015-05-18 22:58:16 +00:00
Riley Andrews
5ac56502e3 Make recents use immutable ashmem bitmaps for things it frequently passes across binder.
Bug 21037890
Change-Id: Ieb29be3ff68f3db3f07df02f171325ed77915fdf
2015-05-18 19:56:54 +00:00
Jason Monk
33f8ae7543 Show data icon when appropriate.
Show it in the status bar when its a default network, but always show
it in QS when its connected, so that users can know its connected.

Also fix the tests.

Bug: 18776546
Change-Id: I553588fc6850b0c2ef6e6015b313222bf4c786e7
2015-05-18 11:49:24 -04:00
Jason Monk
99f6977d3c Merge "Move NetworkController broadcasts/listeners to BG" into mnc-dev 2015-05-18 15:35:23 +00:00
Jason Monk
07b75fe65d Move NetworkController broadcasts/listeners to BG
Also do some refactoring to avoid having to sets of callback interfaces
with 75% of the same data.

Bug: 19520495
Change-Id: Ife1c71174c0d6a21f924f7de3cb2f97a04c3d5a1
2015-05-18 11:31:49 -04:00
John Spurlock
59c15e30af Merge "DND: Fix locale and rtl issues in QS detail panel." into mnc-dev 2015-05-18 15:19:20 +00:00
John Spurlock
814ee6ab8b DND: Fix locale and rtl issues in QS detail panel.
Bug: 21206470
Change-Id: Id84a36bf60b56ebacdf4098d0229e8fcd66aec56
2015-05-18 11:16:38 -04:00
John Spurlock
cf053c13b8 SysUI Demo Mode: Ensure we have plenty of sims.
And update some docs.

Bug: 21157785
Change-Id: I8e44e160377e66f15c6348a87326998c98cea787
2015-05-18 09:38:07 -04:00
Dan Sandler
696f6a3c48 Mmm mmm mmm mmm.
Change-Id: I23b560694b9cc0eb2103ec16769b0446099d1e83
2015-05-15 16:10:22 -04:00
Xiyuan Xia
ee7dd05688 Abort swipe up gesture when long press is detected
When home button long press is detected, swipe up gesture on nav
bar should be aborted as well since both are targeted to start
assist.

Bug:20500672
Change-Id: Ifbc9a8f0692334c9764205e5ecfac47577ae03f6
2015-05-15 10:37:27 -07:00
Dan Sandler
d63f9321e6 Icon support comes to Notification.
And you may ask yourself: what is that beautiful icon?
  And you may ask yourself: where does that API go to?
  And you may ask yourself: is it a resource? is it a Bitmap?
  And you may say to yourself: my god, what have I done

(This patch fixes a number of bugs in the initial
implementation, but other than that, it's the same as it
ever was.)

Bug: 18568715
Bug: 21141842
Change-Id: I1d3f9427abd7f0bb57e533fcfac708851ff644b6
2015-05-15 12:35:21 +00:00
Jorim Jaggi
fcb34c599f Merge "Adjust lockscreen style to spec" into mnc-dev 2015-05-14 23:15:24 +00:00
Jorim Jaggi
979936920e Fix brightness mirror positioning.
Bug: 20884993
Change-Id: Iba75c2dd7aca9b7ac446cb6a278085af4e150b95
2015-05-14 23:13:28 +00:00
Jorim Jaggi
e5716222a1 Adjust lockscreen style to spec
Bug: 21111048
Change-Id: Ibdecaf01224ef45a53b4981d8b79d27034a3df45
2015-05-14 16:04:15 -07:00
Jorim Jaggi
3e02adb028 Fix closing state
Bug: 20940663
Change-Id: I34e2bf4fb3ba9f9ad15e634c4a09883f57b446b2
2015-05-14 22:21:45 +00:00