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
Samuel Fufa
a44c09d6c9
Fix hotseat button alignment
...
Screenshot: https://screenshot.googleplex.com/Vr9FXe3oN2t
Bug: 159731214
Change-Id: I9e413f5d9bf0144edd413cc5995e7f1fda152f28
2020-06-23 12:46:30 -07:00
Rajeev Kumar
cadb94983b
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.
Bug: 159709775
Test: wembley-userdebug boots and has functioning Launcher
Change-Id: I17904f9ad88abc66364675426545eae423cb3175
2020-06-23 19:06:15 +00:00
Tony Wickham
b47a99e3cc
Store newGestureState before onConsumerAboutToBeSwitched clears it
...
Bug: 159659393
Change-Id: If98d54b7ca397ef56a5c6d50c0fd92f25a9494b4
(cherry picked from commit efb7e60edc )
2020-06-23 16:45:51 +00:00
Tracy Zhou
ded0a4f7b4
Merge "Support having dup items in folder for migration" into ub-launcher3-rvc-dev am: b1e003c1fb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959984
Change-Id: Ibdf4d2554dee8d0334a4256e740c31fd276a1c17
2020-06-23 16:22:20 +00:00
Tracy Zhou
b1e003c1fb
Merge "Support having dup items in folder for migration" into ub-launcher3-rvc-dev
2020-06-23 16:12:25 +00:00
Riddle Hsu
8108009929
Use isolated display context to get display info
...
While display is in landscape, and the launcher is transformed to
portrait, the display rotation from activity or application context
will get the rotation in portrait.
In order to transform the input event when the orientations are
different, the actual device rotation is still needed. By creating
the display context from application context, the resources of
the new context won't be affected by the activity/application level
display info adjustments. That provides the actual device states.
Additionally, DefaultDisplay#INSTANCE should only be used for the
operations related to physical orientation/size because it won't
contain the override information from activity.
Bug: 157456493
Test: Use a device which may switch refresh rate.
Open Maps and put device in landscape.
Use gesture navigation to swipe up.
The direction of movement should be consistent with UI.
Change-Id: I03108b1ab057e28727b6a6db3629d2c1c069e828
2020-06-23 17:09:33 +08:00
TreeHugger Robot
78be2f4703
[automerger skipped] Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: d9bb767466 am: 5a0ca31e20 am: 7f004c66c7 -s ours
...
am skip reason: Change-Id I2a168bfa8e3979ade26ab1d3cddbbae84cf79590 with SHA-1 0b51b916b0 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I535cbb6c4c0dfc9b7ed90b0fc33bd9cc1c8da25e
2020-06-23 08:28:17 +00:00
Automerger Merge Worker
e837691b46
[automerger skipped] Merge "Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: 3309850150 am: 633f0ca00d" into rvc-qpr-dev-plus-aosp am: e61a66437a -s ours
...
am skip reason: Change-Id I2a168bfa8e3979ade26ab1d3cddbbae84cf79590 with SHA-1 0b51b916b0 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I811e9e157a65c1bb49e2570e853f6b3e5fd126db
2020-06-23 08:28:06 +00:00
TreeHugger Robot
cd0470a0e1
[automerger skipped] Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: 3309850150 am: 3b5064c627 am: ca73131b00 -s ours
...
am skip reason: Change-Id I2a168bfa8e3979ade26ab1d3cddbbae84cf79590 with SHA-1 0b51b916b0 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: Id2e8d0cef83353c0896d86757fcc855f196b7602
2020-06-23 08:27:45 +00:00
TreeHugger Robot
7f004c66c7
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: d9bb767466 am: 5a0ca31e20
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I2725d65848cc3f239a41a01942c65ab65e7ec35a
2020-06-23 08:11:23 +00:00
Automerger Merge Worker
e61a66437a
Merge "Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: 3309850150 am: 633f0ca00d" into rvc-qpr-dev-plus-aosp
2020-06-23 08:11:18 +00:00
TreeHugger Robot
c92007ce05
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: 3309850150 am: 633f0ca00d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I33ae3bc11d35436c5d925c593093d3bbfde00828
2020-06-23 08:11:13 +00:00
TreeHugger Robot
ca73131b00
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: 3309850150 am: 3b5064c627
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I2c44979d0ddd4bdd227db8ce96d759d9ae4c8713
2020-06-23 08:11:07 +00:00
TreeHugger Robot
5a0ca31e20
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: d9bb767466
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I42bfe12c6c1f84d816eab2938ac9f920dfdcde37
2020-06-23 07:58:40 +00:00
TreeHugger Robot
633f0ca00d
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: 3309850150
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: Ia45c84e7afe144515eee4dc66b6339e0d8e46f96
2020-06-23 07:58:40 +00:00
TreeHugger Robot
3b5064c627
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506 am: 3309850150
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I382108fe334d51cc78afdd8818aa78caa8065cc0
2020-06-23 07:58:14 +00:00
TreeHugger Robot
d9bb767466
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: Ic5e8629d580f552de23763b6138a95d53bc3912f
2020-06-23 07:48:11 +00:00
TreeHugger Robot
d40872d017
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I1de10dab636ad0eb3311ea50007ea5667f17cc3a
2020-06-23 07:48:01 +00:00
TreeHugger Robot
3309850150
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev am: a271085506
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959982
Change-Id: I1cb4a775fda0f70b0839398ac0f4b8e224c7880c
2020-06-23 07:47:36 +00:00
TreeHugger Robot
a271085506
Merge "Merging from ub-launcher3-rvc-dev @ build 6617269" into rvc-dev
2020-06-23 07:29:27 +00:00
Tracy Zhou
76773cd210
Support having dup items in folder for migration
...
Fixes: 159312066
Test: Have two dup items in a folder under one grid setting. Migrate. Make sure the folder is migrated correctly to the new grid setting.
Change-Id: Ic5aeb30a1c8acb382bccf744d7553913d8a8a320
2020-06-23 00:29:23 -07:00