Tony Wickham
00f9712cdd
Merge "Ignore null notifications" into ub-launcher3-master
2018-04-13 18:12:05 +00:00
Tony Wickham
a6f5869d8f
Ignore null notifications
...
There seems to be an edge case where we can get a null notification in
onNotificationRemoved(); there's nothing actionable about that, so just
ignore it to prevent NPE. Also add null check to onNotificationPosted()
for good measure.
Bug: 69140873
Change-Id: I3586bf435d05aee38b99dffd3d01315b433e8476
2018-04-13 10:57:09 -07:00
TreeHugger Robot
8fa358a6ba
Merge "Close out of recents when clicking it if it's empty" into ub-launcher3-master
2018-04-13 17:48:47 +00:00
Tony Wickham
3ee9f57eb6
Close out of recents when clicking it if it's empty
...
Bug: 77977813
Change-Id: Iadc95e47c68ed54b6f98bb053a543c0b240117c2
2018-04-13 10:40:21 -07:00
Tony Wickham
035a20dee1
Merge "Don't show back button when discovery bounce is playing" into ub-launcher3-master
2018-04-13 17:27:37 +00:00
TreeHugger Robot
d98f8e1035
Merge "Fixing wrong cliping height when screenshot is rotated" into ub-launcher3-master
2018-04-13 16:43:08 +00:00
Sunny Goyal
f3dbad134b
Fixing wrong cliping height when screenshot is rotated
...
Bug: 77979532
Change-Id: I41aa5dc85a035e7936861412f3d77e22143eaf81
2018-04-13 09:18:39 -07:00
Mehdi Alizadeh
c7ee6802c5
Uses definitions in sysui_shared lib for Settings names
...
Also drops a new sysui_shared.jar
Bug: 77732469
Test: verifty it builds
Change-Id: I080672be4df746ecd3124cc22ccec3ceea3b0742
2018-04-12 19:15:15 -07:00
Tony Wickham
df1eb8bb86
Don't show back button when discovery bounce is playing
...
Bug: 74766552
Change-Id: Ib3b514f4a2bfaa8593b82cd5acb16f02dd09dcc7
2018-04-12 17:26:18 -07:00
TreeHugger Robot
efa87b8d3a
Merge "Only skip the animation, if we are going to the same state" into ub-launcher3-master
2018-04-12 22:54:28 +00:00
Tony Wickham
0d72f20006
Merge "Take padding/insets into account to center empty recents message" into ub-launcher3-master
2018-04-12 22:47:43 +00:00
Tony Wickham
2dcb4f6698
Take padding/insets into account to center empty recents message
...
Bug: 77930613
Change-Id: I31afbc6182d45809eb1caa0f5162cbbce48d1c01
2018-04-12 15:28:36 -07:00
Sunny Goyal
d754dcd5d9
Only skip the animation, if we are going to the same state
...
Bug: 77487950
Change-Id: I2d3e376094b0fb0d3120ab6c4d6569f52ab8273f
2018-04-12 14:17:06 -07:00
Tracy Zhou
fd21de4489
Move QuickStep onboarding strings from Launcher to SysUI (Pt. Launcher)
...
Bug: 70180942
Test: N/A
Change-Id: I05e6ce27630d478a40a52bf59a9dfd25881213be
2018-04-12 11:08:28 -07:00
Tony Wickham
430bc2cd0d
Merge "Rename LandscapeStatesTouchController -> OverviewToAllAppsTouchController" into ub-launcher3-master
2018-04-12 18:03:31 +00:00
Sunny Goyal
2998e43256
Merge "Listen for cases where touch controllers change, and update them" into ub-launcher3-master
2018-04-12 00:37:22 +00:00
TreeHugger Robot
a64b41eaf7
Merge "Don't allow swiping down on task to launch when swipe up is disabled" into ub-launcher3-master
2018-04-12 00:29:58 +00:00
Tony Wickham
ffbb5444bb
Merge "Don't allow swiping down from overview in fallback recents" into ub-launcher3-master
2018-04-12 00:27:12 +00:00
Tony Wickham
a006830f0a
Listen for cases where touch controllers change, and update them
...
Otherwise we'd be stuck using the old touch controllers until DragLayer
is setup again (e.g. launcher is killed).
Bug: 77921826
Change-Id: I8aac6fc453839902cb2d99279a6bd1549ee17d79
2018-04-11 17:25:40 -07:00
Tony Wickham
6c4eced65d
Don't allow swiping down on task to launch when swipe up is disabled
...
Bug: 77921295
Change-Id: I6800f81a5f3edcbed2db1138375f78c5900c6cd4
2018-04-11 17:16:44 -07:00
Sunny Goyal
7eff40ff2d
Several app transition fixes:
...
> If launcher already started, creating the state transition only after threshold crossed, so that previous animations are not cancelled
> Not posting animaiton callbacks at the front of the queue, as that sometimes causes it get executed before onNewIntent
> Farking the activity as forceInvisible while launching an opaque app, so that quickly pressing home/back runs the reverse animation
> Not running state animations when force-invisible is true
Bug: 77830325
Bug: 77898806
Change-Id: I50a7e915ca35fd6aeb284c8f321ecca74396fe98
2018-04-11 17:08:31 -07:00
Tony Wickham
23972338ac
Rename LandscapeStatesTouchController -> OverviewToAllAppsTouchController
...
I find this less confusing, as the controller is also used in portrait
mode when swipe down is disabled.
Change-Id: Ifd6b4453a1b59e1f8305c1461d89ed99de2fe7d6
2018-04-11 17:06:06 -07:00
TreeHugger Robot
e9f31c1014
Merge "Using correct window bounds in multi-window for fallback activity" into ub-launcher3-master
2018-04-11 23:59:16 +00:00
Tony Wickham
6e3591469a
Don't allow swiping down from overview in fallback recents
...
Bug: 77921295
Change-Id: I5a374bed865f03a715cb852e99c86c6e2e119273
2018-04-11 16:58:10 -07:00
Sunny Goyal
3477804c72
Using correct window bounds in multi-window for fallback activity
...
Also fixing a bug where insets were not updated when recreating deviceprofile
Bug: 77875376
Change-Id: I7806cf949da415ef171ccf2f4ab3e8f2b7606220
2018-04-11 16:43:18 -07:00
Winson Chung
2cb5bddd1c
Merge "Reload the task list when multiwindow mode changes" into ub-launcher3-master
2018-04-11 23:32:29 +00:00
TreeHugger Robot
fc72493dd7
Merge "Fixing multi-window task sizes in Recents activity" into ub-launcher3-master
2018-04-11 23:12:50 +00:00
TreeHugger Robot
424db46a44
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
2018-04-11 22:57:28 +00:00
Bill Yi
c8f3ee9be1
Import translations. DO NOT MERGE
...
Change-Id: I19182d20a9bfe17b92ee7e10dd17d6dc2e5ba118
Auto-generated-cl: translation import
2018-04-11 14:39:49 -07:00
Sunny Goyal
76257f2535
Fixing multi-window task sizes in Recents activity
...
> In recents activity, getting the DeviceProfile size from the
root view, instead of the Display (as recents activtiy can be resized)
> The task size in Recents activity is now proportional to the activity
size instead of 50% screen size
Bug: 77875376
Change-Id: Ib417c31fc7ec8569876368134ef021452d60aa12
2018-04-11 13:51:10 -07:00
Mehdi Alizadeh
e833bf3ef5
Adds ContentObserver for Swipe Up enabled setting
...
Registers a ContentObserver to handle Swipe Up gesture enable/disable
changes from Settings App. Also provides a static method to get the
current state of settings for the Swipe Up feature.
Bug: 77549883
Test: Manual Test
Change-Id: I5aa13cebdcb78be4869e8a5ae7f570490c8ac05c
2018-04-11 20:28:20 +00:00
Winson Chung
1a77c3dce1
Reload the task list when multiwindow mode changes
...
Bug: 73097187
Change-Id: I05d8635f78451600cbb8a9c03515e60d3c32e1ae
2018-04-11 13:26:21 -07:00
TreeHugger Robot
f4dfac94fa
Merge "Waiting until post draw before calling finish on the recent transition" into ub-launcher3-master
2018-04-11 19:59:08 +00:00
Sunny Goyal
fceb82d4a7
Waiting until post draw before calling finish on the recent transition
...
Bug: 77695434
Change-Id: I7c3c668de7c3986760f26890fa062dee0ddb3805
2018-04-11 12:50:46 -07:00
Vadim Tryshev
eeaa8ee6c2
a11y: disabling animation for task list swipes
...
Bug: 77632611
Test: Manual
Change-Id: Ibbfba5f3219d63a5604544eea33422ee91f54c01
2018-04-11 12:23:42 -07:00
Tony Wickham
d7fd83a8e7
Merge "Add haptic when entering quick scrub" into ub-launcher3-master
2018-04-11 18:41:01 +00:00
Tony Wickham
8e26fe9ae9
Add haptic when entering quick scrub
...
Bug: 77905939
Change-Id: Iaf16c0de9bc82ed903151c6782781a1487bfe922
2018-04-11 16:58:19 +00:00
Sunny Goyal
eeb084cb4b
Handle configuration changes in fallback activity
...
Change-Id: I1b6dd28ab3766948a7613192d0283689707c73a4
2018-04-10 17:20:46 -07:00
Sunny Goyal
f62a69b43b
Do not change page as a result of showOverview command
...
Bug: 77723744
Change-Id: I7166e8da36c700cd66bbe4c20bf8618926c65b9c
2018-04-10 14:28:31 -07:00
Winson Chung
32d5be0285
Merge "Close system windows when starting the swipe up gesture." into ub-launcher3-master
2018-04-10 21:20:50 +00:00
TreeHugger Robot
367cab48ba
Merge "Adding some utility callbacks in TaskOverlayManager" into ub-launcher3-master
2018-04-10 20:51:10 +00:00
Winson Chung
96cf14317a
Close system windows when starting the swipe up gesture.
...
Bug: 77725504
Change-Id: If8ca7f8b192d365c06f30fe33d108a88378a9d2d
2018-04-10 20:44:30 +00:00
Sunny Goyal
2d6208065a
Adding some utility callbacks in TaskOverlayManager
...
Change-Id: Id2ef8f1c2bf4c6eab4170c32cfafad0b448e63db
2018-04-10 13:32:56 -07:00
TreeHugger Robot
17b2230675
Merge "Make a copy of DeviceProfile before updating its insets" into ub-launcher3-master
2018-04-10 18:07:16 +00:00
Tony Wickham
6cf86a37ea
Make a copy of DeviceProfile before updating its insets
...
Change-Id: Ic0fb6dd103ac7af810373c8454cb0bad84e7fddd
2018-04-10 10:58:47 -07:00
Winson Chung
c477c373ab
Updating shared lib for icon loader change.
...
Bug: 77747389
Change-Id: I84d56a016222d844ab311bd12ade6693b084bff0
2018-04-09 21:06:21 -07:00
Winson Chung
71ba448671
Tweak button animation to be closer to what we had before.
...
Bug: 77152886
Change-Id: Ibd70eeee8c9de78e6e0b996ed082f701171ce934
2018-04-09 21:04:47 -07:00
Sunny Goyal
82d2074cd2
Merge "Do not reset the previous state animation, if it is a part of the new state animaiton" into ub-launcher3-master
2018-04-10 03:02:02 +00:00
Tony Wickham
97b658f289
Merge "Can now swipe away to dismiss second task" into ub-launcher3-master
2018-04-10 00:13:05 +00:00
TreeHugger Robot
3db09e5b9b
Merge "Adding task open animation in fallback activity" into ub-launcher3-master
2018-04-10 00:11:30 +00:00