Commit Graph

20159 Commits

Author SHA1 Message Date
Kang Li
461959d71f Merge "Add a service to rank apps for ResolverActivity." into oc-dev
am: 5a0ee44ce5

Change-Id: I36f8664480f8741dd4d755cfcc3cfa95d8e3d1ba
2017-04-06 20:37:09 +00:00
TreeHugger Robot
5a0ee44ce5 Merge "Add a service to rank apps for ResolverActivity." into oc-dev 2017-04-06 20:25:47 +00:00
Jason Monk
79f56babd7 Merge "Revert "Handle case when snapshot dimensions don't match"" into oc-dev
am: e7ac324c71

Change-Id: If7e422b1a5e7f8b94d4f338412025aa7ca526a09
2017-04-06 20:20:41 +00:00
Jason Monk
e7ac324c71 Merge "Revert "Handle case when snapshot dimensions don't match"" into oc-dev 2017-04-06 19:51:12 +00:00
Jason Monk
ba53d8ae41 Revert "Handle case when snapshot dimensions don't match"
This reverts commit aea6b74e17.
Bug: 36991071
Bug: 36703868
Change-Id: Ie71992144e78a6580bfce17dfdf20396af80eacd
2017-04-06 18:30:11 +00:00
Jason Monk
ab98962251 Merge "Ignore a broken test until it can be fixed." into oc-dev
am: eb93670383

Change-Id: Ie8b63c5dcdf7461a2a5d3baf12c400ec73ea3fb8
2017-04-06 18:24:54 +00:00
Kang Li
38a6da6473 Add a service to rank apps for ResolverActivity.
bug: 36952725,30982298

Test: used PTP before and after this fix.

Change-Id: I5b249af2dd0d9fe32d1e524e8d2675c863e92b5b
2017-04-06 18:08:14 +00:00
TreeHugger Robot
eb93670383 Merge "Ignore a broken test until it can be fixed." into oc-dev 2017-04-06 18:05:00 +00:00
Julia Reynolds
9dbed5d11e Merge "Fix build" into oc-dev
am: 0b47e289c8

Change-Id: Ic1c373a21b2c38cdc6a3c3491bb3080367401519
2017-04-06 17:01:18 +00:00
Julia Reynolds
4740b61553 Fix build
Test: runtest systemui
Change-Id: I94663b45c8f745c9485cdeb898de5a6bc4f85f0b
2017-04-06 16:41:45 +00:00
Julia Reynolds
fafcda882b Merge "Show a link to app settings in notification guts." into oc-dev
am: 0ff1b458ac

Change-Id: I27b70e04b9924c95dbd2f915d27c0e346f2f0a09
2017-04-06 16:06:09 +00:00
Julia Reynolds
0ff1b458ac Merge "Show a link to app settings in notification guts." into oc-dev 2017-04-06 15:55:36 +00:00
Jason Monk
1ee48434ef Ignore a broken test until it can be fixed.
Test: runtest systemui
Bug: 37074875
Change-Id: Id5561a3ded2242c711c2edccefb1647437d6f963
2017-04-06 11:31:19 -04:00
Winson Chung
d70430b070 Merge "Workaround for input ANR, always finish PiP menu activity." into oc-dev
am: c9fa6399f2

Change-Id: I387739e284275fe8a857a567c596175a81deaad8
2017-04-05 23:44:50 +00:00
Selim Cinek
c7e9cdea59 Merge "Fixed that the icon could dissappear" into oc-dev
am: 58b39a1f87

Change-Id: If6661055678351da6031f92b6a5ec90772983f7a
2017-04-05 23:43:39 +00:00
Winson Chung
c9fa6399f2 Merge "Workaround for input ANR, always finish PiP menu activity." into oc-dev 2017-04-05 23:36:35 +00:00
Selim Cinek
58b39a1f87 Merge "Fixed that the icon could dissappear" into oc-dev 2017-04-05 23:35:59 +00:00
Julia Reynolds
3aeddedc17 Show a link to app settings in notification guts.
Test: runtest systemui, cts
Change-Id: I7204102d5c83d589af5d3da57f72068491c12daa
2017-04-05 22:40:37 +00:00
Jorim Jaggi
360bde1e85 Merge "Check for null when updating header" into oc-dev
am: 010484f7c3

