Commit Graph

33301 Commits

Author SHA1 Message Date
Samuel Fufa 6293af5575 Remove hotseat edu flag
Launcher should not restrict user migration to a one time event if we want users to migrate their hotseat by enabling hotseat prediction from suggestion settings.

Test: Manual
Bug: 159731272
Change-Id: I0e42dd6b6cf6374928e5b399d121d17fe8024ae1
2020-06-24 02:01:07 +00:00
TreeHugger Robot 8cce026b81 Merge "Fix map initial capcity." into ub-launcher3-master 2020-06-24 02:00:50 +00:00
android-build-team Robot dde6d80a64 Snap for 6621766 from cb2473cf3f to rvc-release
Change-Id: I20ad5a5be8c00c9eb03250a4697ddbcee55ce3b2
2020-06-24 01:04:33 +00:00
TreeHugger Robot 615a9b8c3d Merge "Fixing TaskMenu positioning." into ub-launcher3-rvc-dev am: f95cf17a13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11975970

Change-Id: I457b19e1bbc25d9716106d0df9e3bb6a6eacf455
2020-06-24 00:17:53 +00:00
Sreyas 98ef53458d Fixing TaskMenu positioning.
Bug: 159728554
Change-Id: I4a666363f092b5416edecd0731a0f448916c8def
2020-06-24 00:14:21 +00:00
Automerger Merge Worker 211cb9c3ee Merge "Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 15816e2cb3" into rvc-d1-dev-plus-aosp am: ab0f8427ae am: af2adcd71e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I4b758c67c31b1be613b08b577c7e3aa71934ec64
2020-06-24 00:07:23 +00:00
Tracy Zhou de63e899c3 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 4744871cfc am: 43134aaaba am: 45f1218207
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I333f4a4b32cbd584f38897ebe4082076c44eb6ba
2020-06-24 00:07:02 +00:00
Tracy Zhou 1db2e2cc41 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 15816e2cb3 am: 22395f0f02 am: 37bdb08a45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I9b91f1c0835daa9068cf3059b891f78e43d45269
2020-06-24 00:06:11 +00:00
TreeHugger Robot f95cf17a13 Merge "Fixing TaskMenu positioning." into ub-launcher3-rvc-dev 2020-06-24 00:03:27 +00:00
Automerger Merge Worker af2adcd71e Merge "Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 15816e2cb3" into rvc-d1-dev-plus-aosp am: ab0f8427ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: Ic308d892af0da301a3e704df6f1c101eec158979
2020-06-23 23:55:09 +00:00
Tracy Zhou 45f1218207 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 4744871cfc am: 43134aaaba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I7c0df283c5b5ed60db374cdd4355d2a7ccf22e70
2020-06-23 23:54:48 +00:00
Tracy Zhou 37bdb08a45 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 15816e2cb3 am: 22395f0f02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: Ib82e0c477d89672778be5cc7e988ee006a0f041d
2020-06-23 23:53:22 +00:00
TreeHugger Robot b27413d147 Merge "Add explicit android:exported="true" declarations" into ub-launcher3-master 2020-06-23 23:41:29 +00:00
Automerger Merge Worker ab0f8427ae Merge "Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 15816e2cb3" into rvc-d1-dev-plus-aosp 2020-06-23 23:40:51 +00:00
Tracy Zhou a468cbfa59 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 15816e2cb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: Ia64c4ff1b043f06d23708eb0e07d903c7b8bc4b7
2020-06-23 23:40:47 +00:00
Tracy Zhou 43134aaaba Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 4744871cfc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I8ee6bb2b7abcd9d4f5f59cf53b72cf1637a7544c
2020-06-23 23:40:46 +00:00
Tracy Zhou 22395f0f02 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f am: 15816e2cb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I498758afe041cc21e2640e85da954bd4e56f485b
2020-06-23 23:40:41 +00:00
Sreyas 88f1f2046c Fixing NPE befre ActionsView first initialized.
Bug: 159728260
Change-Id: I00e6f8fccf8057495f77873f2f0a1ab01e63ed23
2020-06-23 16:31:34 -07:00
Sunny Goyal 315eb02012 Merging from ub-launcher3-rvc-dev @ build 6621659
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6621659.html

