Commit Graph

14726 Commits

Author SHA1 Message Date
Mady Mellor
53ac1ef993 Don't show the shade background for heads up notifications
This looked weird when dismissing.

Change-Id: I9c4256a4c8792c4ff81d3cf1e34c45591853c206
Fixes: 29462609
2016-06-20 13:27:02 -07:00
Bill Yi
5ff0bd5c92 Import translations. DO NOT MERGE
Change-Id: I53a52ba5b590a502a7e2dcdef540cd2e4baaffbe
Auto-generated-cl: translation import
2016-06-06 16:00:06 -07:00
Selim Cinek
6c94972622 Merge "Fixed a bug where talkback couldn't scroll through notifications" into nyc-dev 2016-06-03 20:39:25 +00:00
TreeHugger Robot
ef2989920d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-03 16:55:03 +00:00
TreeHugger Robot
2ab4f451dc Merge "Fix BigText transitions" into nyc-dev 2016-06-03 15:36:11 +00:00
Julia Reynolds
cdf98e1964 Don't leak guts.
Change-Id: I7a9080ce4d360ed67b884eb9cbd8597496388389
Fixes: 29064258
2016-06-03 13:17:47 +00:00
Bill Yi
b67c06c31a Import translations. DO NOT MERGE
Change-Id: I733983cfcd864557c987aa746c3a3f2c249a9c12
Auto-generated-cl: translation import
2016-06-03 05:23:35 -07:00
Selim Cinek
41fe89a84a Fixed a bug where talkback couldn't scroll through notifications
Change-Id: Idac298efe3a25be1d435776817180c3acf78bf84
Fixes: 29046169
2016-06-02 15:27:56 -07:00
TreeHugger Robot
30e434a996 Merge "Fix memory leak via ZenModeController callbacks." into nyc-dev 2016-06-02 21:05:56 +00:00
Adrian Roos
237ffa48d0 Fix BigText transitions
Fixes a bug where BigText would never transition
between the expanded and collapsed version because
padding was wrongly taken into account when checking
the view height.

Change-Id: I4df242b4133dacdff77b78cc2d4ff3954b75b8a7
Fixes: 29042222
2016-06-02 13:16:30 -07:00
Jorim Jaggi
79c0b2bcbb Merge "Also update setMinLines" into nyc-dev 2016-06-02 19:34:57 +00:00
Julia Reynolds
b44ef7eb43 Fix memory leak via ZenModeController callbacks.
Bug: 29064258
Change-Id: Ie817ec50206ce23561775fc0ac178754b946f030
2016-06-02 19:30:50 +00:00
TreeHugger Robot
a31ac7ddfb Merge "Fix leak on density change." into nyc-dev 2016-06-02 19:24:16 +00:00
Julia Reynolds
c3960f66be Hide alarm condition if there's no alarm.
Change-Id: Iba8c9eb2bd3033683c25c5cf145fc52f9ac0f0d2
Fixes: 27698976
2016-06-02 18:06:01 +00:00
Mady Mellor
09ca7e73c0 Merge "Parent notifications should always be normal notification color" into nyc-dev 2016-06-02 16:09:16 +00:00
TreeHugger Robot
c152dacc37 Merge "Fixed a crash with notification groups" into nyc-dev 2016-06-02 15:41:10 +00:00
Julia Reynolds
f4d803d463 Fix leak on density change.
Bug: 29064258
Change-Id: I9d579cc17fe4554a6a4aa57c409cef72bdee74bd
2016-06-02 10:57:02 -04:00
Ricky Wai
390a0ca025 Merge "Do not use cached tile specs value in QSTileHost.addTile()" into nyc-dev 2016-06-02 14:56:51 +00:00
Ricky Wai
b96c1eacaf Do not use cached tile specs value in QSTileHost.addTile()
As addTile() can be run multiple times before listener receives
the update, addTile() should always use the latest updated value
from settings but not from the cache value.

