Commit Graph

16642 Commits

Author SHA1 Message Date
Sunny Goyal 5e42a7239c Merge changes from topic "am-74dc7dc8-e2ec-493b-90ca-01725fc50357" into ub-launcher3-master
* changes:
  [automerger] Reset the vertical progress when the discovery bounce is closed am: 0bd0244a73
  Reset the vertical progress when the discovery bounce is closed
2018-05-22 22:20:54 +00:00
TreeHugger Robot a31b4b8c25 Merge changes from topic "am-f1734de0-a8c9-409e-bd1b-c22b2df61ce2" into ub-launcher3-master
* changes:
  [automerger] Skip processing fallback icons as they are already badged and have shadow am: fbf327f9ee
  Skip processing fallback icons as they are already badged and have shadow
2018-05-22 22:00:05 +00:00
Android Build Merger (Role) 80213f0354 [automerger] Making overview panel accessible via Tab am: f1507a6a64
Change-Id: I21a2dd970e1bb725034acd2255f11ce62515db8f
2018-05-22 21:49:32 +00:00
Vadim Tryshev f1507a6a64 Making overview panel accessible via Tab
Keyboard navigation of AllAppsContainerView is broken in TOT; disabling
focusing there is necessary for Recents.

Bug: 72222505
Test: Manual
Change-Id: I85d544f7c8dbdaf12e49de51c6626bbc3dc32917
2018-05-22 14:47:44 -07:00
Android Build Merger (Role) 745200c0b1 [automerger] Tighten up loading of visible task data am: 15067109b1
Change-Id: I0a7cd67a58e8ce17750a1cb1449b6a26e3935b1d
2018-05-22 21:05:36 +00:00
Winson Chung 15067109b1 Tighten up loading of visible task data
- Certain animations can run after the launcher state has changed,
  triggering loading of task data even when the overview state is not
  visible. Only allow re/loading of this data when we are in the overview
  state.

Bug: 76162466
Change-Id: Ie1f492ef712ea4aa2db6f2e1bc7ba4390742875b
2018-05-22 14:05:22 -07:00
Tony Wickham ce4a408052 Merge changes from topic "am-d196cf77-8508-4b30-bdff-b040c05a62d7" into ub-launcher3-master
* changes:
  [automerger] Cleanup how we set back button alpha am: 4e21c1b552
  Cleanup how we set back button alpha
2018-05-22 19:06:02 +00:00
Android Build Merger (Role) 9d0e7203ba [automerger] Reset the vertical progress when the discovery bounce is closed am: 0bd0244a73
Change-Id: I606cbe8507190d852a47c96a0fdf70dfcbd78ad5
2018-05-22 18:41:02 +00:00
Sunny Goyal 0bd0244a73 Reset the vertical progress when the discovery bounce is closed
Since discovery bounce runs on absolute values, it can sometime leave the vertical progress
at an old value, if it is closed after the state change.
Also simplifying discovery bounce animation to use xml everytime.

Bug: 80099242
Change-Id: Iebc249dd02f474cbed85b695eeeb8c2bf60b935d
2018-05-22 11:40:58 -07:00
Android Build Merger (Role) f0afafec73 [automerger] Making clear-all action accessible on a fallback Overview. am: 783cd3cf21
Change-Id: I705d2b912998203ce7149dfa7d1ec0758055a188
2018-05-22 18:07:02 +00:00
Vadim Tryshev 783cd3cf21 Making clear-all action accessible on a fallback Overview.
Bug: 72222505
Test: Manual
Change-Id: I063081b4fa009882e50852e107490fddae0f86b7
2018-05-22 11:06:36 -07:00
Android Build Merger (Role) 478c2a1a2e [automerger] Cleanup how we set back button alpha am: 4e21c1b552
Change-Id: Ia3a743ad864d092381a858a6c20d33e162f4f18f
2018-05-22 18:05:17 +00:00
Tony Wickham 4e21c1b552 Cleanup how we set back button alpha
Add BackButtonAlphaHandler to set back button alpha, instead of setting
it from multiple places.

Also force back button alpha to be 1 if swipe up is disabled (b/80091187)

Change-Id: I49b63a0e6b033a3a947a847669a398f1b9ff0564
2018-05-22 11:05:01 -07:00
Android Build Merger (Role) e35f5ae036 [automerger] Bound recents content alpha to 0 and 1 am: 8417a7b514
Change-Id: Id555e2e108882b4e67473c449c2ddee8eba8ba68
2018-05-22 00:11:36 +00:00
Tony Wickham 8417a7b514 Bound recents content alpha to 0 and 1
Now that we use OvershootInterpolator for the atomic recents animation,
it's possible to get alpha > 1. The drawable and text paint used in the
empty recents state doesn't handle this well, causing alpha to jump to 0
in this case. Instead, we'll just force it to clamp to 1 ourselves.