Change-Id: I902a5339f0d62ff14e2f9aa43eae7036d98c45e1
2017-04-05 21:35:05 +00:00
Jorim Jaggi
010484f7c3 Merge "Check for null when updating header" into oc-dev 2017-04-05 21:30:00 +00:00
Winson Chung
87e5d55e98 Workaround for input ANR, always finish PiP menu activity.
- Always finish the PiP menu activity when the interaction is complete
  (either the menu is hidden after showing, or when the user stops
  interacting with it and it was shown for the dismiss overlay)
- Fix issue with bounds animation callback not working due to the app
  window being removed and not updating the app transition that its
  animation "finished"
- Add additional logging throughout to trace PiP animation

Bug: 36877782
Test: Enter PIP, tap to show menu, wait for it to hide, and then use
      wired headset button

Change-Id: Ie88ba107d7fffdd182a4063ef4f324b58669d0ad
2017-04-05 13:44:53 -07:00
Adrian Roos
3a1776794a Merge changes Ibdf9cf90,I3a6dd476,Id4008fc7,Iede88d1e into oc-dev
am: debabde073

Change-Id: I9550d91619d544d80dae1de51412527733a18e80
2017-04-05 20:36:49 +00:00
TreeHugger Robot
debabde073 Merge changes Ibdf9cf90,I3a6dd476,Id4008fc7,Iede88d1e into oc-dev
* changes:
  NotificationViewWrapper: Fix crash for custom views
  Revert "Revert "AOD: Use color filter to invert icons for AOD""
  Revert "Revert "NotificationWrappers: Factor out doze treatment""
  AOD: prevent clicking shelf when dark
2017-04-05 20:30:20 +00:00
Adrian Roos
7c68e29171 NotificationViewWrapper: Fix crash for custom views
Bug: 36430936
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java
Change-Id: Ibdf9cf90fcb69a8af8a3b60596143e3be83fe46e
Merged-In: Ibdf9cf90fcb69a8af8a3b60596143e3be83fe46e
2017-04-05 11:24:42 -07:00
Adrian Roos
456e005a6d Revert "Revert "AOD: Use color filter to invert icons for AOD""
This reverts commit 30d9bad767.

Change-Id: I3a6dd476cb90074d012a05bb291eeaf441fe20d3
Merged-In: I3a6dd476cb90074d012a05bb291eeaf441fe20d3
2017-04-05 11:24:34 -07:00
Adrian Roos
7bcf6d378f Revert "Revert "NotificationWrappers: Factor out doze treatment""
This reverts commit 934027a430.

Change-Id: Id4008fc79e474f3820f3587dff40720a57c9ef3a
Merged-In: Id4008fc79e474f3820f3587dff40720a57c9ef3a
2017-04-05 11:23:34 -07:00
Adrian Roos
03cf2586fa AOD: prevent clicking shelf when dark
Fixes: 35718464
Test: Enable AOD, try clicking on shelf in AOD, make sure it's not clickable.
Change-Id: Iede88d1e0ab394f0db2acaac6a1ad8baaeef15f1
2017-04-05 11:23:21 -07:00
Adrian Roos
b298e4f87c Merge changes I70f79400,I2f8cab37 into oc-dev
am: bb790ca951

Change-Id: Ie5286397f0b0e28732e142d6cd31ccfd9d1c19a7
2017-04-05 17:53:28 +00:00
Adrian Roos
bb790ca951 Merge changes I70f79400,I2f8cab37 into oc-dev
* changes:
  AOD: Adjust header to spec
  AOD: Only show actually pulsing entries
2017-04-05 17:47:33 +00:00
Jason Monk
8da1dc27f9 Merge "Fix monkey crash" into oc-dev
am: c01dd791c3

Change-Id: I67f19cb80671166826e97e3e2470037b426500c4
2017-04-05 16:02:56 +00:00
TreeHugger Robot
c01dd791c3 Merge "Fix monkey crash" into oc-dev 2017-04-05 15:55:42 +00:00
Mady Mellor
4ba5995a87 Merge "Make sure to remove child views when recreating notification menu row" into oc-dev
am: 1e943b3ef0

Change-Id: I6aa4903673eaf099a77eaf90d95abfacca550ea3
2017-04-05 15:26:15 +00:00
Geoffrey Pitsch
6375068908 Merge "Inline Controls hide Settings button when no appropriate link." into oc-dev
am: 18cbccbfb0