Change-Id: Id9689e3dfa641c0e004c9dc975e281358bed7ad7
2020-06-23 16:28:38 -07:00
Tracy Zhou 2660d8ce21 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I97165e800e5dc275aeb4924f49f38ae90e4ab775
2020-06-23 23:21:45 +00:00
Tracy Zhou 15816e2cb3 Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I88bc60255cf86535789046145035ea42645105c1
2020-06-23 23:21:19 +00:00
Tracy Zhou 4744871cfc Merge "Disable grid option feature in ThemePicker" into rvc-dev am: cb2473cf3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972631

Change-Id: I6db80b1d04cd7d6bd5d26e48fec4ef722209c519
2020-06-23 23:21:19 +00:00
Sreyas 7776d30609 Fixing TaskMenu positioning.
Bug: 159728554
Change-Id: I4a666363f092b5416edecd0731a0f448916c8def
2020-06-23 16:17:11 -07:00
Tracy Zhou cb2473cf3f Merge "Disable grid option feature in ThemePicker" into rvc-dev 2020-06-23 23:09:09 +00:00
Tracy Zhou 0c88238966 Disable grid option feature in ThemePicker
Fixes: 158790001
Test: manual
Change-Id: I5419738d9b3be996cdcea0a7b5dc2d31ceff0055
2020-06-23 23:07:53 +00:00
Rajeev Kumar b6354114ba Add explicit android:exported="true" declarations
We add this for GestureSandboxActivity and
com.android.launcher3.uioverrides.QuickstepLauncher to
reinstate the behavior of go/ag/11746107 which was
incorrectly reverted in go/ag/11963698.

We also add this for HotseatEduActivity which was
newly added in go/ag/11963698.

(Cherry pick from master cadb94983b)

Bug: 159709775
Fixes: 159709775
Test: wembley-userdebug boots and has functioning Launcher
Change-Id: I17904f9ad88abc66364675426545eae423cb3175
Merged-In: I17904f9ad88abc66364675426545eae423cb3175
2020-06-23 23:04:38 +00:00
TreeHugger Robot da25b230ed Merge "Prevent premature resetting of quickswitch mode" into ub-launcher3-rvc-dev am: 359a28e934
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11931812

Change-Id: I0c139e6381b85d723997d6cf6135e12b7d64ff9f
2020-06-23 22:55:18 +00:00
Jon Miranda 6fc3648e89 Fix map initial capcity.
Change-Id: I69f9dc2310435ba23d9a12cc8a5ef1037b43bb2b
2020-06-23 22:51:27 +00:00
Vinit Nayak d92946356e Prevent premature resetting of quickswitch mode
Previously, whenever a user returned to the same
rotation that they had started quickswitch in,
we were sending sysui the reset flag(-1) indicating
that quickstep was complete instead of sending
the rotation of the device the user was in.

This was intentional and it worked, however we now
always send the active rotation while the user
is in a quickswitch session because sysui needs
to show the fake home handle for immersive apps,
which can occur in any rotation. This state is
distinct from not being in quickswitch at all, in
which no fake handles are shown.

Fixes: 158677967

Change-Id: I910324abf781b4b30fe981139712bcb5b653c318
(cherry picked from commit f2daafcdf8)
2020-06-23 22:45:44 +00:00
TreeHugger Robot 359a28e934 Merge "Prevent premature resetting of quickswitch mode" into ub-launcher3-rvc-dev 2020-06-23 22:42:48 +00:00
TreeHugger Robot 7e47e05f40 Merge "Fix hotseat button alignment" into ub-launcher3-rvc-dev am: d0fcfe2bb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972637

Change-Id: I95d09bbf30ca40ecc57b334eb41203a01efd59aa
2020-06-23 22:24:53 +00:00
vadimt e52b39ffb9 Making LauncherProvider think that clear-db request comes from Launcher am: efa3acddba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11975961

