Commit Graph

20894 Commits

Author SHA1 Message Date
Jason Monk
d58b721e55 Merge "Fix QS Detail header touch target" into oc-dev
am: b25f52c042

Change-Id: I7ec755fdfda3014aecdcfa7ff47ae0c39d3bff92
2017-05-26 20:52:10 +00:00
Jason Monk
b25f52c042 Merge "Fix QS Detail header touch target" into oc-dev 2017-05-26 20:44:17 +00:00
Jason Monk
daeafccfa9 Merge "Make volume dialog pick up on theme changes" into oc-dev
am: 1ec5d85a41

Change-Id: I9b2e6dbe789bb6e1ff113e5ad015813e1062c6b4
2017-05-26 19:08:22 +00:00
Jason Monk
1ec5d85a41 Merge "Make volume dialog pick up on theme changes" into oc-dev 2017-05-26 19:03:46 +00:00
Jason Monk
ecfbddbced Fix QS Detail header touch target
Move around some spacings and paddings to make sure the whole area
counts as a touch for the header.

Test: manual
Change-Id: I3d7515767cc3624efb195481886dc03c69cc39c9
Fixes: 38250837
2017-05-26 13:19:38 -04:00
Jason Monk
a29528979c Make volume dialog pick up on theme changes
Test: change theme, view volume
Change-Id: I3f5b6ea7fd949e72624458a13b6c953629fcd1b5
Fixes: 38408033
2017-05-26 12:58:07 -04:00
Yoshinori Hirano
0a5d096384 Merge "Collapse QS panel forcibly after dismissing Keyguard" into oc-dev
am: dc23c5e809

Change-Id: Ib7611306c6117754759af2b07e21f9cd26610173
2017-05-26 16:31:00 +00:00
TreeHugger Robot
dc23c5e809 Merge "Collapse QS panel forcibly after dismissing Keyguard" into oc-dev 2017-05-26 16:20:52 +00:00
Jason Monk
e5376996db Merge "Fix RTL for SignalDrawable" into oc-dev
am: 482da48066

Change-Id: I71d5e632bac18e5fad2a49321373e0ee01814678
2017-05-26 15:38:00 +00:00
TreeHugger Robot
482da48066 Merge "Fix RTL for SignalDrawable" into oc-dev 2017-05-26 15:30:25 +00:00
Mady Mellor
2cd3e9c500 Merge "Check for false touches when determining if the notif menu should be shown" into oc-dev
am: 70739fb812

Change-Id: Ie2014ee92ec3fb629801b18465ec42c36b6e2283
2017-05-26 15:00:07 +00:00
Adrian Roos
89255babb6 Merge "AOD: Fix AOD background bug" into oc-dev
am: b8b748b7e6

Change-Id: I3026455c7460c24433d905fce63a4018a0c14271
2017-05-26 14:57:30 +00:00
Julia Reynolds
a98bdea2c5 Merge "Allow some system notifications to be blocked." into oc-dev
am: 3a2ac3e11b

Change-Id: I356dcf376002d95238509235389d260e179fea26
2017-05-26 14:53:53 +00:00
Mady Mellor
8da8f55295 Merge "Add 2 hours as an option for snoozing, update default to 1 hour" into oc-dev
am: 03a243889c

Change-Id: Iab86219c92978c4c37eaafd95800392d5b28bcf5
2017-05-26 14:47:04 +00:00
TreeHugger Robot
70739fb812 Merge "Check for false touches when determining if the notif menu should be shown" into oc-dev 2017-05-26 14:40:27 +00:00
TreeHugger Robot
b8b748b7e6 Merge "AOD: Fix AOD background bug" into oc-dev 2017-05-26 14:39:53 +00:00
Julia Reynolds
3a2ac3e11b Merge "Allow some system notifications to be blocked." into oc-dev 2017-05-26 14:39:30 +00:00
TreeHugger Robot
03a243889c Merge "Add 2 hours as an option for snoozing, update default to 1 hour" into oc-dev 2017-05-26 14:37:26 +00:00
Yoshinori Hirano
c673fbc2c2 Collapse QS panel forcibly after dismissing Keyguard
The Quick Settings panel is not collapsed when the screen lock is
unlocked by using TileService APIs (unlockAndRun() and
startActivityAndCollapse()).
To fix this issue, the QS panel should be collapsed forcibly when
startActivityAndCollapse() is called.