Bug: 80004542
Change-Id: Id0177caf63cd349f6f27c9dfaf0e8995447e70fc
2018-05-21 17:11:24 -07:00
TreeHugger Robot 52cb0a73a4 Merge "Go back to previous state when hitting back from discovery bounce" into ub-launcher3-edmonton 2018-05-21 23:11:56 +00:00
Android Build Merger (Role) 4229122049 [automerger] Go back to previous state when hitting back from discovery bounce am: 52c1b66f46
Change-Id: Ib979caee1d57bb92aa4de96a9587c0307799a3d1
2018-05-21 23:02:02 +00:00
Tony Wickham 52c1b66f46 Go back to previous state when hitting back from discovery bounce
Normally when you hit back, we just close the floating view if there
is one. This makes less sense for DiscoveryBounce, since it doesn't
feel like a different state even though it's technically a floating
view. So in that case, don't consume the back press; let launcher
handle it to go to the previous state.

Bug: 80075741
Change-Id: I7270b61be70509cb2101400a12929478a5d082aa
2018-05-21 16:01:49 -07:00
Android Build Merger (Role) 0874711c87 [automerger] onResume event should be logged (not twice but once) Bug: 79541772 am: bd6fba9f58
Change-Id: I7f5f11081d6ae1c37a4bbe0bbb02625214cd38d9
2018-05-21 19:28:02 +00:00
Hyunyoung Song bd6fba9f58 onResume event should be logged (not twice but once)
Bug: 79541772

Change-Id: I5fe1271007e4579e1ec95d51c215ef48d0c6eedd
2018-05-21 12:27:46 -07:00
TreeHugger Robot 7b19b16f09 Merge "Never setting accessibility focus manually" into ub-launcher3-edmonton 2018-05-21 19:21:47 +00:00
Android Build Merger (Role) 46d96b77d3 [automerger] Never setting accessibility focus manually am: 00e0b91917
Change-Id: I812e19b4facccfdcabd361eec847740764347536
2018-05-21 19:04:07 +00:00
Vadim Tryshev 00e0b91917 Never setting accessibility focus manually
This will result in the focus going to the second from the right task
upon opening Recents. This will be mitigated by implementing in near
future announcements like Task 6 out of 7.

Besides this, due to (presumably) problems external to Launcher, the
focus may stay on Home button or completely disappear upon opening
Recents.

Bug: 72222505
Change-Id: I0e5ac62bfa0e1c0db2d17a6014e61f82cfccf252
Testing: Manual
2018-05-21 19:04:05 +00:00
Tony Wickham e542e91191 Merge "Cleanup UserManagerCompatVP to not use reflection" into ub-launcher3-edmonton 2018-05-21 18:18:47 +00:00
Android Build Merger (Role) ec8e9b91ab [automerger] Cleanup UserManagerCompatVP to not use reflection am: a9cc397673
Change-Id: I8e3061756e7a06c3f6f2e6cd1085b58baef7894d
2018-05-21 17:55:46 +00:00
Tony Wickham a9cc397673 Cleanup UserManagerCompatVP to not use reflection
Change-Id: I1e4afc9c36f9d8641799b70e83f6b9801aec2e3d
2018-05-21 10:54:09 -07:00
Tony Wickham e2116daa88 Merge "Don't prevent animations in power save mode" into ub-launcher3-edmonton 2018-05-21 17:51:35 +00:00
Tony Wickham 63499ff71a Merge changes from topic "am-675989db-76a3-4555-b81c-d07e29807c90" into ub-launcher3-master
* changes:
  [automerger] Don't prevent animations in power save mode am: 8155fa2aa5
  Don't prevent animations in power save mode
2018-05-21 17:51:35 +00:00
Android Build Merger (Role) 8de5b958d7 [automerger] Remove code duplication am: 98913d0c95
Change-Id: Id023fdbd3caa8d74e3f92a01e13d14af69932a65
2018-05-19 01:43:16 +00:00
Vadim Tryshev 98913d0c95 Remove code duplication
Bug: 72222505
Test: Manual
Change-Id: I6ae6ac7474b44c16bd765635e32d2e843bc02cac
2018-05-18 18:41:34 -07:00
Vadim Tryshev b05b489f04 Merge "Hide clear-all button from accessibility" into ub-launcher3-edmonton 2018-05-19 01:11:00 +00:00
Vadim Tryshev 92f19288cd Merge changes from topic "am-b63afd55-e03a-46ca-9f0a-6ec17cf9f166" into ub-launcher3-master
* changes:
  [automerger] Hide clear-all button from accessibility am: bad1c73e73
  Hide clear-all button from accessibility