Change-Id: I232d640997772be013900c36aa82479b926016ca
2020-06-23 22:24:39 +00:00
TreeHugger Robot d0fcfe2bb7 Merge "Fix hotseat button alignment" into ub-launcher3-rvc-dev 2020-06-23 22:08:42 +00:00
Vinit Nayak f2daafcdf8 Prevent premature resetting of quickswitch mode
Previously, whenever a user returned to the same
rotation that they had started quickswitch in,
we were sending sysui the reset flag(-1) indicating
that quickstep was complete instead of sending
the rotation of the device the user was in.

This was intentional and it worked, however we now
always send the active rotation while the user
is in a quickswitch session because sysui needs
to show the fake home handle for immersive apps,
which can occur in any rotation. This state is
distinct from not being in quickswitch at all, in
which no fake handles are shown.

Fixes: 158677967

Change-Id: I910324abf781b4b30fe981139712bcb5b653c318
2020-06-23 15:07:22 -07:00
Tony Wickham ec615a46f7 Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: 5def85eb22 am: 6a107f62aa am: 38cb32e5af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: I130370ab0439f5539807fe8aab16fdac9591d8e1
2020-06-23 21:48:37 +00:00
Tony Wickham 04349913da Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: fa5559ff64 am: 47e7816c13 am: 990df186cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: Ibbee66b437dcf5200a1e6d3e19ab2c5a36e0ba5b
2020-06-23 21:48:08 +00:00
Tony Wickham 333e41932b Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: fa5559ff64 am: b2676f22d9 am: bf68d13368
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: Id271c5227db2067c4db596f219d56dc37c06b305
2020-06-23 21:47:30 +00:00
Tony Wickham 38cb32e5af Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: 5def85eb22 am: 6a107f62aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: I7f0373f2fefb9763242735bdff3fafab51102461
2020-06-23 21:31:42 +00:00
TreeHugger Robot 2f987f6466 Merge "Add an exported flag in manifest" into ub-launcher3-master 2020-06-23 21:31:32 +00:00
Tony Wickham 990df186cd Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: fa5559ff64 am: 47e7816c13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: Icbc58ede24cc1e575a65c7c250746f2adc8a2013
2020-06-23 21:31:25 +00:00
Tony Wickham bf68d13368 Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: fa5559ff64 am: b2676f22d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: Ia7e682c0715ae83844f15c40dbc49fd18e38ee82
2020-06-23 21:30:41 +00:00
Tony Wickham 6a107f62aa Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: 5def85eb22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: I124fc6fda0a51d6768c54a125c4e88efc7ec3ed6
2020-06-23 21:16:54 +00:00
Tony Wickham 47e7816c13 Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: fa5559ff64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: I94f70b23dc70eafcd73830309007c6314db0c791
2020-06-23 21:16:35 +00:00
Tony Wickham b2676f22d9 Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: fa5559ff64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: I3a0fd6a4af4c210a1b91635f438b310a68e7a39d
2020-06-23 21:16:26 +00:00
Tony Wickham 56c28b5e12 Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: Id35d3d41f23000db794ff1f1eedca3b56a599b23
2020-06-23 21:03:15 +00:00
Tony Wickham 5def85eb22 Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: Icb29fe36b27dec1276cc03169310bb0486c9dbc8
2020-06-23 21:03:05 +00:00
Tony Wickham fa5559ff64 Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: I8d0a8f74ee677e5063c6ff84288bc7bd8e7a517c
2020-06-23 21:02:51 +00:00
vadimt efa3acddba Making LauncherProvider think that clear-db request comes from Launcher
If it comes from the test process, the request won't be honored.

Bug: 159728364
Change-Id: I90029c1198634f1f1e94f61ba8ab9b41609d9ad5
2020-06-23 13:59:11 -07:00
Ashwini Oruganti aa902e859b Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for future versions. This change adds the value reflecting the
previous default to the manifest.

These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.

Bug: 150232615
Bug: 158198882
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: I083a7bcab968c881f7cdff7152a249691ffac316
2020-06-23 13:58:18 -07:00
Samuel Fufa 3c2a17b6f6 Remove hotseat edu flag
Launcher should not restrict user migration to a one time event if we want users to migrate their hotseat by enabling hotseat prediction from suggestion settings.

Test: Manual
Bug: 159731272
Change-Id: I0e42dd6b6cf6374928e5b399d121d17fe8024ae1
2020-06-23 12:53:37 -07:00