Bug: 38252721
Test: manual - install an app which calls startActivityAndCollapse()
               inside the runnable passed to unlockAndRun().

Author: Yuta Yamada <yuta.x.yamada@sonymobile.com>
Change-Id: I82d1df368d5024283f58ee5cc2d42559aac28467
2017-05-26 10:02:25 -04:00
Jason Monk
54b610f32b Fix RTL for SignalDrawable
Test: visual
Change-Id: I685125dff96829159d78983ad4b7c7f91d095c5c
Fixes: 38487767
2017-05-26 09:21:35 -04:00
Selim Cinek
9cd34aa978 Merge "Fixed memory leak with the inflater" into oc-dev
am: 3d5fd7a959

Change-Id: I90d93918d1b188d09f6d2cf3ed70ceed38b07086
2017-05-25 23:08:11 +00:00
Selim Cinek
3d5fd7a959 Merge "Fixed memory leak with the inflater" into oc-dev 2017-05-25 22:54:12 +00:00
Selim Cinek
d68026a77f Merge "Fixed an issue when inflating too many notifications" into oc-dev
am: 3a6f2a30ce

Change-Id: Ic2a82150d08eb70762c08822b040860e79f66b0b
2017-05-25 22:53:54 +00:00
Selim Cinek
3a6f2a30ce Merge "Fixed an issue when inflating too many notifications" into oc-dev 2017-05-25 22:42:15 +00:00
Jason Monk
dd7ab998fd Merge "Add test to verify all sysui tests extend the right stuff" into oc-dev
am: 34b64f2559

Change-Id: I412152b803be5a4e70b018c38ec3bbda76a51a01
2017-05-25 22:30:40 +00:00
TreeHugger Robot
34b64f2559 Merge "Add test to verify all sysui tests extend the right stuff" into oc-dev 2017-05-25 22:21:28 +00:00
Jason Monk
f4968f3c98 Merge "Fix up the QS gutter" into oc-dev
am: 78ee090f78

Change-Id: I84250204436869ad18365acc42688fd6455f94a4
2017-05-25 21:52:02 +00:00
Adrian Roos
9404678b89 Merge "AOD: Fix camera icon visibility" into oc-dev
am: f3a50f1675

Change-Id: I012732902d2f076e247f69f297bc4613ad4d0e94
2017-05-25 21:48:37 +00:00
TreeHugger Robot
78ee090f78 Merge "Fix up the QS gutter" into oc-dev 2017-05-25 21:41:54 +00:00
TreeHugger Robot
f3a50f1675 Merge "AOD: Fix camera icon visibility" into oc-dev 2017-05-25 21:40:55 +00:00
Julia Reynolds
f732159cf8 Allow some system notifications to be blocked.
- Happens at a channel level, and system services have to opt in

Bug: 38428796
Test: runtest systemui-notification, manual
Change-Id: I5592b4e32c177844583aee25379390199eef0a58
2017-05-25 20:42:59 +00:00
Mady Mellor
bd707492a2 Check for false touches when determining if the notif menu should be shown
If it's a false touch don't show the menu.

Test: manual: try swiping things away on the lockscreen (fast + long)
     try showing notification menu on the lockscreen
Bug: 38208094

Change-Id: I16ceedd90a5fbc80156a9495d6cfd6fa02771886
2017-05-25 13:26:53 -07:00
Mady Mellor
1987e6212c Merge "Dont reset the menu state if the menu is showing during an update" into oc-dev
am: 814d666f76

Change-Id: I0b31d86447dd53236f5e4253cea79ab47902c7fe
2017-05-25 20:20:40 +00:00
TreeHugger Robot
814d666f76 Merge "Don’t reset the menu state if the menu is showing during an update" into oc-dev 2017-05-25 20:08:59 +00:00
Selim Cinek
67ff248168 Fixed memory leak with the inflater
Because min priority children could be removed from
their parents after the removal, a new inflation task
would be started, leading to the view being instantly
readded again. This lead to memory leaks.