2018-05-19 01:11:00 +00:00
Vadim Tryshev 4ae69dea49 Merge "Fixing reverted order of accessibility scrolling in Recents" into ub-launcher3-edmonton 2018-05-19 00:54:37 +00:00
Vadim Tryshev c0c361bc20 Merge changes from topic "am-c28e95bf-5771-424d-a5f0-7fd3976f5c47" into ub-launcher3-master
* changes:
  [automerger] Fixing reverted order of accessibility scrolling in Recents am: 0fc0713253
  Fixing reverted order of accessibility scrolling in Recents
2018-05-19 00:54:37 +00:00
Android Build Merger (Role) 63ba30ac5e [automerger] Hide clear-all button from accessibility am: bad1c73e73
Change-Id: I169aa26a2139c2cb9b6431bf7cb4f33096dec0db
2018-05-19 00:29:16 +00:00
Vadim Tryshev bad1c73e73 Hide clear-all button from accessibility
This solves muliple navigation problems in Overview.

Bug: 79165501
Change-Id: I2ae99fe3ad24194c9516bb2a99344289ef7408e8
Testing: Manual
2018-05-18 17:28:19 -07:00
Android Build Merger (Role) 9df59f704c [automerger] Don't prevent animations in power save mode am: 8155fa2aa5
Change-Id: Ic11bc1b98e3e31afe6a0d9d0175873098c0b1fb3
2018-05-19 00:21:10 +00:00
Tony Wickham 8155fa2aa5 Don't prevent animations in power save mode
Now that batter saver mode doesn't get rid of animations in P, we
shouldn't use custom logic to prevent them either.

Also updated ATLEAST_P to use version code.

Bug: 79990054
Change-Id: If17cf369035c976f3d9d81f35432a045f1956ce5
2018-05-18 17:18:49 -07:00
TreeHugger Robot 3bdb81868d Merge "Making sure the task open animation runs for the correct user tile" into ub-launcher3-edmonton 2018-05-18 22:26:35 +00:00
TreeHugger Robot bc5f07e132 Merge changes from topic "am-c47711fb-6399-4e60-a519-d1ac38504a20" into ub-launcher3-master
* changes:
  [automerger] Making sure the task open animation runs for the correct user tile am: 0751929ec2
  Making sure the task open animation runs for the correct user tile
2018-05-18 22:26:35 +00:00
Sunny Goyal 2bf60f406c Merge "Preventing activity restoart on mnc/mcc changes" into ub-launcher3-edmonton 2018-05-18 21:35:51 +00:00
Sunny Goyal 7e400a2778 Merge changes from topic "launcher-mnc-mcc" into ub-launcher3-master
* changes:
  [automerger] Preventing activity restoart on mnc/mcc changes am: f5c5d04b3b
  Preventing activity restoart on mnc/mcc changes
2018-05-18 21:35:51 +00:00
Android Build Merger (Role) 24260c1b40 [automerger] Making sure the task open animation runs for the correct user tile am: 0751929ec2
Change-Id: Ief59a52cd4c7c5aa3ef94f2b36d9267992db581b
2018-05-18 21:33:41 +00:00
Sunny Goyal 0751929ec2 Making sure the task open animation runs for the correct user tile
Bug: 79995913
Change-Id: I3223f25e3870bac526f8960ed3d00949650bca3b
2018-05-18 14:33:36 -07:00
TreeHugger Robot 5322e62f81 Merge "Some quick scrub fixes" into ub-launcher3-edmonton 2018-05-18 21:29:11 +00:00
Android Build Merger (Role) fb1025d86e [automerger] Some quick scrub fixes am: 32359e6b85
Change-Id: I1338e0b8c96e7bb49e44868e518dec4625d9ba91
2018-05-18 21:10:47 +00:00
Sunny Goyal 32359e6b85 Some quick scrub fixes
> Skipping quick scrub, if its already in progress, or is waiting on previous task launch
> Restoring to proper state is the task animation is cancelled before launcher gets onStop
> Crash when using quickscrub before last list has loaded

Bug: 77289180
Bug: 77856587
Bug: 79919440
Change-Id: I8db127bf9539cfc8f47c1e86c5030637845749d4
2018-05-18 14:10:41 -07:00
Android Build Merger (Role) e21e922515 [automerger] Preventing activity restoart on mnc/mcc changes am: f5c5d04b3b
Change-Id: I88d18eb8b6ec7e5ee7b13d774891d45d94da801f
2018-05-18 20:46:21 +00:00
Sunny Goyal f5c5d04b3b Preventing activity restoart on mnc/mcc changes
Bug: 77651657
Change-Id: I68a6995d57da4b3c43c1ecd78deda40c78934533
2018-05-18 13:46:15 -07:00
Android Build Merger (Role) 735d873d83 [automerger] Use actual quickstep callback to track gesture start am: 1b74bd652c
Change-Id: I60b371053432b72bd0d88135593b7638411986ab
2018-05-18 17:29:42 +00:00