Commit Graph

25447 Commits

Author SHA1 Message Date
Mike Digman
d6d81047cb Merge "Reset user rotate pref on navbar create" into pi-dev am: 4ef95e2531
am: 289bf049c3

Change-Id: I1e250f7ef34205d419edb2330488d27535d08b7c
2018-03-07 01:41:55 +00:00
Mike Digman
289bf049c3 Merge "Reset user rotate pref on navbar create" into pi-dev
am: 4ef95e2531

Change-Id: Id8097c24ca07284f31ac7fc16f3b776e19a7f297
2018-03-07 00:19:47 +00:00
Lucas Dupin
7188b875ef Merge "Increase char limit of keyguard messages" into pi-dev am: 8715cf78f1
am: 9ed24f902a

Change-Id: Ieb547a0893d55e98ae785da6cf012d155eb2b963
2018-03-07 00:06:59 +00:00
Mike Digman
4ef95e2531 Merge "Reset user rotate pref on navbar create" into pi-dev 2018-03-06 23:04:54 +00:00
TreeHugger Robot
51239f23dc Merge "Import translations. DO NOT MERGE" into pi-dev 2018-03-06 22:26:22 +00:00
Lucas Dupin
25f73c8d55 Merge "Merge "Fix notification padding and slice collision" into pi-dev am: 0719d0790c" into pi-dev-plus-aosp
am: d34b180aea

Change-Id: I4c495087b48581a092e7a0d1bd363a0a81b3fabe
2018-03-06 22:23:07 +00:00
Lucas Dupin
8715cf78f1 Merge "Increase char limit of keyguard messages" into pi-dev 2018-03-06 21:55:48 +00:00
TreeHugger Robot
0719d0790c Merge "Fix notification padding and slice collision" into pi-dev 2018-03-06 20:13:48 +00:00
Lucas Dupin
e531edd219 Increase char limit of keyguard messages
Change-Id: I560dfeecabf79e70c8e04cffd15d8af68e425769
Fixes: 74206241
Test: force long string, look at lock screen
2018-03-06 11:44:56 -08:00
Mike Digman
ab65025833 Reset user rotate pref on navbar create
System appears in portrait after restart, however rotation
watcher callbacks don't fire leaving user rotate pref stale
from last boot. Reset in onCreate and replace override logic
with policy's natural rotation.

Test: manual
Change-Id: Ia1f1e5f637708e5c678edbb5cbf9f4125e451103
2018-03-06 11:40:03 -08:00
TreeHugger Robot
b6238ed540 Merge "Do not allow ScrimView backgrounds" into pi-dev 2018-03-06 19:28:30 +00:00
Bill Yi
77b31b0b99 Import translations. DO NOT MERGE
Change-Id: I309903ac7be7a08d34a18d4fbc11de661e94b3e9
Auto-generated-cl: translation import
2018-03-06 11:23:41 -08:00
Lucas Dupin
2c5fce62f1 Fix notification padding and slice collision
Slices should completely replace notifications,
they should never be visible at the same time.

Test: send notification, look at AOD
Change-Id: I14f04db1e4541a24f7b9117659e4c9481262aeff
Fixes: 73908553
2018-03-06 10:18:19 -08:00
Matthew Ng
f0de3524f5 Merge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev am: a2546208a6
am: 802227b8b8

Change-Id: Ie85ada44ce62dbc452704e8f724a19d79797f73d
2018-03-06 10:09:08 +00:00
Tony Wickham
d9b483560f Merge "Adjust recents onboarding logic" into pi-dev am: 2cb0244ade
am: 5e828f57bc

Change-Id: I1026bb850649fdeeeafb5604f223b5a2f1d1661a
2018-03-06 08:04:54 +00:00
TreeHugger Robot
cabac708ac Merge "Filter out detached views from touch" 2018-03-06 05:19:26 +00:00
TreeHugger Robot
a2546208a6 Merge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev 2018-03-06 04:14:27 +00:00
Lucas Dupin
cfcf1aede6 Do not allow ScrimView backgrounds
An external agent is setting the background of the ScrimView.
This causes washed out lock screen and AOD flickering.

It's not clear what's doing this so I'm adding a Log.wtf and keeping the
backbround from being set.

PS: also formatted the xml and removed an unused method

