Commit Graph

13600 Commits

Author SHA1 Message Date
Julia Reynolds
60cdc23913 Merge "Inline settings update." into nyc-dev 2016-03-03 15:52:01 +00:00
Jason Monk
310b8ed349 Merge "Fix QS edit state being out of sync" into nyc-dev 2016-03-03 15:50:58 +00:00
Julia Reynolds
cac8862bb9 Inline settings update.
-Show silently is IMPORTANCE_LOW, not DEFAULT.
-Select the correct default option.

Change-Id: Ic09174cf55fcc36a06abf1f8f39bc96beb931f69
2016-03-03 10:25:37 -05:00
Selim Cinek
d1ad9ab312 Adjusted the behavior when expanding the notification panel
The topmost notification is now not collapsed anymore but slides in
expanded from the top. Therefore it's layout doesn't need to animate
anymore. This also cleans up a lot of code in the algorithm which was
depending on this resizing which isn't needed anymore.
In order to have that transition working perfectly, the padding when
collapsing a card is now the same as the slowdown length.
Also improved the logic when notification contents are allowed to
animate and when not.
Also fixed a bug where the top notification was cut off when QS was
expanded.

Bug: 27402534
Bug: 18434284
Change-Id: I31afa199d38d94e74fd45500c2236ffdb51d989d
2016-03-02 23:54:38 +00:00
Jason Monk
e06b065f6e Fix QS edit state being out of sync
Do this by making SignalCallbacks send out initial state immediately
rather than posting this state.  This requires a little refactoring
to how SignalControllers work.

Bug: 27061469
Change-Id: Iba6b91a4a5d1d13cce0f0d308b6f85f0340bff39
2016-03-02 16:35:27 -05:00
Jason Monk
f2bf0c4ba0 Merge "Guard against battery tile crash" into nyc-dev 2016-03-02 21:08:12 +00:00
Jason Monk
2462a50e8f Guard against battery tile crash
Bug: 27419759
Change-Id: Ic152ab56f7648e7346cbddf21840bd5313e50d3c
2016-03-02 16:04:39 -05:00
Jason Monk
25b86cca0f Merge "Fix crash while editing QS" into nyc-dev 2016-03-02 20:31:14 +00:00
Jason Monk
b01da9e4a2 Fix crash while editing QS
Bug: 27061859
Change-Id: I758bb6b881eadddca1a2e4eaae7b24319e512d14
2016-03-02 15:28:30 -05:00
Julia Reynolds
c523dc1ff9 Merge "Allow notifications to be hidden from lockscreen at a package level." into nyc-dev 2016-03-02 20:15:54 +00:00
Julia Reynolds
26fa8a54b6 Allow notifications to be hidden from lockscreen at a package level.
Bug: 26642033
Change-Id: I67674ea9d42ee6b5865702be5d9ab2b09b53e15f
2016-03-02 15:13:54 -05:00
Jason Monk
797b1ef39e Merge "Shrink button ripple on QS btns to 36dp" into nyc-dev 2016-03-02 20:07:34 +00:00
Jason Monk
30014c4a57 Shrink button ripple on QS btns to 36dp
Bug: 27388390
Change-Id: I1efbedfdf720edf4cf5d43797da59904d91cb543
2016-03-02 14:52:27 -05:00
Jason Monk
4cabb1b91f Merge "Add edit title to QS edit" into nyc-dev 2016-03-02 19:48:25 +00:00
Jason Monk
c04cf4baec Merge "Guard against monkey crash" into nyc-dev 2016-03-02 19:48:01 +00:00
Jason Monk
ae5bd03831 Guard against monkey crash
Bug: 27448755
Change-Id: I8345a274c979bf8ca1b4041c14318dd73810f79a
2016-03-02 14:38:31 -05:00
Jason Monk
f923db5623 Add edit title to QS edit
Bug: 27439419
Change-Id: I3807dc56a05b1ffafcd9b390dfdbc1da9a7ebcac
2016-03-02 14:11:14 -05:00
Dongwon Kang
19d7eeaedf Merge "PIP: Show recents again when PIP menu is closed" into nyc-dev 2016-03-02 18:34:10 +00:00
Chong Zhang
5d9de3ab6f Merge "Don't change resize mode if AM didn't dock the task as requested" into nyc-dev 2016-03-02 18:30:00 +00:00
Chris Wren
e83cd6147b Merge "add all those great comments from the other file" into nyc-dev 2016-03-02 17:51:29 +00:00
Jaewan Kim
3ebc1e3f99 PIP: Show recents again when PIP menu is closed
Framework enforces that an app cannot go back to Recents.
So launches the Recents again for the PIP menu.

Change-Id: I7526edfe7dd38c7eb1befe6a8b2b5f4ea30aa84e
2016-03-02 09:51:07 -08:00
Jason Monk
8326e38bf5 Merge "Fix crash from battery detail" into nyc-dev 2016-03-02 17:42:27 +00:00
Jason Monk
6cb901268e Fix crash from battery detail
Bug: 27417780
Change-Id: Ia63dd78a4b7b75470b57c8262bbc836180274bf5
2016-03-02 12:40:43 -05:00
Geoff Mendal
48a4eb1f81 Import translations. DO NOT MERGE
Change-Id: I0b50c9fa731657538936e961e3c0fa1eaa594489
Auto-generated-cl: translation import
2016-03-02 07:30:42 -08:00
Fyodor Kupolov
caab2666bd Restored switchTo method
It is current used in another branch. Restored to fix a breakage.

