Commit Graph

35592 Commits

Author SHA1 Message Date
Tony Wickham 688148ac69 Add null check when logging quick switch
Test: none
Fixes: 209993127
Change-Id: I927f8969cf5ef3759b501fe1ada4d3b061b53d06
2022-01-07 18:32:14 +00:00
Siarhei Vishniakou b57235563c [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 90e66951e9 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16549672

Change-Id: I222012704cfc8694b095a25b51af364fe6b22bb3
2022-01-03 05:13:13 +00:00
Siarhei Vishniakou 90e66951e9 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16549672

Change-Id: I059d793325805bcca1fcba400e488d1113ee05f4
2022-01-03 05:06:30 +00:00
Siarhei Vishniakou a367a144ac [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16549672

Change-Id: I805fedf30ea474009d316caacc1e3e995033ca62
2022-01-03 04:49:54 +00:00
Siarhei Vishniakou 73c513256d Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16510921

Bug: 212491379
Change-Id: I26d89a46e181f39f95a5e6385be1760fac37437e
Merged-In: I8d05fa3663687b5382a59b0d47cdac404844c3b7
2021-12-29 08:07:25 +00:00
Siarhei Vishniakou cc07d3480b [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 20ce997649 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16510921

Change-Id: Ibb304b63c96dcdf9e100487a01dab4b15d058c7d
2021-12-29 06:10:56 +00:00
Siarhei Vishniakou 20ce997649 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16510921

Change-Id: I344cb782217c5a4aa455f58770ddc2ac1317f55c
2021-12-29 05:52:53 +00:00
Siarhei Vishniakou 9e924d9c71 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16510921

Change-Id: I083443b93bd2074c27027f071728cc114c1528bb
2021-12-29 05:34:09 +00:00
Siarhei Vishniakou b2b60b12b4 Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16510921

Change-Id: I974fcf457a96758f1002b64358c27edd54ab84de
2021-12-29 05:02:31 +00:00
Siarhei Vishniakou 918776ee51 Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery
LauncherActivity uses FLAG_SLIPPERY for certain interactions. For
example, when home screen is shown, and the user pulls down from not the
top of the screen, and notification shade is getting displayed, then the
touch should be getting transferred to the NotificationShade using
FLAG_SLIPPERY.

The newly introduced permission is added to launcher in order for this
flag to be applied to the window.

Bug: 206188649
Bug: 157929241
Test: reviewed logs, ensure that NexusLauncherActivity has FLAG_SLIPPERY
Test: re-ran the performance regression test
Merged-In: I8d05fa3663687b5382a59b0d47cdac404844c3b7
Change-Id: I8d05fa3663687b5382a59b0d47cdac404844c3b7
2021-12-28 17:03:38 +00:00
TreeHugger Robot 8bf5b07332 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: ea11c15be3 -s ours am: 5077d9dbea -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16518927

Change-Id: Ibdb5b5e4a8c270fe70c322b6f3b1ce1e280b52cd
2021-12-27 17:35:54 +00:00
TreeHugger Robot 386366b344 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 8fde307b56 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16518928

Change-Id: I669e8d727572926cd1b956a2f53f71bc5f8fb1fb
2021-12-27 17:34:23 +00:00
TreeHugger Robot 8a3ee07ed8 Merge "Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f am: f58691ae42" into sc-v2-dev 2021-12-27 17:33:26 +00:00
TreeHugger Robot 5077d9dbea [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: ea11c15be3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16518927

Change-Id: I6b9a89b880f47721f6aaaf0607596270eced8ed8
2021-12-23 18:56:06 +00:00
TreeHugger Robot 15c9d2d4f6 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-12-23 18:31:55 +00:00
TreeHugger Robot 8fde307b56 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-12-23 18:24:12 +00:00
TreeHugger Robot ea11c15be3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-12-23 18:24:10 +00:00
TreeHugger Robot 59ebc0c3c9 Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f am: f58691ae42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16444734

Change-Id: Idd834fc5a587e2cdb3425612514efe54ece792cc
2021-12-23 07:15:54 +00:00
TreeHugger Robot f58691ae42 Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16444734

Change-Id: I405e4c79cc91ccbeb0472870ad1395eccaa8b64b
2021-12-23 06:55:10 +00:00
TreeHugger Robot c0231f8d0f Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev 2021-12-23 06:40:12 +00:00
TreeHugger Robot 12e9e14939 [automerger skipped] Merge "Fix testStressSwipeToOverview" into sc-dev am: aabead2db8 am: 5181163070 -s ours
am skip reason: Merged-In I19616f7921c9821f1b45a90a3e4bec4fb3b8a9d3 with SHA-1 ce6bf7dd7f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471550

Change-Id: I6b50f7c6836850fc031b1c3abc77820bd63bb2b6
2021-12-22 20:27:53 +00:00
TreeHugger Robot a279860976 [automerger skipped] Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-dev am: 1a453f1547 am: 925768d35a -s ours
am skip reason: Merged-In I76e27c96b54293805546c0d6c82e77f975c69d7a with SHA-1 66ed0ff23e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471461

Change-Id: Ia4af56888338a0e1b06cad8b2b8a13d221b97c14
2021-12-22 20:27:52 +00:00
TreeHugger Robot 5181163070 Merge "Fix testStressSwipeToOverview" into sc-dev am: aabead2db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471550

Change-Id: Id7353bbafe62f70b0b1659455e731bc3ecf85de2
2021-12-22 20:23:47 +00:00
TreeHugger Robot 925768d35a Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-dev am: 1a453f1547
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471461

Change-Id: Ia6ddad23a2ebaa5737ffe12ce91501ec23dc8489
2021-12-22 20:23:45 +00:00
TreeHugger Robot 092c90c55e Merge "Log launcher settings whenever launcher layout is logged using pull atom." into sc-v2-dev 2021-12-22 19:55:44 +00:00
Bill Yi 3b6d4acdc3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c252fc5b0d8ac7e84357ef6493dc83f0996805b
2021-12-22 07:52:09 +00:00
Bill Yi 84ed7e92b4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6896c90a1b5e637f20e004866db4407219d4e210
2021-12-22 07:51:33 +00:00
Bill Yi 506c4df440 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I03c58e596fae530790fcdd93319ae1b0dbc7ad78
2021-12-22 07:50:59 +00:00
Tony Huang fc6fc6d651 Merge "Animate split divider" into sc-v2-dev 2021-12-22 02:47:05 +00:00
TreeHugger Robot aabead2db8 Merge "Fix testStressSwipeToOverview" into sc-dev 2021-12-22 01:50:59 +00:00
TreeHugger Robot 1a453f1547 Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-dev 2021-12-22 01:50:59 +00:00
Thiru Ramasamy 7d04782532 Log launcher settings whenever launcher layout is logged using pull atom.
* Whenever launcher setting is changed, only log the changed setting instead of all

Bug: 181703659
Test: wwdebug && wwlogcat AND statsd_testdrive 10108

Change-Id: I9c6b7a17d653038a91f885df455e5ebbb401b49a
Merged-In: I9c6b7a17d653038a91f885df455e5ebbb401b49a
(cherry picked from commit f7ebfb9a7fc2151621567008acfe103c76a6ef0d)
2021-12-21 19:58:15 +00:00
Vinit Nayak d0b4d10f0e Merge "Use all targets passed back for recents animation" into sc-v2-dev 2021-12-21 17:10:00 +00:00
Vinit Nayak f421ad2ef8 Use all targets passed back for recents animation
* Previously we were removing all targets except for
the app that was to be animated. That caused issues
because we look for the home app to determine if the
app leashes need to be drawn underneath or not.
* Now (assuming at most two non-home app leashes will
be sent) we add all the non-home targets along with
the desired app target by excluding 1 of the 2 non-home
apps

Bug: 199936292
Merged-In: I252d6c663e9ca145ef394ac08d9a32da02d4a03b
Change-Id: I252d6c663e9ca145ef394ac08d9a32da02d4a03b
2021-12-21 05:45:00 +00:00
Tony Wickham e064f51642 Merge "Update hotseat alpha in TaskbarLauncherStateController#init()" into sc-v2-dev 2021-12-21 00:30:12 +00:00
Winson Chung a46d36240b Add logs for null task list
Bug: 206648922
Test: Adding logs
Change-Id: I23b8a9fadd1e555f1c3f7a75940bd7faa56b777b
2021-12-20 22:49:10 +00:00
Winson Chung 75867ae0ba Merge "Fix some small related to back button alpha" into sc-v2-dev 2021-12-16 21:59:27 +00:00
Winson Chung 361f82b237 Temporarily disable SUW specific insets logic
Bug: 204384193
Test: Check that SUW is inset

Change-Id: Id00f10f51b52ef8ec375f650fd44bb2c6eb31e09
2021-12-16 18:45:25 +00:00
Tony Wickham bf07660f9e Update hotseat alpha in TaskbarLauncherStateController#init()
Technically the consumer should do that already, but the consumer isn't called if the value isn't changed (in this case, it's going from 1 to 1). So explicitly call the consumer once in init().

Test: Open an app, toggle dark theme from quick settings, go home and ensure hotseat isn't visible during the transition
Fixes: 211002647
Change-Id: I5a9680282b3982d9b6f982833cd671b224767518
2021-12-16 18:29:41 +00:00
Winson Chung e62a1996b7 Fix some small related to back button alpha
- Skip updating nav button dark intensity if we're setting it manually
  while SUW is running
- There should only be one alpha StatePropertyHolder for the same view
  otherwise when updating the properties it can clobber a previous state

Bug: 204384193
Test: Disable dark mode on SUW and verify nav buttons show
Change-Id: I450c3a5697954d9b464bdd622847beb2d01f3802
2021-12-16 17:47:53 +00:00
TreeHugger Robot 3ffaf3c71f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 649325ad1a -s ours am: 4d6831e2b9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: Ie8afdf5787284f711960ea7edb124641edbaceb5
2021-12-16 16:11:57 +00:00
TreeHugger Robot 011e9314e6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: d1841de078 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474031

Change-Id: I70958dc746e53154b9d9c58ee72c59a995ca7439
2021-12-16 16:11:32 +00:00
TreeHugger Robot 63d5fd85e6 Merge changes from topic "presubmit-am-299ca4020ed94d05b0ac27bbf6752f7a" into sc-qpr1-dev am: cd30824c99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: I1e7e38f0fbaac4c1ac90ff2f040c2eadfc362f42
2021-12-16 16:11:14 +00:00
Bill Yi 964665a000 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 189f1ce908 am: a0cf7967db -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: Ic4fac6992b03a6d95684e48d2c4c5233085d47f1
2021-12-16 16:11:09 +00:00
TreeHugger Robot e2e3340998 Merge changes from topic "presubmit-am-2f8e16fe33c44e5196ee3ee1963fafb2" into sc-qpr1-dev am: 04162f05d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474030

Change-Id: Ia18da606589470e86ed75583ba30250f04237750
2021-12-16 16:10:07 +00:00
Bill Yi 2d4d5863b7 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 384c30fa4c am: 439705b5a3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474030

Change-Id: Iab2bf266a7d1626fec28b44727d42500285a9fa7
2021-12-16 16:10:07 +00:00
Bill Yi 0a77ac2558 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8942bc90bf -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474028

Change-Id: I4bf9a47db20f8bb7c00ad18162bb3c32375f25d9
2021-12-16 16:06:48 +00:00
TreeHugger Robot 4d6831e2b9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 649325ad1a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: Ic4119cd526e6601167751700d0107a788b25aecb
2021-12-16 16:06:23 +00:00
TreeHugger Robot d1841de078 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-12-16 15:50:25 +00:00
TreeHugger Robot 9be15e2b85 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-12-16 15:50:09 +00:00