Bug: 28185436
Change-Id: I8c840343b797b00373a6f40cc5ea125efe68a6e1
2016-06-02 11:42:16 +01:00
Jorim Jaggi
b6650bf02d Also update setMinLines
If we switch to single-line, the min lines property gets overriden
so we need to manually call setMinLines to reset the state to the
initial state.

Change-Id: I1b47a093981045c2c0d176c831e37f8e9431ae1c
Fixes: 29056442
2016-06-02 01:52:02 +00:00
Adrian Roos
6510bdeada Merge "Fix DirectReply bug when reapply fails" into nyc-dev 2016-06-01 19:41:50 +00:00
Adrian Roos
0789ee0908 Fix DirectReply bug when reapply fails
RemoteInputView failed to notice updates where the
reapply failed, causing it to reopen upon success.

Change-Id: I4fdd4d3240da6e38878d281fbf8c654ee9a682c3
Fixes: 29057180
2016-06-01 12:25:10 -07:00
Selim Cinek
42621023cf Merge "Fixes a few bugs on the keyguard with font density changes" into nyc-dev 2016-06-01 19:03:43 +00:00
Selim Cinek
ed6913b0ce Fixed a crash with notification groups
When updating a notification we were not checking if it is the summary
with children, but about the existence of the childrencontainer, which
can change and is never removed. This is now done correctly.

Change-Id: Ie3838613f414d7fcb158dc92c24e8939cfb7c2ea
Fixes: 29055879
2016-06-01 12:01:17 -07:00
TreeHugger Robot
d05a7b5972 Merge "Radio buttons belong in a radio group." into nyc-dev 2016-06-01 18:01:35 +00:00
Jason Monk
4215ae0100 Merge "QS: Fix single expanded frame from layout" into nyc-dev 2016-06-01 17:26:53 +00:00
Jason Monk
1ceef7c0fa Merge "QS: Followup to scroll fixes" into nyc-dev 2016-06-01 17:20:17 +00:00
Jason Monk
8768f68713 Merge "QS: Only put visible tiles in listening state" into nyc-dev 2016-06-01 17:04:26 +00:00
Jason Monk
7b945d8d30 Merge "QS: Protect against crash with no icon" into nyc-dev 2016-06-01 17:04:21 +00:00
Mady Mellor
0d7dbb0f28 Merge "Adds alpha to dimmed backgrounds" into nyc-dev 2016-06-01 16:53:50 +00:00
Selim Cinek
6ebba59aad Fixes a few bugs on the keyguard with font density changes
The reinflation of the system icons was not working correctly
and all the paddings were of.
Also the affordance icons were outdated and had to be reloaded.

Change-Id: I3cf338d33a82c8be94d01561d7b7d9a37a563ad9
Fixes: 28968657
Fixes: 28672410
2016-06-01 09:41:44 -07:00
Julia Reynolds
656f98681e Radio buttons belong in a radio group.
Fix for 'multiple buttons selected at once' issue.

Change-Id: Iec54eac699886ed1c7b8afd91382ff9b5750c696
Fixes: 27698976
2016-06-01 12:37:13 -04:00
Jason Monk
f50e88227d QS: Fix single expanded frame from layout
During animation it was resetting the QS expansion on layout which
made a frame of fully expanded appear.

Bug: 28008271
Change-Id: I6ac44cb918bdf53da0653332eabf0f4e96779cff
2016-06-01 11:19:26 -04:00
Jason Monk
e19cc141c3 QS: Protect against crash with no icon
Change-Id: I65d594c9bf15190418d96cc6d2c426df00fed212
Fixes: 28941131
2016-06-01 10:25:01 -04:00
Bill Yi
3fb5d5249d Import translations. DO NOT MERGE
Change-Id: I95a9ffff8b53c291bd9eb314641b310c4ca1cbad
Auto-generated-cl: translation import
2016-06-01 01:51:04 -07:00
Jorim Jaggi
0c54d2c391 Merge "Fix multi-window enter animation" into nyc-dev 2016-05-31 20:08:50 +00:00
Jason Monk
e5107a36b0 QS: Only put visible tiles in listening state
- Make it so the QSPanel doesn't listen until expansion starts
 - Push listening state through the TileLayout
 - Make PagedTileLayout only listen for visible pages
 - Push setListening onto background thread

