Pun Butrach
2e76c99dad
fix: Conflict incoming changes from 15-dev
2026-01-10 20:49:12 +07:00
Pun Butrach
63db7f3218
revert: Don't update dependency to avoid cache invalidation and dagger (in)invalidation for now
...
Signed-off-by: Pun Butrach <pun.butrach@gmail.com >
2026-01-10 20:48:37 +07:00
Pun Butrach
11f7abcb66
chore: Cleanup, and hidden feature logged
...
Signed-off-by: Pun Butrach <pun.butrach@gmail.com >
2026-01-10 20:48:25 +07:00
Pun Butrach
7a5699e721
fix: A lot of stuff
2026-01-10 20:48:21 +07:00
Pun Butrach
0a446431eb
build: SNAPSHOT 0 (Draft)
2026-01-10 20:47:59 +07:00
Pun Butrach
b67168f737
Allocate insane memory just for CI
...
Signed-off-by: Pun Butrach <pun.butrach@gmail.com >
2026-01-10 20:46:44 +07:00
Pun Butrach
dd4a08be61
Merge tag 'android-16.0.0_r3' into 16-dev
...
Android 16.0.0 Release 3 (BP3A.250905.014)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com >
2026-01-10 20:46:04 +07:00
MrSluffy
11a4b09680
fixed: all app icons changes too when home icons is > 120
...
- Closes : #5943
2025-10-12 17:00:20 +08:00
Anushree Ganjam
59d5401f59
Move InstantAppResolver to Dagger.
...
Helps us to delete ResourceBasedOverride class.
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I9320e0309e2ae4370dcbf2f6f62d704712876bd5
2025-04-18 20:14:14 +00:00
Sunny Goyal
50884dadfe
Lazily loading theme icons
...
Theme icons are generated and stored in cache, but only loaded if requested in lookup flags
This allows to keep the memory usage low, but not loading theme icons for all the apps
Bug: 381897614
Flag: com.android.launcher3.extendible_theme_manager
Test: Updated tests
Change-Id: I494eab9c4f70670e6f5aeb864ed5287f6b9f1b9e
2025-03-31 13:07:03 -07:00
Charlie Anderson
19c4a92ebc
Avoid downgrading archived app icon when widget is restored and when apps are archived.
...
- Restored widget were requesting icons through iconcache, and overwriting the restored icon from restored db.
- Manually archiving icons would delete icon in cache, we should instead reuse the icon from when it was installed.
Bug: 399649982
Test: Manually performing restore with apps, widgets and shortcuts.
Flag: com.android.launcher3.restore_archived_app_icons_from_db
Change-Id: I4184af480f29eb3ef41173fe5edc5307f263d0b0
2025-03-19 21:28:37 -04:00
Sunny Goyal
362fa9e96a
Fixing model thread priority getting set to background while loading
...
Bug: 396250724
Flag: EXEMPT bugfix
Test: Manual
Change-Id: I587d6c64f75a4fd2b68c4e98c3b1cab30864879c
2025-02-21 16:02:03 -08:00
Sunny Goyal
7a38a45ca3
Merge "Moving LooperExecutor to kotlin" into main
2025-02-21 14:02:16 -08:00
Sunny Goyal
c9f697aeb5
Converting LauncherAppState to Dagger
...
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I336a233d2703c23a7e9065474bde471786886144
2025-02-20 19:13:49 -08:00
Sunny Goyal
4742d62285
Moving LooperExecutor to kotlin
...
> Will improve priority changes in a followup cl
Bug: 396250724
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ic9646e9b1b8faf80996f6e63159e8abbf00fc0b7
2025-02-20 18:58:33 -08:00
Sunny Goyal
01a976f210
Adding some source hints when generating theme icons
...
Bug: 381897614
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ief779bb04cd69372ec3acd4501e283f09de41b4d
2025-01-14 16:00:46 -08:00
Sunny Goyal
c2639e464f
Replacing some fixed lookup flags with specific constant flag
...
This would make it easier to customize flags used on desktop icons
Bug: 366237794
Flag: EXEMPT refactor
Test: atest CacheLookupFlagTest
Change-Id: I0f3f04ddbe73abea207a5b58a65714ff172b2726
2024-12-26 20:19:02 -08:00
Sunny Goyal
d5ad770d2c
Converting BaseIconCache to kotlin
...
Bug: 366237794
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ia191ed468eda24f910bba87221cf1f1714408a55
2024-12-24 21:27:33 -08:00
Sunny Goyal
18e480838a
Replacing all int lookup flags and boolean overrides with an object to make it easier to extend options
...
Bug: 381897614
Bug: 366237794
Flag: EXEMPT refactor
Test: atest CacheLookupFlagTest
Change-Id: Ic89d48dd1c5dc8b0a89b1898cd7b00d9c61d6513
2024-12-12 18:32:55 -08:00
MrSluffy
8079af097b
fixed java.lang.NoSuchFieldError: No instance field isArchived of type
2024-12-05 07:59:04 +08:00
Rafael de Moura Dev
c82e5d5de1
fix NoSuchFieldError ( #5041 )
2024-12-04 14:59:03 +08:00
MrSluffy
65c4fe9b32
fixed build
2024-11-03 18:45:48 +08:00
Sunny Goyal
43b01b9900
Cleaning up temporary interfaces which were created for refactoring
...
Bug: 366237794
Test: Presubmit
Flag: EXEMPT refactor
Change-Id: Ic2c69bcdde1429c787903c24f0e19ea26b91d314
2024-10-11 11:03:47 -07:00
Sunny Goyal
b619d2c297
Removing dependency on PackageInfo in IconCache
...
Bug: 363324203
Flag: EXEMPT bugfix
Test: atest IconCacheTest
atest IconCacheUpdateHandler
Change-Id: I85005ef1069960a17a0f3e7265749a8ef3004172
2024-10-08 04:09:54 +00:00
Sunny Goyal
e978f6cedb
Converting some caching logic booleans to lookup flags
...
Bug: 366237794
Test: atest IconCacheTest
Flag: EXEMPT refactor
Change-Id: I0d25996181954df22e1cb61596be0a2694ee7068
2024-10-01 17:59:48 +00:00
Sunny Goyal
f7c32a29fd
Requesting ApplicationInfo in cached object
...
Bug: 363324203
Test: Presubmit
Flag: EXEMPT refactor
Change-Id: I92f3d3ed8c267b895dc439ba1f01eb67d7f63965
2024-09-27 14:04:16 -07:00
Sunny Goyal
63c24aeacb
Merge "Updating IconProvider API to use a single API to load icons" into main
2024-09-27 19:43:54 +00:00
Sunny Goyal
a1cebfa0c0
Updating IconProvider API to use a single API to load icons
...
Bug: 366237794
Test: atest IconProviderTest
Flag: EXEMPT refactor, changes in underlying API
Change-Id: If8c6a4f13de7e7d262ee0b6d0c6897981f75e639
2024-09-26 22:13:11 -07:00
Sunny Goyal
6813d878ef
Converting various cache lookup option booleans to flags, so that it can
...
easily be extended
Bug: 366237794
Test: Presubmit
Flag: EXEMPT refactor, method signature change
Change-Id: I4c334d05c30bfd9eff61c3a01a6b74feb8012322
2024-09-26 13:29:27 -07:00
Sunny Goyal
fdc09f4a7c
Fixing package override is applied in all lookup options
...
Bug: 369205074
Test: Verified manually
Flag: com.android.launcher3.enable_support_for_archiving
Change-Id: If9fff32ca3574c4b367c3e149a72b2e63c18c3b4
2024-09-25 19:17:28 +00:00
Sunny Goyal
2a359916ca
Moving some utility class to IconCache to make it easier to use outside Launcher
...
Bug: 366237794
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: I7583ae162b652e73a33f1aee76714e292b707e39
2024-09-18 10:05:05 -07:00
MrSluffy
eeb7416bfe
Merge branch 'android15-release' into merge-aosp15
2024-09-14 17:29:57 +08:00
Kevin Lim
f284f45581
[IconCache] Override persistent log method for when BaseIconCache
...
retreived empty ApplicationInfo or default app icon
Bug: b/343233224
Flag: NONE logging change for investigation
Test: NONE logging change for investigation
Change-Id: I5cd586a4868486c540a0497e2130764d44577ee9
2024-05-31 18:53:11 +00:00
Charlie Anderson
d073ab0b39
Fix blank pink loading icons by ensuring that cache entry won't downgrade existing icon.
...
Bug: 326607598
Test: manually tested B&R
Flag: N/A
Change-Id: I8aac643ec5ca3162cd62bf1051cc751800c626dd
2024-05-13 13:55:15 -04:00
Shamali Patwa
1b8fcf4371
Merge "Revert "When getting a widget provider by name, check all categories"" into main
2024-04-18 22:14:29 +00:00
Shamali Patwa
7e5ed568b9
Revert "When getting a widget provider by name, check all categories"
...
This reverts commit 1f69351310 .
Reason for revert: Testing odd behavior between google app and pixel weather and duplicate items issue
Change-Id: If181aa3e86969e8821b7e1cc765c3801f04489d2
2024-04-18 18:16:38 +00:00
Sebastián Franco
f0c030380a
Merge "When getting a widget provider by name, check all categories" into main
2024-04-17 16:24:21 +00:00
Sebastian Franco
1f69351310
When getting a widget provider by name, check all categories
...
Some widgets have different categories for special cases for Pixel
widgets and because of that, some times we can't find the provider,
so we need to go through all of the categories.
Flag: NA
Test: Manaul testing =(
Test: All widgets in widget_section.xml with alsoKeepInApp set to false will previously dissapear on the preview.
Fix: 331628371
Change-Id: Iffbb788cbb27c79a215d06d21c9d623462d6f7e6
2024-04-15 19:21:21 -07:00
Andrew Cole
64dfdce2c1
Removing Shrink Adaptive Icons
...
This function is now obsolete and we can remove this and default to always shrinking non-adaptive (legacy) icons
Test: AllAppsSearchImageTest
Bug: 318867282
Flag: None
Change-Id: I1ba1566e362c55eb04871a7515fdc76fbc689d60
2024-04-11 20:28:10 +00:00
Song Chun Fan
e5ad96ce10
[Launcher/Archive] remove all checks for the archiving system property
...
No longer needed
Change-Id: I62c8843aa04a245d1dcc30f7787c71d17993f5d1
BUG: 331165939
Test: builds
2024-04-08 23:14:07 +00:00
Rohit Goyal
86a1b1abf5
Bugfixes: Handle session failure unarchival cases so that icon and title are accurate.
...
* Remove old package icon entry from IconCache in case of a session failure.
* Allow package entry to fallback to fallback state where missing icon & titles are filled using PackageManager.
* Re-bind archived application in all apps if an unarchival fails.
Test: verified bugfixes locally.
Bug: 326494527
Bug: 328314141
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving DEVELOPMENT
Merged-In: Ib132bece397001e9a14933c2f6d733a04a089ef9
Change-Id: Ib132bece397001e9a14933c2f6d733a04a089ef9
2024-03-15 12:14:43 +00:00
Rohit Goyal
b313ac7a30
Bugfix: Add null safety when accessing icon database for main activities for LoaderTask loadAllApps.
...
Test: verified bugfixes locally.
Bug: 329145005
Flag: NA
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3a6318ab5e2dee0b85c3270467477854301497a1 )
Merged-In: I9f3145390d0596e55229d7dda08a4a3034d75f31
Change-Id: I9f3145390d0596e55229d7dda08a4a3034d75f31
2024-03-13 10:52:29 +00:00
Sunny Goyal
72a74669e7
Adding support for async view inflation
...
Bug: 318539160
Test: atest AsyncBindingTest; atest ItemInflaterTest
Flag: aconfig enable_workspace_inflation DEVELOPMENT
Change-Id: I77a373db7a5805f68f4b8cbfa9b586b5674252de
2024-02-22 10:58:48 -08:00
Sunny Goyal
cc1dad0cae
Merging multiple implementations of CancellableTask
...
Bug: 318539160
Flag: None
Test: Manual
Change-Id: Ie855427c2676e0ce76655e4dd67472c0b5e435d8
2024-02-15 13:01:10 -08:00
Jakob Schneider
4f5b60169d
Version-2: Prioritize the session-provided icon & label for archived apps during unarchival in the iconCache.
...
* Also ensures that apps are sorted based on their actual name, so that
they don't jump around when "Pending.." switches to "Downloading.."
* In case of faillure during unarchival, icons shown are reverted to that of PM supplied ones.
New UI: http://recall/-/gMbThhDGagWFqnJTbQCqSz/fPuzxUuU7cGXCNdygMkXAB
Test: atest CacheDataUpdatedTaskTest.java and locally verified.
Bug: 319495216
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving TRUNKFOOD
Change-Id: I6410482706af900e273fdc6f7cf0b0692442364c
2024-02-09 13:55:41 +00:00
MrSluffy
32922a2e02
Fix conflicts
2024-01-08 16:03:01 +08:00
Goooler
20c884d972
Merge tag 'android-14.0.0_r21' into 14-dev-merge-launcher3
...
https://android.googlesource.com/platform/packages/apps/Launcher3/+/refs/tags/android-14.0.0_r21
Android 14.0.0 release 21
2024-01-08 14:45:36 +08:00
MrSluffy
32700b0100
Merge branch 'android14-release' into 14-dev
2023-12-13 18:47:55 +08:00
MrSluffy
19bf26dd5a
Merge branch 'aosp-13' into 13-wip
2023-10-21 09:52:01 +08:00
Sunny Goyal
41737b3e8b
Fixing icon cache thrashing due to an unsupported icon
...
Bug: 284032965
Test: Verified by reproducing the use case
Flag: N/A
Change-Id: I835dd545a01eb2fd7990e0fd5ad51bac0e4b1f33
2023-05-31 23:21:13 +00:00