Commit Graph

17927 Commits

Author SHA1 Message Date
TreeHugger Robot
54d8789029 Merge "Remove clock binder call" into pi-dev 2018-04-10 16:27:42 +00:00
TreeHugger Robot
859a132aa1 Merge "Hide QS panel upon DISABLE2_QUICK_SETTINGS." into pi-dev 2018-04-10 16:21:34 +00:00
Amin Shaikh
f09450b79c Hide QS panel upon DISABLE2_QUICK_SETTINGS.
Hide the entire QS panel (footer, QQS, QQS status icons) when
StatusBarManager.DISABLE2_QUICK_SETTINGS is flagged on.

Change-Id: Ie51707239bf7db566458864d61fd6d419c5d6901
Fixes: 72739219
Test: visual
2018-04-10 10:53:21 -04:00
Sanry Huang
816d46f7d0 Merge "Fix the wrong tint state of Nav buttons" into pi-dev 2018-04-10 13:39:04 +00:00
Lucas Dupin
4eae881f9b Remove clock binder call
Change-Id: I773663174d0aa7a02989f3389ff0ed67135a16ac
Fixes: 77832075
Test: wait for clock to update, switch user, repeat
2018-04-10 00:20:05 -07:00
shawnlin
317db378f6 Fix the wrong tint state of Nav buttons
Update the aphla value of scrimBehind in setPanelExpansion to display
the correct tint state of Nav buttons.

Test: runtest systemui
Change-Id: Ia17bbe71106900b764ec2f5ac4729b9770eac4bc
Fixes: 74578143
2018-04-10 10:38:17 +08:00
TreeHugger Robot
616a214440 Merge "Add Cancel button in Car Keyguard" into pi-dev 2018-04-10 01:41:22 +00:00
TreeHugger Robot
13276e7ebd Merge "[Notif] Disable "Customize" for blocking helper" into pi-dev 2018-04-10 01:25:40 +00:00
Jian Jin
44e4d82d2e Add Cancel button in Car Keyguard
Change-Id: I0c44f3583fe1dadade1e1b01229571ab7eb29643
Fixes: 74964857
Test:  Manually tested on Mojave
2018-04-09 17:26:32 -07:00
TreeHugger Robot
6c44f1aa35 Merge "Disable onboarding on P devices" into pi-dev 2018-04-09 23:11:01 +00:00
TreeHugger Robot
e2e5f1485a Merge "Add null check to confirm there is a quick settings panel" into pi-dev 2018-04-09 22:56:35 +00:00
TreeHugger Robot
d450c4bcdd Merge "Fixed the touch targets when replying" into pi-dev 2018-04-09 22:05:45 +00:00
TreeHugger Robot
42a53783f5 Merge "Missed setting default values" into pi-dev 2018-04-09 21:48:10 +00:00
Makoto Onuki
69ade35741 Merge "Once auto-battery saver is ever set, don't show suggestion" into pi-dev 2018-04-09 20:29:30 +00:00
Tracy Zhou
beaa975003 Disable onboarding on P devices
Test: manual test
Change-Id: If0eb7cae068112795de8110ef83fb96e8cc64fe1
Fixes: 77652524
2018-04-09 13:19:26 -07:00
Brad Stenning
b037ba068b Add null check to confirm there is a quick settings panel
Bug: 77324282

Test: manually launched on head unit
Change-Id: If6b823e5cf0fe48906dd99c2cfcf9c342a69cdcf
2018-04-09 13:07:29 -07:00
Beverly Tai
8ecf40491b Merge "Update dnd settings summary" into pi-dev 2018-04-09 19:54:24 +00:00
Lucas Dupin
b273217c6e Merge "Remove focus highlight from scrims" into pi-dev 2018-04-09 18:58:38 +00:00
Selim Cinek
a77d2c58e7 Fixed the touch targets when replying
Because part of the reply field was outside the notification,
clicks on the remote input or the send button could be discarded
and go to the view instead.
We're not manually dispatching those touches to the remoteInput.
Additionally are we now closing the input field first and only
then opening the app.

