summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/util/MainThreadInitializedObject.java
AgeCommit message (Collapse)Author
2021-08-31Revert "Revert "Migrating all model tests to Instrumentation tests""Sunny Goyal
This reverts commit 7a4a30d86d471e6c45adc2a9907efb27e9b1799b. Test: Presubmit Reason for revert: Fixing original bug Bug: 196825541 Change-Id: Id4b1eb24a89564d264266d305aebea52917dfcd9
2021-08-24Revert "Migrating all model tests to Instrumentation tests"Alex Chau
This reverts commit 455ba62b5db7a8415e0f250d62c30e9c24ebbb6b. Reason for revert: Breaks tests on all targets Bug: 196825541 Bug: 197570389 Change-Id: Ida6792a09c54dee46105b6b914a0dd1545bdf48d
2021-08-23Migrating all model tests to Instrumentation testsSunny Goyal
Bug: 196825541 Test: Presubmit Change-Id: Iebd46eb41eb46c187d569197f4b97b4fddc0f6f7
2020-07-17Updating some comments and variablesSunny Goyal
Change-Id: Ib3223c66e9ce187cebc6ce26a46b228f95787778
2020-02-21Render user's actual workspace in ThemePicker preview (Part 3)Tracy Zhou
go/grid-migration-preview With this change, we can see actual grid migration in wallpaper preview. The approach here: we use a tmp table (favorites_preview) here specifically for this preview (to write off the migration results), and load from this tmp table workspace items if migration is necessary and successful. Otherwise, we load from the current workspace. UPDATED: this change should be completely compatible with the new multi-db grid migration algorithm. Here is why 1. In LauncherPreviewRender#renderScreenShot, I added a check to decide which grid migration preview method we should call. Once v2 preview method is implemented, it should be integrated with other parts of this change perfectly (the reason will be mentioned below). 2. While we have multiple DBs, mOpenHelper in LauncherProvider always points to the current db we are using. Queries using CONTENT_URI is routed to whatever DB mOpenHelper points to, so it works perfectly to directly operate on CONTENT_URI even when we use multi-db underneath the hood. 3. With 1 and 2 mentioned, I believe in order for this preview change to support multi-db, we only need to implement the V2 grid migration algorithm. Because most of what we are doing in this change is wrapped in GridSizeMigrationTask, it's perfectly safeguarded. Bug: 144052839 Change-Id: Ie6d6048d77326f96546c8a180a7cd8f15b47e4c4
2019-10-14Unifying various tracing callsSunny Goyal
Change-Id: Iedf6662ad1d7281b850bdc43b3a1e373ce535ac6
2019-09-18Adding binder tracking support in testsWinson Chung
- Whitelist specific binder calls when handling touch during swipe up gestures - Only track binding for touch handling and certain launcher lifecycle changes for now Bug: 140246642 Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-08-20Moving various common executors to a single locationSunny Goyal
Change-Id: I44bca49b8adb6fa22c3b48d10f674e42c28d792c
2019-08-07Adding support for storing keywords in iconCacheSunny Goyal
Change-Id: I1183e63a6556ebfb3eee5df23d149e09728193a9
2019-04-23Adding support for showing predicted apps as a floating row in all-appsSunny Goyal
and overview Bug: 130053407 Change-Id: Idb93a0ba6cfea8406f75ab86d9e0acde2fc04b3a
2018-07-03Lazy loading LauncherAppStateSunny Goyal
Separating InvarantDeviceProfile out of LauncherAppState and creating LauncherAppState only when it is actually used Change-Id: I2ee55f53cae01f11203f94675bb5f70c65ad2b9d