Commit Graph

20655 Commits

Author SHA1 Message Date
TreeHugger Robot
db0836779e Merge "Fix for wifi detail icon disappearing" into oc-dev 2017-05-31 16:28:57 +00:00
TreeHugger Robot
388ceaa37a Merge "Fix header not set on initialization" into oc-dev 2017-05-31 15:42:58 +00:00
TreeHugger Robot
0b45799abc Merge "Hide Wi-Fi activity indicator when Wi-Fi icon is hidden" into oc-dev 2017-05-31 15:42:04 +00:00
Yoshinori Hirano
50eac3573a Hide Wi-Fi activity indicator when Wi-Fi icon is hidden
Wi-Fi icon in the status bar can be blocked by System UI Tuner.
So the activity indicator should be hidden.

Fixes: 62211154
Test: manual - block Wi-Fi icon

Author: Akira Oshimi <akira.oshimi@sony.com>
Change-Id: Iba698d621d60f6d6c9f6d8205f91df49806f3f54
2017-05-31 09:39:29 -04:00
TreeHugger Robot
ddd5458092 Merge "Do not set the divider pos during adjust ime and minimized interaction" into oc-dev 2017-05-31 02:22:33 +00:00
TreeHugger Robot
9c1b222fc1 Merge "Fix issue with aspect ratio not applying correctly when PIP is expanded" into oc-dev 2017-05-31 00:01:00 +00:00
Lucas Dupin
6ea2787920 Fix header not set on initialization
Header not being set was causing min priority
groups to skip expansion animation.

Bug: 38436027
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationChildrenContainerTest.java
Change-Id: I34307a7e5ecfe7e30d5bf97880b17fedb0d84378
2017-05-30 16:46:23 -07:00
TreeHugger Robot
17e512528f Merge "Fix QS header touch targets" into oc-dev 2017-05-30 23:36:52 +00:00
TreeHugger Robot
0c78e8238d Merge "Show date + alarm icon when on lock screen" into oc-dev 2017-05-30 23:29:37 +00:00
TreeHugger Robot
28355df745 Merge "Random hacks to make QS DND work" into oc-dev 2017-05-30 23:12:31 +00:00
TreeHugger Robot
13af917690 Merge "Fix ripple on QS Footer" into oc-dev 2017-05-30 22:01:38 +00:00
TreeHugger Robot
e3f2f29cde Merge "Fix crash from concurrent modification" into oc-dev 2017-05-30 21:50:08 +00:00
Jason Monk
2d77c0f064 Random hacks to make QS DND work
- Don't clear out as much state on attach
 - Make sure condition updates trigger a reflecting radio check
 - Assume that null conditions are forever

Test: manual
Fixes: 37944320
Fixes: 36031650

Change-Id: Ie926d16226e7b5431551a33515ac2b847e1d7a93
2017-05-30 16:40:07 -04:00
Jason Monk
7eba107dcd Fix ripple on QS Footer
Needs a background to draw on.

Test: manual
Change-Id: I7239520afc0aab65e9ff83a86dcf28b01a3fa25d
Fixes: 62194142
2017-05-30 15:37:11 -04:00
Jason Monk
7b3d4e4db1 Fix QS header touch targets
- Fix the sizing by removing padding and repositioning
 - Have container absorb clicks so misses don't collapse
   the panel.

Test: manual
Change-Id: I2f7f79ca23105561c4ce8b7ff44f59ae99131f85
Fixes: 37049839
Fixes: 38359316
2017-05-30 15:32:42 -04:00
Jason Monk
9dac11277a Show date + alarm icon when on lock screen
Test: manual
Change-Id: I3b1b9749c0acd029b9f59bf7c21a253ba2e30229
Fixes: 38123822
2017-05-30 15:21:29 -04:00
Jason Monk
f66d377a68 Fix crash from concurrent modification
Change zen callbacks to allow for concurrent modification.

Test: runtest systemui
Change-Id: I8233353f617c4537104be2ec7be13247ed7f6ae0
Fixes: 38449656
2017-05-30 14:45:17 -04:00
Matthew Ng
f3589c7a22 Do not set the divider pos during adjust ime and minimized interaction
When launching an app in splitscreen with while ime is up will trigger
an animation that is trying to minimize the docked stack (this bug is
tracked in b/36603383) with the end result in incorrect bounds for the
docked and fullscreen tasks (leaving visual glitches in their apps).
This was caused by setting the divider position while there was
interaction with the minimized state. Therefore ignore setting divider
while adjusting for ime and minimized interaction for the tasks to end
with the correct bounds.