Change-Id: Iaea3fb78347dfc3a3e22b0d7155e6d2e50c82285
Fixes: 74161213
Fixes: 77482496
Test: open inline reply, click on very bottom below text, observe that app isn't opened
2018-04-09 11:32:05 -07:00
Brad Stenning
6f7ad91eb5 Missed setting default values
Bug:77802818
Test: Manual
Change-Id: I1776b8c197e9f91148748568c1529517d6437161
2018-04-09 10:59:05 -07:00
Lucas Dupin
3f54fe2c97 Animate shade expansion when bouncer
Change-Id: Ia1b303766379cb9d917c8b60ed70730fe3c4f5b4
Fixes: 76228574
Test: Swipe up, hit back
Test: Double tap on notification, hit back
Test: Launch camera, request bouncer, hit back
Test: Repeat for PIN and password
2018-04-09 09:18:17 -07:00
TreeHugger Robot
6f34a9b2d3 Merge "NO PARTIAL RERUN: Do not return recycled bitmaps" into pi-dev 2018-04-09 14:32:41 +00:00
Shawn Lin
0994a88731 Merge "Fix the background of lockscreen showing the art work of removed media notification" into pi-dev 2018-04-09 03:58:49 +00:00
Lucas Dupin
61df45cd18 NO PARTIAL RERUN: Do not return recycled bitmaps
There's also no need to offload WallpaperManager#forgetLoadedBitmap
because Bitmap#recycle is asynchronous - and the whole method is
synchronized.

Fixes 77597550
Test: atest cts/tests/framework/base/activitymanager/src/android/server/am/ActivityManagerMultiDisplayTests.java

Change-Id: I88014e21bd05e10c2f524393bb637596708e4e63
2018-04-08 18:45:59 +00:00
Lucas Dupin
373356b9bd Remove focus highlight from scrims
Change-Id: Ib51d8b1c6964716ac120f3567a8919decc513fbe
Fixes: 77591096
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
2018-04-07 19:31:39 -07:00
Phil Weaver
5b2a506edf Merge "Don't request accessibility focus in volume dialog" into pi-dev 2018-04-07 00:47:34 +00:00
TreeHugger Robot
fd76ec539e Merge "UI modifications for user picker Test: tested on Mojave bug: 75023449" into pi-dev 2018-04-07 00:40:28 +00:00
TreeHugger Robot
ee7bc05a03 Merge "Do not animate scrim when ColorFade" into pi-dev 2018-04-06 23:18:27 +00:00
Phil Weaver
ec140f605e Don't request accessibility focus in volume dialog
Bug: 72824733
Test: Manually verify that TalkBack no longer announces
the entire contents of the dialog when pressing a volume
key.

Change-Id: I33162ecef8b9ef5e872a0291c5f3188c0c9d3dc1
2018-04-06 15:43:54 -07:00
Makoto Onuki
5972773e47 Once auto-battery saver is ever set, don't show suggestion
Bug: 77228046
Test: manual test after adb shell settings delete secure suppress_auto_battery_saver_suggestion
Test: m -j ROBOTEST_FILTER=BatterySaverButtonPreferenceControllerTest RunSettingsRoboTests
Test: b ROBOTEST_FILTER=BatterySaverUtilsTest RunSettingsLibRoboTests
Change-Id: Ib224263dc20e7844b7a79fe175fde26c773bd05a
2018-04-06 14:58:14 -07:00
Jorim Jaggi
4c1453ac45 Merge "Early wake-up for transitions (2/2)" into pi-dev 2018-04-06 21:44:28 +00:00
Aarthi Balachander
d8bf249a5d UI modifications for user picker
Test: tested on Mojave
bug: 75023449

Change-Id: Ia991ca9ed9424d0008ca2328f28c0900e8d5653a
2018-04-06 19:39:54 +00:00
Beverly
ebcaeeb792 Update dnd settings summary
- Add null check for ZenModeConfig
- Add ability to include description for indefinite dnd

Test: manual, DndConditionTest, ZenModeSettingsTest
Bug: 76208187
Bug: 77704156
Change-Id: I88de555d2681e613dbcd7694087efef2504b4d51
2018-04-06 14:26:03 -04:00
Brad Stenning
2d72674175 Fix support for rendering status icons
Bug: 77698170

Test: Manual on big dog
Change-Id: Ibabc56408cfa8cbd48baac40ada63c976631170b
2018-04-06 10:35:03 -07:00
Lucas Dupin
426095f665 Merge "Trigger new frame after display is ready to turn on" into pi-dev 2018-04-06 15:21:07 +00:00
Jorim Jaggi
aa763cd35f Early wake-up for transitions (2/2)
On some devices it's very likely that we fall into GL comp during
app transitions. However, SF offsets are chosen in a way such that
the time to finish a frame is just too tight to be completely jank
free when hitting GL composition in SurfaceFlinger. Thus, we
introduce the concept of a separate early offset, and wakeup
SurfaceFlinger at that time if we think that hitting GL comp is
likely, or we already hit GL comp in the last frame.

