Jeremy Sim
31e2e293e7
Merge "App Pairs: Implement save, inflate, launch, and delete" into udc-qpr-dev am: 6390654526 am: 3ec81aedbd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23502665
Change-Id: I671f3aca99e66cb4da5f306f1d456563e18c6cb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-08 02:15:35 +00:00
Jeremy Sim
6390654526
Merge "App Pairs: Implement save, inflate, launch, and delete" into udc-qpr-dev
2023-08-08 00:56:04 +00:00
Treehugger Robot
0b48b72fe7
Merge "Add better logging around long launcher operations during unfold" into udc-qpr-dev am: 77204f4608 am: 17d1aa74f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24336717
Change-Id: Icf7238ad5eb69f9f71d86f72adf32b59e5914b85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-07 18:01:55 +00:00
Nicolo' Mazzucato
e120fcfa47
Add better logging around long launcher operations during unfold
...
This logging helps understanding what's going on in Launcher main thread
during unfold from perfetto traces.
Test: Perfetto trace after unfolding
Bug: 292472402
Change-Id: I7a037d9a129deb4bfe4310fdba664b87164ef2ca
2023-08-07 12:18:10 +00:00
Jeremy Sim
94fd07e5da
App Pairs: Implement save, inflate, launch, and delete
...
This is the third of several patches implementing the App Pairs feature behind a flag.
This patch includes:
- AppPairIcon and associated XML. Actual icon asset is placeholder for now
- Ability to launch split pair on click
- Icon can be moved around, incl. to Taskbar
- App pair can be deleted by dragging to "Remove" drop zone
- Icon persists on Launcher reload
Change-Id: I88aec6fbc814be98f9ef048bbc5af889d0797970
Flag: ENABLE_APP_PAIRS (set to false)
Bug: 274835596
Test: Not included in this CL, but will follow
2023-08-02 12:08:41 -07:00
Luca Zuccarini
0066ec441b
Merge "Update default value for container launch animations to TEAMFOOD." into udc-qpr-dev am: 36e7df0d47 am: dd7a915c45
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24150096
Change-Id: I270b9deaf0797800a425bdfb4e0d568078d7795e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-31 20:36:04 +00:00
Luca Zuccarini
86e18b59a9
Update default value for container launch animations to TEAMFOOD.
...
Also move flag checking outside ItemInfo.
Bug: 262778448
Flag: ENABLE_SEARCH_RESULT_BACKGROUND_DRAWABLES
Flag: ENABLE_SEARCH_RESULT_LAUNCH_TRANSITION
Test: manual
Change-Id: I49de8a93539829e41c1de1fb23630c1b2ca8b646
2023-07-21 13:14:24 +00:00
Cameron Brown
089094ab40
launcher3: add missing whitespace to log
...
Change-Id: Ia3f4ec3bd46647eb3e0ee5a3a5e38d748a8ae02b
2023-07-19 15:08:48 +00:00
Sunny Goyal
0d149e6f93
Exposing the layout URI builder method, so that it can be used in tests
...
Bug: 286558846
Test: N/A
Flag: N/A
Change-Id: Ib39c0477bb977ac2eb3e484463bc3ea770dc4069
2023-07-14 13:03:12 -07:00
Vinit Nayak
f6f192853d
Cleanup WorkProfileTest logs
...
Fixes: 243688989
Change-Id: Ic3f143062c1a1383d1e79959dae59c45743547e9
2023-07-05 16:27:11 -07:00
Holly Sun
40df2fc8d8
[a11y] Add FLAG_NOT_PINNABLE and modify supportAddToWorkSpace.
...
// play uninstalled app
Bug: 286998395
Bug: 287156208
Bug: 287157282
// contact
Bug: 287362865
Bug: 287370843
Bug: 287372663
// clock
Bug: 287166186
Bug: 287166771
Bug: 287167527
Test: manual
Flag: N/A
Change-Id: I859deba6218e232a232f009793044ca4be2cab19
2023-06-22 16:39:05 -07:00
Brandon Dayauon
383cc17a6f
Merge "Fix custom buttons with translated string" into udc-qpr-dev
2023-06-14 16:13:48 +00:00
Brandon Dayauon
076dcdfd54
Fix custom buttons with translated string
...
The reason why the buttons aren't being updated with the translated string is because the cache the views get the string from is not updated/loaded with the new language.
Rather, the update happens after the view has been inflated. With this change, when the string cache updates in bindStringCache(), we update the UI right then.
bug: 280958663
test: Manual
Change-Id: I7a49ee401d5a5f3268cfaef1abee8153e913a8ce
2023-06-12 14:33:08 -07:00
Sunny Goyal
cda1842e7a
Merge "Removing all usage of LauncherProvider" into udc-qpr-dev
2023-06-07 22:03:48 +00:00
Sunny Goyal
7b9e28f152
Removing all usage of LauncherProvider
...
Also fixing a race condition in model when an item update/delete task
gets queued and executed after the model has reloaded (making the old
data obsolete)
Bug: 277345535
Bug: 263079498
Test: Presubmit
Flag: N/A
Change-Id: Ibd4bdbb3eece05b38b73a22a4be5f368df3754f0
2023-06-07 12:57:13 -07:00
Schneider Victor-tulias
19d085107a
Merge "Add null-check to findLastActiveTaskAndRunCallback" into udc-dev am: bfa0fae851 am: 396bb7c262
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23590296
Change-Id: Ifd444206ac34ba591bf2f6033bf6961fadb5425f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-07 18:21:17 +00:00
Schneider Victor-tulias
bfa0fae851
Merge "Add null-check to findLastActiveTaskAndRunCallback" into udc-dev
2023-06-07 16:49:20 +00:00
Schneider Victor-tulias
ab51f2110a
Add null-check to findLastActiveTaskAndRunCallback
...
ItemInfo.getTargetComponent is nullable, so we can't always create a ComponentKey. Added a null-check and proper creation of ComponentKeys
Flag: not needed
Fixes: 286053950
Test: started and completed splitscreen selection from home, taskbar and overview
Change-Id: Ifa30f194ae064fab8aad79c5116f8c859dfd8cf1
2023-06-06 11:02:09 -07:00
TreeHugger Robot
859d0d87e2
Merge "Simplifying some test utility methods" into udc-qpr-dev
2023-06-05 23:10:06 +00:00
Anushree Ganjam
1373c90087
Remove @WorkerThread annotation and Preconditions.assertWorkerThread check. am: f781ef81bf am: 82f0aaa1d5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23566433
Change-Id: Iddd70c0bfbe2dae1653d5a9e4348f4751841705f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-05 22:33:38 +00:00
Anushree Ganjam
f781ef81bf
Remove @WorkerThread annotation and Preconditions.assertWorkerThread check.
...
`BaseLauncherBinder.bindAllApps` and `BaseModelUpdateTask.bindApplicationsIfNeeded` can be called on both UI and Background thread.
Bug: 285711446
Test: Manual
Flags: NA
Change-Id: If6f6cce5f6e37fb21609aded8587afbdffda7545
2023-06-05 19:06:00 +00:00
Sunny Goyal
6773667e34
Revert "Revert "Adding main thread binder tracing in development..."
...
Revert submission 23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Reason for revert: Fixed broken build
Reverted changes: /q/submissionid:23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Change-Id: I3e130a780b8641c4a17a5cdf799513f2ba08b16e
2023-06-02 18:14:35 -07:00
TreeHugger Robot
3b7285f61c
Merge "Revert "Adding tracing for workspace loading that never finishes"" into udc-dev am: 4ad5ffd0a1 am: ef529447b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23537958
Change-Id: I774fa87ee58d684ab27114a68354ffd42538077c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 20:26:50 +00:00
TreeHugger Robot
4ad5ffd0a1
Merge "Revert "Adding tracing for workspace loading that never finishes"" into udc-dev
2023-06-02 18:59:47 +00:00
Vadim Tryshev
d8b470cf2f
Revert "Adding tracing for workspace loading that never finishes"
...
This reverts commit 80bb8a12da .
Reason for revert: Cleanup after the bug is fixed. Tracing is not necessary anymore.
Change-Id: I1bb2bc59dd5debb51b094f14430cd18a203ed33c
2023-06-02 15:28:18 +00:00
Sunny Goyal
ee9740462e
Simplifying some test utility methods
...
Bug: 283821111
Test: Presubmit
Flag: N/A
Change-Id: I7b9690bc0cc53d097d26cd4f0ab2dd36ba88e1cb
2023-06-02 13:30:55 +00:00
Santiago Aboy Solanes
0edac04688
Merge "Revert "Adding main thread binder tracing in development build."" into udc-qpr-dev
2023-06-02 09:06:26 +00:00
Santiago Aboy Solanes
ee846feb80
Revert "Adding main thread binder tracing in development build."
...
Revert submission 23482347-launcher-binder-tracing
Reason for revert: Broken Build 10242119 on git_master on errorprone b/285434612
Reverted changes: /q/submissionid:23482347-launcher-binder-tracing
Change-Id: Id9726474265e839a59d6eb34822e7a86d40f0fc9
2023-06-02 08:59:28 +00:00
Vinit Nayak
c2545b82cc
Merge "Add logs for launcher user cache" into udc-dev am: 43c79d23b3 am: d7037d07e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23523872
Change-Id: I5a512981f5776174f079dca8b81fc3e3fe069a83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 04:24:56 +00:00
Vinit Nayak
43c79d23b3
Merge "Add logs for launcher user cache" into udc-dev
2023-06-02 02:57:40 +00:00
Anushree Ganjam
87cb7ad06a
Merge "Add UID in AppInfo." into udc-dev am: 9b4f62e681 am: eb9cd7e26e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23331302
Change-Id: I2bfbbf5fd5ec777baca79d89c13204857e600f8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 01:46:38 +00:00
Vinit Nayak
134e429189
Add logs for launcher user cache
...
Bug: 243688989
Flag: None
Change-Id: I6f6ea3f3326c1814c2a50863e9bfbcb7e4323ae8
2023-06-01 17:11:42 -07:00
Anushree Ganjam
97434eea53
Add UID in AppInfo.
...
Create a reverse hashmap of PackageUserKey to Uid in AllAppsStore for
faster lookup of uid based on packageName and userHandle.
Log Uid in Impression Logging.
Bug: 282849559
Test: Manual. See various usecases documented in http://shortn/_UcvAYOmLIP
Flag: NA
Change-Id: I416426214f6b6efc45f7d4c0433bbbfca9056adf
2023-06-01 22:45:19 +00:00
Sunny Goyal
3db98b1152
Adding main thread binder tracing in development build.
...
> Unifying multiple binder tracing implementations
> Removing wallpaper customization check as it has been rolled out
few years ago, this avoids additional RPC to check for wallpaper
> Removing RaceConditionReproducer as it is not used anywhere and
is not integrated with this tracing anymore
Bug: 273718665
Test: Presubmit
Flag: N/A
Change-Id: I801af5d039a9d38d5d39e803723ec6da50a9d59f
2023-06-01 09:39:50 -07:00
TreeHugger Robot
7ae39b1bee
Merge "Add logs to see if launcher model isn't loaded when work profile app is added" into udc-dev am: 78b6e76486 am: dcf359c459
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23455279
Change-Id: I0409212df4be2e1554a6a489c65453d65e9e78c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 19:02:32 +00:00
TreeHugger Robot
78b6e76486
Merge "Add logs to see if launcher model isn't loaded when work profile app is added" into udc-dev
2023-05-30 17:26:53 +00:00
Vinit Nayak
2c353f29a2
Add logs to see if launcher model isn't loaded when work profile app is added
...
* Add helper method to avoid checking sDebugTracing when
logging for tests
Bug: 243688989
Flag: None
Change-Id: Id6cc3b286171eb598e593c5a8aaea6f2466aad60
2023-05-26 15:45:42 -07:00
Vadim Tryshev
ecbad7a0d9
Merge "Adding tracing for workspace loading that never finishes" into udc-dev am: 8cf338148b am: 304ecb6f24
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23414622
Change-Id: I0aedfb1de537ea8bf56ecc69a6920bf649b4b88d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-25 18:41:38 +00:00
vadimt
80bb8a12da
Adding tracing for workspace loading that never finishes
...
Test: presubmit
Bug: 267200150
Flag: N/A
Change-Id: I6cfe6be101412e9d8d9498fc06c70d1d14561441
2023-05-24 10:25:15 -07:00
Sunny Goyal
e274d97fe5
Removing support for lagacy shortcuts
...
> Addition/removal of shortcus is already removed. This just
cleans up the unused code path
Bug: 275875209
Test: Updated tests
Flag: N/A
Change-Id: I8ab7f57b693f996920e50e8beecafcffab5167e9
2023-05-17 09:20:45 -07:00
Stefan Andonian
9d7bffe37b
Fix NPE in LauncherPreviewRenderer.
...
The LauncherBinder is null in LauncherPreviewRenderer, which was
causing an NPE in LoaderTask.
Bug: 279347305
Test: Used logs to verify that the LauncherPreviewRenderer was actually
loading using the LoaderTask. Most of the time, it does not, so that is
why I didn't catch this before pushing it.
Change-Id: Ic5b45abfdeb73a4bbe1f521ae4d627b6cfcfec54
2023-05-15 22:41:04 +00:00
Sunny Goyal
7bc6cdee56
Revert "Revert "Revert "Revert "Revert "Revert "Changing GridMigrationTask to use ModelDbController directly""""""
...
This reverts commit 09905cfa90 .
Reason for revert: Fixed the crashing issue
Change-Id: Ibcfc28a89356d262e67e8842d6bae37e230a70f5
2023-05-13 01:59:19 -07:00
Vinit Nayak
88a91bbd16
Add logs to check which userId is used for workProfile matcher
...
Flag: none
Test: compiles
Bug: 243688989
Change-Id: I0a579203cc0c51f7707180b323ed4828f1dea297
2023-05-11 14:55:00 -07:00
Sunny Goyal
356aa61fe4
Merge "Revert "Revert "Revert "Changing GridMigrationTask to use ModelDbController directly"""" into udc-dev
2023-05-06 18:19:13 +00:00
Sunny Goyal
3772b246c2
Revert "Revert "Revert "Changing GridMigrationTask to use ModelDbController directly"""
...
This reverts commit 8d9e468dbb .
Reason for revert: b/281179368
Change-Id: Ibfc5329f72cdbcb37d01a8bf3dac2ba0724b9faf
2023-05-06 18:18:07 +00:00
Sunny Goyal
2185f6f420
Loading widget description on the background thread
...
Bug: 281074741
Test: Varified on device
Flag: N/A
Change-Id: I6b9b13e712534bdc582b98dbfb7bdfcc40d2f19d
2023-05-05 23:15:41 +00:00
Sunny Goyal
8d9e468dbb
Revert "Revert "Changing GridMigrationTask to use ModelDbController directly""
...
This reverts commit 30bb3a247a .
Reason for revert: Fixed original issue
Change-Id: I02d85d604631795d96f0379eb94b7b6789102ea9
2023-05-05 16:00:49 +00:00
Charlie Anderson
30bb3a247a
Revert "Changing GridMigrationTask to use ModelDbController directly"
...
This reverts commit 9ef41413e0 .
Reason for revert: This was the only launcher CL during the time b/280669657 and 280680602 occurred
Change-Id: Id7107f0935f84908ca87e1ae4c62ab05efe41a24
2023-05-04 15:19:58 +00:00
Sunny Goyal
9ef41413e0
Changing GridMigrationTask to use ModelDbController directly
...
instead of using content uris
Bug: 277345535
Test: Updated tests
Flag: Presubmit
Change-Id: Ib62db3334c01d9e7d27ae7b02ea703d046e2bcaa
2023-05-03 08:54:14 -07:00
Fengjiang Li
5a36c17a32
[1/n] Launcher Startup Latency: add StartupLatencyLogger to launcher3 and log startup latency
...
More details at "Log Startup Latency" section in go/launcher-startup-latency
Test: tested on phone, foldable and tablet, print latency logs in logcat
Bug: 278092752
Change-Id: Ibf269b0ecd6007d29b95e36f65ab6f02c45deb3a
2023-05-02 17:08:05 -07:00