It also fixes a bug where the inflation would not inflate
enough views that could lead to crashes / wrong layouts.

Finally there was a indexing error when handling removal
of group summaries.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: Iac242946bd30060967ee7877560d40e63f39f996
Fixes: 62067645
2017-05-25 12:41:03 -07:00
Adrian Roos
674b8eaff3 AOD: Fix camera icon visibility
Fixes a bug where the camera icon could become
visible in AOD even though it should not.

Fixes: 62038727
Test: Trigger ambient display, uninstall button provider plugin, observe camera button does not show
Change-Id: Ie97085dff58b6ecd0157126e30b86138f585d454
2017-05-25 12:33:19 -07:00
Jason Monk
25a52b65b2 Add test to verify all sysui tests extend the right stuff
And then make it pass.

Test: runtest systemui
Fixes: 38500852
Change-Id: I377164219e4a4f4d1a99f11ef06da03c2b527eb0
2017-05-25 15:18:06 -04:00
Adrian Roos
f0b4f9617a AOD: Fix AOD background bug
There are certain conditions where the onDraw is still called
even though willNotDraw is set to true. Make sure we do not
draw the background then in ambient mode.

Change-Id: I63db1232434d9e8a80dc4c8a6dcacf726d8873ad
Fixes: 62090100
Test: receive notification / trigger ambient display, verify notification background is not showing
2017-05-25 11:53:11 -07:00
Jason Monk
4de5d3c03d Fix up the QS gutter
- Don't show when collapsed, show divider instead
 - Don't show when no notifications
 - Animate between states while expanding/collapsing
 - Other visual cleanup

Test: visual
Change-Id: I923c963fa70d63601b6a181299b04c5fc49922bb
Fixes: 38199857
Fixes: 38483355
Fixes: 38409326
Fixes: 38417776
2017-05-25 14:22:07 -04:00
Jason Monk
dd4a9a2a18 Merge "Fix guest tint" into oc-dev
am: 70d4423eb6

Change-Id: I65d05cbf2b3cc31e5fb2376eb3ab9a0782cc0c9d
2017-05-25 17:19:48 +00:00
Jason Monk
70d4423eb6 Merge "Fix guest tint" into oc-dev 2017-05-25 17:09:14 +00:00
Selim Cinek
b150a39b0f Merge "Fixed an issue where groups could stay userlocked" into oc-dev
am: e736807efd

Change-Id: I8d2bdf59d406985ac336eddcf8f868a985f30612
2017-05-25 03:38:01 +00:00
Selim Cinek
e736807efd Merge "Fixed an issue where groups could stay userlocked" into oc-dev 2017-05-25 03:29:14 +00:00
Jason Monk
8edc7a7ea5 Merge "Fix QS tiles not rippling" into oc-dev
am: b8e5742f5b

Change-Id: I05ff98435f88ea489a557013fc53a8cfe12304f5
2017-05-24 22:05:29 +00:00
Adrian Roos
e90d58ed09 Merge "AOD: Fix wakeAndUnlockPulsing transition" into oc-dev
am: 838e365581

Change-Id: I7140eb9253c84dc35a5f3bf62576e71e4828c6c5
2017-05-24 22:01:34 +00:00
TreeHugger Robot
b8e5742f5b Merge "Fix QS tiles not rippling" into oc-dev 2017-05-24 21:50:21 +00:00
TreeHugger Robot
838e365581 Merge "AOD: Fix wakeAndUnlockPulsing transition" into oc-dev 2017-05-24 21:36:38 +00:00
Adrian Roos
2105d8f1a7 Merge "Keyguard: Update clock size" into oc-dev
am: 6441e1064c

Change-Id: I56dae82a5fdefcd088bb0b8ec8eb3cd8a89f7bf7
2017-05-24 21:05:57 +00:00
Adrian Roos
90871e5ba5 Merge "Keyguard: Remove all caps from keyguard status view" into oc-dev
am: 246a2c90ac

Change-Id: I36f60a7e64b38e7abdbb59b629997f4214db9b3f
2017-05-24 21:01:46 +00:00
Adrian Roos
6441e1064c Merge "Keyguard: Update clock size" into oc-dev 2017-05-24 21:01:45 +00:00