Test: Open app, check vsync offsets in systrace
Test: Open many dialogs/apps to fall into GPU comp.
Bug: 75985430
Change-Id: I461fdcd573583f3ea0348c8b23cc9945d33f8976
2018-04-06 13:36:14 +02:00
Lucas Dupin
f9583c41dc Trigger new frame after display is ready to turn on
Making sure that a frame will be pushed after the display is ready to
turn on by invaliding the clock after a delay.

Also removed unecessary binder call.

Test: cover prox sensor and wait 1 minute. repeat ~10 times
Change-Id: Ic1b8006781e5486822a5ab65b71b3c44980f2f16
Fixes: 71913808
2018-04-05 22:20:44 -07:00
TreeHugger Robot
b35a73e7a8 Merge "Fix "Screen is pinned" dialog not showing completely in multi-window mode." into pi-dev 2018-04-06 02:58:22 +00:00
Kevin Chyn
d5a3d88167 Merge "FingerprintDialogView sets visibility incorrectly" into pi-dev 2018-04-06 00:45:10 +00:00
Tracy Zhou
be26707695 Fix "Screen is pinned" dialog not showing completely in multi-window
mode.

Fixes: 73513388
Test: manual test
Change-Id: Iaa3e30399b7f12de2c6071cbe35c7bdff92f64a0
2018-04-05 17:36:29 -07:00
TreeHugger Robot
a43acdabd4 Merge "[Notif] Disable animations as screen is powering off" into pi-dev 2018-04-06 00:21:30 +00:00
Kevin Chyn
a4596f3e36 FingerprintDialogView sets visibility incorrectly
Fixes: 77640780

Test: manual test with FingerprintDialog apk, with varying descriptions
      and subtitles

Change-Id: I981f7334355d4e2d6dde3861349ec61d70ebb4a1
2018-04-05 16:35:56 -07:00
TreeHugger Robot
4b436a930d Merge "Fix issue with quickstep recents button not unlocking before entering PIP." into pi-dev 2018-04-05 23:34:35 +00:00
TreeHugger Robot
ec3f8260de Merge "Update mFirstVisibleIconState correctly" into pi-dev 2018-04-05 22:42:34 +00:00
TreeHugger Robot
13f92ccc96 Merge "Don't hide the mobile type id if it doesn't change" into pi-dev 2018-04-05 22:22:41 +00:00
Vishwath Mohan
5ab3cf8bec Merge "Rename BiometricDialog to BiometricPrompt." into pi-dev 2018-04-05 21:23:32 +00:00
Lucas Dupin
c539590768 Merge "Darker scrim under unlocked shade" into pi-dev 2018-04-05 20:35:05 +00:00
Evan Laird
6dedbe6a4d Don't hide the mobile type id if it doesn't change
_Someone_ thought it would be a good idea to hide the mobile type
indicator if it hadn't changed from the last state. Better to not do
that.

Also removed an unused method in StatusBarIconControllerImpl.

Test: Reboot device with wifi off; data type indicator should show up
eventually; i.e., visual
Fixes: 77581445

Change-Id: I47a0c868b0e332c11e206b8c043a532bcbf10130
2018-04-05 16:22:36 -04:00
Rohan Shah
8ee5365f7f [Notif] Disable animations as screen is powering off
When showing an incog notification, it's getting added to the remove
anims, but the screen is turning off and animations are never getting
run (which means the transient view gets added but it doesn't get
removed).

The root cause is notifications clear temporary views in the power on
(due to collapse animations), but don't clear them when unlocking via
fingerprint.

Fixed by clearing remove animation setup (where transient views are
used) when disabling animations. This will stop the transient views from
being held on post-screen off/when animations are disabled.

Test: Visually with logging (tested before & after)
Test: Dumped hierarchy and checked that transient views weren't being mismanaged
Fixes: 77217401
Change-Id: I48835e45fd76c5e74810f5256c14b0c4c2ca3ec4
2018-04-05 13:16:35 -07:00
Lucas Dupin
e87bf778e3 Update mFirstVisibleIconState correctly
Test: visual
Change-Id: I4b6ca09b6bb8241791126f057de6d173ddd7eac0
Fixes: 77634935
2018-04-05 12:48:43 -07:00