Change-Id: Iec98bf525b88b6b5b45bffb97a1f3e9b57c492dd
2016-03-01 18:39:27 -08:00
Selim Cinek
049f6adfb8 Fixed a bug where the notification texts wouldn't animate
If the texts were the same but one had an ellipsis and the
other didn't, things were not animating nicely.

Bug: 27419215
Change-Id: Iaa9611e1cf60b6fe71113b76f36ab5c24e461961
2016-03-02 01:21:26 +00:00
Fyodor Kupolov
285bec2641 Merge "Disable switching users if the user is in a call" into nyc-dev 2016-03-01 23:21:29 +00:00
Chong Zhang
e4fbd328f8 Don't change resize mode if AM didn't dock the task as requested
AM may not docked the task as requested if the task is not resizeable.
Setting resizing in this case would cause unnecessary drag-resizing,
and the resize mode will go out of sync.

bug: 27390258
Change-Id: I72d671ac015f93fde5aaa025fbade93acd9d9ca7
2016-03-01 14:52:58 -08:00
Chris Wren
7c5168457b add all those great comments from the other file
also pick up some enum renaming

Bug: 27429645
Change-Id: Id26ddea46755b43e8db298b87b3a47b69be0f728
2016-03-01 16:44:32 -05:00
Michael Wright
a75c2a7819 Merge "Show error message when pairing fails in SUW." into nyc-dev 2016-03-01 21:32:06 +00:00
Dianne Hackborn
a6dcaa6f84 Merge "Fix issue #27317952: PendingIntent.getIntent() should be protected" into nyc-dev 2016-03-01 20:57:02 +00:00
Jason Monk
bbcdab6f01 Merge "Fix difference in icon size for quick QS" into nyc-dev 2016-03-01 20:10:24 +00:00
Jason Monk
ec87a878d3 Fix difference in icon size for quick QS
Bug: 27371482
Change-Id: I7c1316bf3b3ff6dfde0a92a6c8b9599c2f203503
2016-03-01 15:00:16 -05:00
Winson
9da1885047 Fixing regression in creating dismiss descriptions.
Bug: 27411256
Change-Id: I39f56257544d593838349049208fe59f551100eb
2016-03-01 19:58:06 +00:00
Winson Chung
6b03ff8d57 Merge "Skip animation in error case, log for further investigation." into nyc-dev 2016-03-01 19:57:05 +00:00
Jason Monk
e636afd901 Merge "Handle density changes in QS" into nyc-dev 2016-03-01 19:26:56 +00:00
Selim Cinek
a26ddbaf7b Notification groups with only one child behave nicer when swiping
When swiping the last child of a group away the notification parent
is now swiped instead of the child, unless it is non-dismissable.

Bug: 27420342
Change-Id: Idbb1fac5e46a5a91af829973ee167ad400be82a5
2016-03-01 19:16:33 +00:00
Selim Cinek
8e0c498165 Fixed a bug where children were not / incorrectly userlocked
This can lead to all sorts of weird behavior

Bug: 24866646
Change-Id: If3395c5f1b524592cd658a57ac91d2a0fe893011
2016-03-01 19:16:11 +00:00
Selim Cinek
898d173b92 Expanding first child in a group now if it's the only one
When expanding notifications, the first child is now expanded
if it's the only one in there.

Bug: 27419554
Change-Id: Icdadbb7036e4cd5964de4c2e96e6a8322052bc93
2016-03-01 19:15:30 +00:00
Jason Monk
ee70388723 Merge "Fix QS edit BGs" into nyc-dev 2016-03-01 19:14:33 +00:00
Julia Reynolds
1c7cd0a882 Merge "Fix app icon in notification guts." into nyc-dev 2016-03-01 18:54:53 +00:00
Winson
3f3d744d5c Skip animation in error case, log for further investigation.
Bug: 27389156
Change-Id: Idc2ebdf04ab72d326f68a47627b27d6e61315d1e
2016-03-01 10:07:04 -08:00
Yorke Lee
810252ad47 Merge "Add setAlwaysOpaque and setTint to BarTransitions" into nyc-dev 2016-03-01 17:50:33 +00:00
Julia Reynolds
be0184662d Fix app icon in notification guts.
Bug: 27408961
Change-Id: Iafae86dff611eb5c00b283452b5fcbc65f314c9e
2016-03-01 12:23:21 -05:00
Jason Monk
46dbfb475f Handle density changes in QS
Bug: 26845796
Change-Id: Icc783c9d706382e553df49f699aaf44aac943d18
2016-03-01 11:08:19 -05:00
Julia Reynolds
2319dd3a66 Merge "Api review: AutomaticZenRule" into nyc-dev 2016-03-01 15:05:36 +00:00
Jason Monk
1aec93f181 Fix QS icon animations once and for all
Bug: 27250295
Change-Id: I6449b9cea19acf120dfc02d146fe608da46fe790
2016-03-01 09:42:34 -05:00
Yorke Lee
1b268cbca6 Add setAlwaysOpaque and setTint to BarTransitions
Allow the opacity and color of the NavigationBarView
to be controlled.

Bug: 26425669

Change-Id: I364f183bf0ef90c446ae68987ccc3b6bbf09aa67
2016-02-29 19:14:04 -08:00
Mady Mellor
6e64423c19 Merge "Fix settings icon row consuming the click when tapping the notification" into nyc-dev 2016-03-01 02:18:34 +00:00
Dianne Hackborn
e5ad41bc02 Fix issue #27317952: PendingIntent.getIntent() should be protected
Change-Id: Ib05135cd94f5251942a6fc6df542ed39083f7827
2016-02-29 18:02:43 -08:00