Change-Id: I65dce9ce2b097b572c78605e0524b3854f46457f
Fixes: 71527665
Fixes: 68877998
Test: manually add a ripple to packages/SystemUI/res/layout/super_status_bar.xml
(cherry picked from commit c2aa8d2a2d)
2018-03-06 02:23:44 +00:00
TreeHugger Robot
2bd58fddb9 Merge "Do not allow ScrimView backgrounds" 2018-03-06 02:21:20 +00:00
Mike Digman
2395f54bf3 Merge "Increase rotate suggestion timeout in fullscreen" into pi-dev am: ea36a69c7c
am: c27a9db285

Change-Id: Ia59ac0e48740f25f52b6d1252e63eaa1524a10a6
2018-03-06 01:26:59 +00:00
Matthew Ng
d0a73e7aa4 Shows the correct home icon when quickstep is enabled on startup
The wrong home icon was shown on startup because it takes sometime for
the disabled flags to set disable recents flag that determines if
overview is enabled. When it changes to be true update nav bar icons.

Test: boot phone and look at nav bar
Change-Id: Ib1c00cfa1c3eb0444ccc985dfaf1b3c74e790692
Fixes: 74071465
2018-03-06 01:14:44 +00:00
Tony Wickham
2f0d015211 Adjust recents onboarding logic
- After dismissing, don't show again until 5 app launches
- Don't count the same task id towards that 5 (or the 2 before
  showing the first time)

