Sunny Goyal
ca6a539faa
Only fetching relevant widget info during first pass
...
This avoids loading resources for allwidget providers when they
are not added to homescreen.
Test: Verified on device
Bug: 180867488
Change-Id: If9adde8eb035ecac75dc4e3e37cd3f0f526865e5
2021-03-01 15:33:15 -08:00
Tony Wickham
ed8f264fcb
Add debug log for initInputMonitor()
...
Sometimes tests aren't getting input events, and this could help
verify that the input monitor is being initialized.
Also remove obsolete check that could mean we don't initialize
when we should.
Bug: 180915942
Change-Id: I811cb432b456bc67d9e7ded945db36eb227f5071
2021-03-01 15:29:52 -08:00
Jeff Pierce
0d0f4f96f9
SystemUI proxy updates for managing split screen
...
Allow the launcher to provide a fill-in intent when starting a
PendingIntent splitscreen, and add a new method to allow the launcher
to request removing a task from the side stage.
Bug: 179176511
Test: Manually tested with the foldable launcher prototype
Change-Id: I23173b432ffe9c988744641170412aa9111cf55d
2021-03-01 15:27:33 -08:00
Steven Ng
c7537713ca
Add widget description to WidgetCell
...
Full picker: https://screenshot.googleplex.com/8Dij79K8Pq2KWdm.png
Bottom picker: https://screenshot.googleplex.com/5f9TLra49dYJjLB.png
Test: Manually launch full and bottom widget pickers and observe
description is only shown for widgets but not shortcut.
Bug: 179797520
Change-Id: I5bfde056906a4a0f4fff9bc9a488f808365173b3
2021-03-01 23:17:32 +00:00
Alex Chau
a3131a4ca8
Merge "Remove smallestScreenSize from configChanges" into sc-dev am: dee1167409
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13687966
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1a69c5b2b42880275484cf2c44b44c7dbb5e4e48
2021-03-01 21:45:46 +00:00
Alex Chau
390447f7f2
Merge "Remove smallestScreenSize from configChanges" into sc-dev am: dee1167409
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13687966
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6bcef3c9b66fed421f671a436b9a9b0a9b0967df
2021-03-01 21:45:42 +00:00
Alex Chau
dee1167409
Merge "Remove smallestScreenSize from configChanges" into sc-dev
2021-03-01 21:01:19 +00:00
TreeHugger Robot
834ed89e35
Merge "Add tracing to track every allApps rebind" into sc-dev am: f6987b0be1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714072
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie60375a68bb37c647f20f12068850a653fa5c80f
2021-03-01 18:45:29 +00:00
TreeHugger Robot
b51b1f88ad
Merge "Add tracing to track every allApps rebind" into sc-dev am: f6987b0be1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714072
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I39c17441dca0414c397bb10d1aa3bf87f667d60c
2021-03-01 18:44:33 +00:00
TreeHugger Robot
f6987b0be1
Merge "Add tracing to track every allApps rebind" into sc-dev
2021-03-01 17:40:12 +00:00
Samuel Fufa
f3c661ee0f
Merge "Show typeahead hint for app results" into sc-dev am: 565975ad89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13700867
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8cd9f98f62b369768f22af18d66b7b1e0cc13298
2021-03-01 15:25:24 +00:00
Samuel Fufa
6a0e355dbe
Merge "Show typeahead hint for app results" into sc-dev am: 565975ad89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13700867
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic3cbdfd41ca1dfce10e35b6bcec579aa8d47eb95
2021-03-01 15:24:29 +00:00
Samuel Fufa
565975ad89
Merge "Show typeahead hint for app results" into sc-dev
2021-03-01 14:18:04 +00:00
Yogisha Dixit
741fae9ea2
Move widget files into widget folder + add tests.
...
I will use the newly created LauncherAppWidgetProviderInfoTest in a follow-up CL to add tests for the newly added widget sizing APIs.
Test: Automatic: Ran all robolectric tests in launcher3,
Manual: Added a widget, edited the widget, removed the widget
Bug: 179807199
Change-Id: I540b2dbe284c6eb5aa2466a1d13a9581ee59425b
2021-03-01 13:59:52 +00:00
Alex Chau
8c575c378e
Remove smallestScreenSize from configChanges
...
- Remove smallestScreenSize so Launcher activity restarts when screen size changes to pick up new smallestSize dependent values e.g. R.bool.allow_rotation
Bug: 180803696
Test: Ensure rotation preference is respected when switching between large and small screen
Change-Id: I58f856a97effa8e35236d013300181c5d332b25a
2021-03-01 12:20:26 +00:00
Steven Ng
a1427449da
Merge "Show widget previews in their expected cell sizes" into sc-dev am: 05cc458dbf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13701718
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I21b641cf6337797636c9856f1631e03d9ad3b8ee
2021-03-01 10:55:38 +00:00
Steven Ng
ee70b93847
Merge "Show widget previews in their expected cell sizes" into sc-dev am: 05cc458dbf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13701718
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1e170c18566ac1b0ef044f13d30a1be0336ce6ad
2021-03-01 10:54:02 +00:00
Steven Ng
05cc458dbf
Merge "Show widget previews in their expected cell sizes" into sc-dev
2021-03-01 10:10:15 +00:00
android-build-team Robot
72aca3fbe5
Snap for 7175096 from d3b82a2471 to sc-v2-release
...
Change-Id: If9ba7e717d1c8936cad039384e16de285eb5b4b2
2021-02-28 00:08:03 +00:00
android-build-team Robot
fccd3bce8c
Snap for 7175096 from d3b82a2471 to sc-release
...
Change-Id: I2286c5027e35d162bee0b921a4a504b4d4ece4a6
2021-02-28 00:07:36 +00:00
TreeHugger Robot
637ebcbbda
Merge "Log a bit more data in switchToAllApps()" into sc-dev am: d3b82a2471
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13715288
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifa1596acf65f2064d4f131c03377a4b792b87b81
2021-02-27 04:21:16 +00:00
TreeHugger Robot
3728088dc9
Merge "Log a bit more data in switchToAllApps()" into sc-dev am: d3b82a2471
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13715288
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I709c248622a7b24fe061ccd8ee1ec80dce34dd72
2021-02-27 04:18:21 +00:00
TreeHugger Robot
d3b82a2471
Merge "Log a bit more data in switchToAllApps()" into sc-dev
2021-02-27 03:15:24 +00:00
Tracy Zhou
fd1d752347
Check if the recents animation is still running and whether the app being restarted is the live tile app in mLiveTileRestartListener
...
mLiveTileRestartListener is originally used to render the animation to launch the app that's the live tile app (for example, settings is the live tile app and we can launch settings from notification shade).
However, we don't want this callback to be triggered when the recents animation is finished / live tile is ended because the default animation in that case won't be skipped.
The other scenario that we don't want the animation to be rendered here is when the restarted app is not the live tile app. This can be repro'ed in this scenario - launch any app and go to live tile; launch settings; swipe up from settings; launch the previous live tile app. In this case, we rely on the mLaunchOtherTaskHandler take care of the rendering of this animation.
Fixes: 181372992
Test: manual
Change-Id: I41b63ce5163f1ac136bf8b5909907a3f84d937d8
2021-02-26 18:32:13 -08:00
Tony Wickham
4faa87c478
Log a bit more data in switchToAllApps()
...
Test: TaplTestsQuickstep.testWorkspaceSwitchToAllApps
Bug: 181122114
Change-Id: Ice5515f5b3ac87c42af42d946036505879deb235
2021-02-26 16:25:35 -08:00
Hongwei Wang
4dbf14ed67
Merge "Skip window transform if SwipePipToHomeAnimator's running" into sc-dev am: 4f3e8ef3f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714585
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie05a0c289d88aeef487aff19bf04938926cc3958
2021-02-27 00:23:10 +00:00
Hongwei Wang
f562a9689b
Merge "Skip window transform if SwipePipToHomeAnimator's running" into sc-dev am: 4f3e8ef3f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714585
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifd2c8be17ad777fd2c1519dd16ca70b3d6da5e86
2021-02-27 00:22:56 +00:00
TreeHugger Robot
0f5f12404f
Merge "Adds dump method to ModelDelegate." into sc-dev am: 023657ec21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13711538
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6822bc3d654bc11bdd7d298819eb69c5fa7da864
2021-02-27 00:22:26 +00:00
TreeHugger Robot
f24193059e
Merge "Adds dump method to ModelDelegate." into sc-dev am: 023657ec21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13711538
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I67e66b3dd45a8160046f790a28073269c030d91b
2021-02-27 00:21:52 +00:00
Hongwei Wang
4f3e8ef3f2
Merge "Skip window transform if SwipePipToHomeAnimator's running" into sc-dev
2021-02-27 00:05:05 +00:00
TreeHugger Robot
023657ec21
Merge "Adds dump method to ModelDelegate." into sc-dev
2021-02-26 23:38:09 +00:00
TreeHugger Robot
4bf985e523
Merge "Update ArrowPopup to accommodate more rounded dialogs." into sc-dev am: 3be39aa0b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13692450
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iae2214f7e393f709ee9d23a400090081db927d31
2021-02-26 23:14:55 +00:00
TreeHugger Robot
ec37a4d83f
Merge "Update ArrowPopup to accommodate more rounded dialogs." into sc-dev am: 3be39aa0b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13692450
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If133ed3888da8ee05ff62a9b7b313beae23fa3eb
2021-02-26 23:14:50 +00:00
vadimt
ab469ac515
Better diagnosing leaked activities.
...
Test: manual
Bug: 181356264
Change-Id: I9bf843a1d26bc4cf255c1b8d2cce0febeaa4c4fe
2021-02-26 14:45:10 -08:00
Samuel Fufa
a18abf55b4
Add tracing to track every allApps rebind
...
Bug: 159671700
Test: presubmit
Change-Id: I1c7507ac2175d6e2f4514e4ad51c356aa75dd6e9
2021-02-26 16:40:27 -06:00
TreeHugger Robot
3be39aa0b9
Merge "Update ArrowPopup to accommodate more rounded dialogs." into sc-dev
2021-02-26 22:17:40 +00:00
Hongwei Wang
9140af12d2
Skip window transform if SwipePipToHomeAnimator's running
...
Launcher tries to set the window transform on the recents animation
leash when it's settled on end target, which might conflict with
SwipePipToHomeAnimator and causes flash/flick at the end of the
transition. Simply skip the window transform since
SwipePipToHomeAnimator is the one solely responsible for updating the
leash in this case.
Bug: 179720719
Test: repeatedly enter PiP from ApiDemos with autoEnterPip enabled
Change-Id: Ia98675c21e3bd898cd11cf6ed97f6eaadcb11a42
2021-02-26 14:11:45 -08:00
Andy Wickham
bb993c484a
Adds dump method to ModelDelegate.
...
This allows delegates to include additional data in log dumps.
Bug: 181351828
Test: Checked that data was found in a bug report and
adb shell dumpsys activity com.google.android.apps.nexuslauncher
Change-Id: I7a63430202ff899ac885a544c558e1248d2ce829
2021-02-26 13:36:07 -08:00
thiruram
490ef5edf4
[AA+] Logs LAUNCHER_ALLAPPS_ITEM_LONG_PRESSED event. am: e9fe7f2789
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13682552
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I48d06a761e8db519658b4e3c1d275446b576942a
2021-02-26 21:15:56 +00:00
thiruram
67ecc8e983
[AA+] Logs LAUNCHER_ALLAPPS_ITEM_LONG_PRESSED event. am: e9fe7f2789
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13682552
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ica58cfc23bb522452e36b49efa92cafd39b20b49
2021-02-26 21:15:50 +00:00
TreeHugger Robot
505ba9d889
Merge "Adds a removeChangeListener to FeatureFlags$BooleanFlag." into sc-dev am: a9cb2fb476
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13700168
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2b2314ceb57dbc4dfbd4a330debbb7cc64783b53
2021-02-26 21:15:22 +00:00
TreeHugger Robot
a1e0a801c5
Merge "Adds a removeChangeListener to FeatureFlags$BooleanFlag." into sc-dev am: a9cb2fb476
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13700168
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I00d2769059cfae7e0b68ca1c6e28578386a5f88c
2021-02-26 21:15:07 +00:00
thiruram
e9fe7f2789
[AA+] Logs LAUNCHER_ALLAPPS_ITEM_LONG_PRESSED event.
...
Bug: 178562918
Test: Manual
Change-Id: I6f195b7bdfa222332a250379bb7667501cbee762
2021-02-26 20:46:14 +00:00
TreeHugger Robot
a9cb2fb476
Merge "Adds a removeChangeListener to FeatureFlags$BooleanFlag." into sc-dev
2021-02-26 20:21:51 +00:00
Vadim Tryshev
de87397863
Merge "Waiting for the state of views to settle after orientation change" into sc-dev am: e1ea6cf754
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13701383
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6da47d554bafc5d1cd4e4fbfe29c60bfccc003dd
2021-02-26 19:38:34 +00:00
TreeHugger Robot
1437e28c54
Merge "Diagnosing expected selector in app-start" into sc-dev am: 47603e4e69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13699872
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5446d5642b0fd4892b0625d090778b563f4d3f74
2021-02-26 19:38:14 +00:00
Jonathan Miranda
1c47edabbd
Merge "Check for developer option on resuming settings activity." into sc-dev am: e1d06c5ccd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13711345
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I07a6c0b6a1df512bdb96c8cd906ff2663ebc75cd
2021-02-26 19:38:03 +00:00
Vadim Tryshev
dd6e426b67
Merge "Waiting for the state of views to settle after orientation change" into sc-dev am: e1ea6cf754
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13701383
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7ebf15f3ce83df2c3565627b6fb7264bab54d392
2021-02-26 19:37:23 +00:00
TreeHugger Robot
87f880ce92
Merge "Diagnosing expected selector in app-start" into sc-dev am: 47603e4e69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13699872
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ief154d17f16a88491ff09b9ccf18ecd14affb493
2021-02-26 19:37:18 +00:00
Jonathan Miranda
7b531843f9
Merge "Check for developer option on resuming settings activity." into sc-dev am: e1d06c5ccd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13711345
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I26ad617681c6aec1154fd33cd5818594f93d1f0b
2021-02-26 19:37:13 +00:00