Fixes: 38428386
Test: manual - dock something in split screen, use the launcher search
to bring up ime, launch any app (like gmail)
Change-Id: Ic3547b02a39f40698db07d1c0946e0991b69f5d3
2017-05-30 11:42:41 -07:00
Jason Monk
d2638591d9 Merge "Make QS signal indicator act like a QS signal indicator" into oc-dev 2017-05-30 17:01:04 +00:00
Jason Monk
3b5934b267 Merge "Change brightness dialog theme" into oc-dev 2017-05-30 16:46:18 +00:00
Julia Reynolds
8bc45cb78f Merge "Suppress HUNs according to group alert behavior" into oc-dev 2017-05-30 16:43:39 +00:00
Winson Chung
a71febe2aa Fix issue with aspect ratio not applying correctly when PIP is expanded
- The current code always used the default min edge size to calculate the
  PIP bounds when the aspect ratio changes, so if a PIP app sets the aspect
  ratio in response to the an action, the bounds would be resized down
  incorrectly.
- This CL fixes the issue with current aspect ratio not being initialized
  correctly, and also ensures that SystemUI always updates the min edge
  size when expanding the PIP.

Bug: 38324839
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: go/wm-smoke

Change-Id: Ida0f68b2f8f93f9bf1915dda8762a156704d4709
2017-05-30 16:36:48 +00:00
Yoshinori Hirano
2dd296f288 Change brightness dialog theme
Added new theme Theme.DeviceDefault.QuickSettings.Dialog and applied it
to the brightness dialog.

Fixes: 62010126
Test: visual

Change-Id: I3bc1116a227d5e62d8624c9a4911771152f3ced0
2017-05-30 10:50:34 -04:00
TreeHugger Robot
9c4b6d3bff Merge "DividerView choreographer set earlier to avoid null exception" into oc-dev 2017-05-27 01:29:47 +00:00
Selim Cinek
7ddf54211f Merge "Fixed a bug where min-priority were in the middle" into oc-dev 2017-05-26 23:32:16 +00:00
TreeHugger Robot
a7914f24dd Merge "Fix the back button ripple." into oc-dev 2017-05-26 23:10:50 +00:00
Jiaquan He
6d5708c55b Fix the back button ripple.
Bug: 62141426
Test: Manually checked that the default highlight doesn't show up
when tapping on the back button on the navigation bar.
Change-Id: Iedef32077c869e55f14dbd0aa92c4ce3220e0d1a
2017-05-26 14:27:43 -07:00
Jason Monk
b25f52c042 Merge "Fix QS Detail header touch target" into oc-dev 2017-05-26 20:44:17 +00:00
Julia Reynolds
30203159f9 Suppress HUNs according to group alert behavior
Test: runtest systemui, systemui-notification
Change-Id: I9f987bc0ba22f2d48b02585fd722880bb5c2a9b5
Fixes: 62126386
2017-05-26 20:35:07 +00:00
Evan Laird
f6139f934b Fix for wifi detail icon disappearing
With Wi-Fi turned off, presenting the QS detail view would initially
show the correct view but then after a delay it would disappear. This
fixes that

Test: visual
Change-Id: Id1b697ddb8b3c3c8102d7dddc7691330125312f0
Fixes:62137316
2017-05-26 19:11:43 +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
10b4c8a4ab Make QS signal indicator act like a QS signal indicator
It had the behavior of the status bar before, so switch it over to
QS behavior but keep status bar icons for the appearance. Ditch
the old QS data icons because we no longer need them.

Test: runtest systemui
Change-Id: I1356bbc19c4874ae467e192b9129136ebd0a37c8
Fixes: 62128809
2017-05-26 13:52:59 -04: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
TreeHugger Robot
dc23c5e809 Merge "Collapse QS panel forcibly after dismissing Keyguard" into oc-dev 2017-05-26 16:20:52 +00:00
TreeHugger Robot
482da48066 Merge "Fix RTL for SignalDrawable" into oc-dev 2017-05-26 15:30:25 +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
55a3e738a6 Fixed a bug where min-priority were in the middle
The recent intrusiveness could elevate min priority notifications
temporarily and the reordering was also blocked while looking at it.
We're now allowing the shade to reorder if a notification updates to
min-priority.

Test: manual, add intrusive notification, update while looking at the shade to min
Change-Id: I75b23a7cbaecc8ae941d6680a924c79371c95991
Fixes: 37515606
2017-05-26 01:44:43 +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
3a6f2a30ce Merge "Fixed an issue when inflating too many notifications" into oc-dev 2017-05-25 22:42:15 +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
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