Test: manual, launch a couple apps and verify onboarding shows;
continues showing until I dismiss it; shows again after launching
5 apps (different activities in the same app don't count)

Bug: 73392035
Bug: 70180942
Change-Id: Icff567e3418097c3503d2f322cf829a9efc195e7
2018-03-05 22:43:32 +00:00
TreeHugger Robot
5debc5ed52 Merge "[QS] Tweak tooltip color & shown count" 2018-03-05 20:43:24 +00:00
Mike Digman
5aeca79673 Increase rotate suggestion timeout in fullscreen
To use the rotate nav button in fullscreen the navbar must
become visible. This normally requires a user gesture which
makes it hard to hit the button given its normal timeout
duration. Make it easier to tap by effectively extending the
timeout if the suggestion is given when the navbar is
invisible.

Test: manual with fullscreen testing app
Change-Id: I54ac3dfb590df9b9a039c53984623497ca18fcb5
2018-03-05 19:37:01 +00:00
Rohan Shah
2adfe95d84 Filter out detached views from touch
Views that are detached shouldn't get touch events/start getting
animated (They can't be animated).

Added filter to stream to remove these views from consideration for the
nearest touch frame algo.

Test: Visually + unit test
Bug: 65146195
Change-Id: I74df495a7c02d3d46cd6784f0950c48b5311819e
2018-03-05 10:28:35 -08:00
Richard Ledley
2e9f62659f Merge "Add flag to control blocking Smart Replies for apps targeting an Android version below P." 2018-03-05 18:09:58 +00:00
Lucas Dupin
acb0eeda9d Tint keyguard icons
Test: visual
Change-Id: I7915c4ad1cd4bcb852a7bdd68e9f57fda7f985c6
Fixes: 71599427
(cherry picked from commit 914b708645)
2018-03-05 17:23:29 +00:00
Lucas Dupin
a2f9cd4ade Merge "Tint keyguard icons" 2018-03-05 17:05:08 +00:00
Lucas Dupin
b2ba7e2886 Merge "Delete legacy code" 2018-03-04 00:44:51 +00:00
Lucas Dupin
914b708645 Tint keyguard icons
Test: visual
Change-Id: I7915c4ad1cd4bcb852a7bdd68e9f57fda7f985c6
Fixes: 71599427
2018-03-03 14:05:04 -08:00
Lucas Dupin
3503c5f842 Delete legacy code
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I81463eee0af4fa0dfb1e71d94c033e67ee3bd7df
2018-03-02 19:05:14 -08:00
TreeHugger Robot
dd33df2393 Merge "Prevent nav bar vibrations when overview proxy is connected (1/2)" 2018-03-03 00:36:28 +00:00
Lucas Dupin
c2aa8d2a2d Do not allow ScrimView backgrounds
An external agent is setting the background of the ScrimView.
This causes washed out lock screen and AOD flickering.

It's not clear what's doing this so I'm adding a Log.wtf and keeping the
backbround from being set.

PS: also formatted the xml and removed an unused method

Change-Id: I65dce9ce2b097b572c78605e0524b3854f46457f
Fixes: 71527665
Fixes: 68877998
Test: manually add a ripple to packages/SystemUI/res/layout/super_status_bar.xml
2018-03-03 00:29:09 +00:00
TreeHugger Robot
e87a8a9e02 Merge "Creating new user correctly connects to the system OverviewProxy" 2018-03-03 00:13:40 +00:00
Tony Mak
e9861b4b65 Remove work mode tile if it is no longer available
BUG: 72328528
Test: Remove work profile and observe the QS tile is gone.

Change-Id: I3467d0ecbeb3f6a79cdcce3c73dbef12b7519aca
2018-03-02 23:57:32 +00:00
TreeHugger Robot
e51234b448 Merge "Do not show 'no sims' icon in status bar." 2018-03-02 22:59:16 +00:00
TreeHugger Robot
f519224072 Merge "Fix reference to missing string" 2018-03-02 22:07:47 +00:00
Lucas Dupin
f335c50fbc Merge "Don't animate when state is immediate" 2018-03-02 21:28:26 +00:00
Amin Shaikh
b1a38ed093 Do not show 'no sims' icon in status bar.
Bug: 72540392
Test: visual
Change-Id: I604b4af937753655b3ed4c5e1e4b9973a95126b2
2018-03-02 15:30:27 -05:00
Matthew Ng
64543e668f Prevent nav bar vibrations when overview proxy is connected (1/2)
Systemui can control when to allow vibrations on virtual key vibrations
on key down when overview proxy service is connected. This prevents
vibrations from KeyButtonView when swiping up over a navigation button.
This gives more control over haptics to systemui so that in the future
launcher can send haptic feedback when quick step begins.

Bug: 73919295
Bug: 73942704
Test: swipe up from navigation bar
Change-Id: I5de2a6f199d7e08b4d146e729f4b9c89b2adcded
2018-03-02 12:12:59 -08:00
Adam Lesinski
6cd41554aa Fix reference to missing string
AAPT2 is about to be fixed to remove strings with no default
specified, which is always intended to be a string removal, where the
translations are left behind to be cleaned up at a later translation
update.

Fix this breakage introduced by ag/3646913

Bug: 36572857
Test: builds
Change-Id: I21030aa174daeff6841e9255d490bbd6c9a2aee7
2018-03-02 11:51:51 -08:00
Matthew Ng
1b1d346b35 Creating new user correctly connects to the system OverviewProxy
When creating a new user, it creates a new OverviewServiceProxy which
connects to launcher instead of the system user version. Since the new
proxy does not have any callbacks connected to it, launcher cannot send
any data to change systemui. Preventing the new proxy from connecting
allows the original to connect.

Test: manual, create new user, wait for connection, play with quick step
Change-Id: I0838fe8294c7a3ee89062c0c9855caf5ab52482b
Fixes: 74001992
2018-03-02 11:43:38 -08:00
Mike Digman
8e4419a087 Merge "Prevent recent and right navbar icon overlap" 2018-03-02 19:21:22 +00:00
Matthew Ng
0be4205ec6 Merge "Do not show track when scrubing when notification shade is down" 2018-03-02 19:10:14 +00:00
Matthew Ng
7041d8fcb9 Merge "Removing depreciated fn isLockToAppEnabled in ActivityManagerWrapper" 2018-03-02 19:09:34 +00:00
Lucas Dupin
3daf3b0e27 Don't animate when state is immediate
Avoid extending animation for states that are
immediate. Also cleaning up a little bit and
avoiding unecessary repaint.

Change-Id: I1644ce0b539cf92083b47cf3587b01f92b239095
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: brightness mirror
Test: receive notification on keyguard while dragging
Test: unlock with fp
Fixes: 73784491
2018-03-02 10:51:06 -08:00
TreeHugger Robot
8c1bed2aa1 Merge "Don't draw behind the display cutout in keyguard" 2018-03-02 18:33:40 +00:00
TreeHugger Robot
a94d1b90a1 Merge "Fix QQS drag handle position." 2018-03-02 18:09:14 +00:00
TreeHugger Robot
333a2349b7 Merge "Immediately enter transient enabling state in QS." 2018-03-02 17:16:24 +00:00
TreeHugger Robot
189ba59092 Merge "Log some data when the QS panel starts expanding" 2018-03-02 17:01:24 +00:00