Change-Id: Id7c008c9447f9a5dac69469fef72bc580f423b0c
Fixes: 28962155
2016-05-31 15:49:35 -04:00
Selim Cinek
ddc6de1eda Merge "Fixed a few accessibility issues with notifications and groups" into nyc-dev 2016-05-31 19:26:16 +00:00
Jason Monk
35742d8c31 QS: Followup to scroll fixes
Change-Id: Icfa8f9e7c2cc563dd1496049b82e4cdb4c4fc922
Fixes: 28671167
2016-05-31 10:30:46 -04:00
Winson Chung
8a9100caae Merge "Tweaking layout to make two-task stacks to closer match design." into nyc-dev 2016-05-28 00:07:47 +00:00
Selim Cinek
ddf1b399d8 Fixed a few accessibility issues with notifications and groups
Change-Id: I78fa62884eaa0efe825b5eb1e6cac7d88fc05a7f
Fixes: 28069681
2016-05-27 17:04:56 -07:00
Jorim Jaggi
e525a35704 Fix multi-window enter animation
Stable insets are not calculated in the first pass, so fetch it
manually if needed to avoid a relayout.

Bug: 28705801
Change-Id: I8f9a3bab96b597a80963d7ebcc8b19454b3e45a6
2016-05-27 23:58:20 +00:00
Adrian Roos
e3e80bde12 Merge "Fix status bar autohide with DirectReply" into nyc-dev 2016-05-27 22:55:00 +00:00
Winson
399d21e37c Tweaking layout to make two-task stacks to closer match design.
- In the small-stack cases, set the initial state to top-align the
  back-most task.  In addition to offsetting the position, ensure that
  the dim for the back-most task is offset by this new position.
- Fixing issue with wrong return value when update insets.
- Fixing issue where tasks disappear after rotating while scrolling the
  stack, due to the scrollering setting the stack scroll to an invalid
  scroll position in the new layout in the new orientation.

Bug: 27859654
Change-Id: Ia4aaa3fe445032493c94a8dee7f6fea33bee36ec
2016-05-27 15:30:06 -07:00
Adrian Roos
e88f60b8bb Merge "NotificationStackScroller: Fix scrollTo for notification groups" into nyc-dev 2016-05-27 21:18:57 +00:00
Adrian Roos
06fe24341c Merge "Notification: Fix bug with sliding action list" into nyc-dev 2016-05-27 21:17:27 +00:00
Jorim Jaggi
a6c05d5151 Fix weirdness when home task forces rotation
- Make sure to retain the state when divider goes through a configuration
change in order to avoid that nothing happens when entering multi-window.
Save the state in DividerState and use a handler that's independant of the
attached state.
- Don't allow home task to dictate orientation unless the docked stack is
minimized. This caused a lot of weird bugs because when docking a task,
home stack gets moved to front, and if home task is front of stack, it
temporarily might dictate the rotation but later not anymore so this
causes two rapid configuration changes which may cause a lot of weirdness.

Change-Id: I6a2308af893cd8413ee8801e5b964f6ddc0abd51
Fixes: 28943853
2016-05-27 21:09:22 +00:00
Selim Cinek
2fba229166 Merge "Fixed a bug where a notification could be stuck in the overlay" into nyc-dev 2016-05-27 20:47:07 +00:00
Adrian Roos
5e47645f6d Fix status bar autohide with DirectReply
If a touch outside the status bar window is detected
we schedule autohiding the status bar - which is wrong
when that touch is due to touching the IME for DirectReply.

Bug: 28914905
Change-Id: Ic86612192368181f195fa54ac4f20edaf02af685
2016-05-27 12:07:37 -07:00
Selim Cinek
4f401f24c7 Merge "Fixed a few memory leaks in SystemUI" into nyc-dev 2016-05-27 18:58:56 +00:00