Change-Id: Ic0aff571bdb29570e2e5b56a5ce76c75d27f69e3
2017-04-05 15:25:16 +00:00
TreeHugger Robot
1e943b3ef0 Merge "Make sure to remove child views when recreating notification menu row" into oc-dev 2017-04-05 15:20:50 +00:00
TreeHugger Robot
18cbccbfb0 Merge "Inline Controls hide Settings button when no appropriate link." into oc-dev 2017-04-05 15:18:39 +00:00
Adrian Roos
60c0420907 Merge "AOD: update AOD2 views to spec" into oc-dev
am: 146293b35c

Change-Id: I383dae263347ea0719bbbb8af07e6d0a665aee27
2017-04-04 23:44:39 +00:00
Adrian Roos
146293b35c Merge "AOD: update AOD2 views to spec" into oc-dev 2017-04-04 23:38:42 +00:00
Winson Chung
7c3db61d91 Merge "Catching additional case where menu would disappear in accessibility." into oc-dev
am: 6a9f4a997c

Change-Id: I1473f065885e599cb04e045f0096826ed02f417f
2017-04-04 22:47:22 +00:00
TreeHugger Robot
6a9f4a997c Merge "Catching additional case where menu would disappear in accessibility." into oc-dev 2017-04-04 22:39:44 +00:00
Adrian Roos
7d062c4549 AOD: Only show actually pulsing entries
Fixes an issue where swiping away a notification on AOD2 would
expose the next notification.

Bug: 34716110
Test: receive notification while phone is off, swipe away notification, verify that the next notification does not become visible
Change-Id: I2f8cab37912e6b1edcc129c994a7138c80da7af9
2017-04-04 13:21:35 -07:00
Adrian Roos
d83e9999f7 AOD: update AOD2 views to spec
- Increase notification header size
- Dim clock in AOD2
- Hide shelf in AOD2

Bug: 30876804
Test: manual
Change-Id: I272ff54bd0dbed0ae4271c922f62304401651fc9
2017-04-04 13:21:35 -07:00
Selim Cinek
47374630bf Fixed that the icon could dissappear
A bug could lead to the icon being hidden
even if it should not have been possible

Test: runtest systemui
Fixes: 34660898
Change-Id: Ia585c396462a371dd213f4de59217013fcc482e4
2017-04-04 20:13:24 +00:00
Winson Chung
379b9ab42c Catching additional case where menu would disappear in accessibility.
- When showing the menu via accessibility it will stay on screen until
  the user focuses away, but exploring via talkback still sends
  onUserInteraction() callbacks which would post it anew.  We need to
  save the timeout state whenever the menu is shown and check it there
  as well.

Bug: 36103023
Test: Enter PIP with talk back, touch button but don't do anything for
      the timeout (~4s), verify menu does not close.

Change-Id: I03ce14531fcde84440122bfb0fc70899f5178d5b
2017-04-04 19:03:54 +00:00
Bartosz Fabianowski
1f55821808 Merge "Launch Intents from QS security footer as current user" into oc-dev
am: c027f94177

Change-Id: I1e12f5e1756f929c89e258f994181edb940d81f8
2017-04-04 14:10:55 +00:00
TreeHugger Robot
c027f94177 Merge "Launch Intents from QS security footer as current user" into oc-dev 2017-04-04 14:04:35 +00:00
Geoffrey Pitsch
029a3fa6db Inline Controls hide Settings button when no appropriate link.
Notifications sent to USER_ALL when not the system user.
Fix bug when notification wants to unhide the settings button.

Test: runtest systemui
Change-Id: I45c91426c8ec68eac19ab33378a33e5376bfc9e2
Fixes: 36708034
2017-04-04 09:26:39 -04:00
Jorim Jaggi
2390ec2e83 Check for null when updating header
Test: Boot device, go to recents, scroll
Change-Id: I11935ac9931cd443a82229bbc295ace8ffc9a095
Fixes: 36531669
2017-04-04 14:06:30 +02:00
Jorim Jaggi
e6737ba6de Merge "Schedule window animations at vsync-sf" into oc-dev
am: de95d544cd

Change-Id: I0d6377d0cafdf33a7872ddda15d796147e0f4a60
2017-04-04 09:32:04 +00:00
Jorim Jaggi
de95d544cd Merge "Schedule window animations at vsync-sf" into oc-dev 2017-04-04 09:26:03 +00:00
Jorim Jaggi
05ca99b43b Merge "Handle case when snapshot dimensions don't match" into oc-dev
am: 1edadac465

Change-Id: Icbe3f3c26cf65e7b12f5567a9bc40f7e0a3bd578
2017-04-04 09:23:35 +00:00