fix: app icon picker and banner hide on reload - #2867
Conversation
|
This comment has been minimized.
This comment has been minimized.
|
Preview Release for this, has been built. |
|
@greptile review |
|
@greptile elaborate on the p1 finding |
|
The P1 is about the ordering of the Android launcher-alias changes, not the picker UI itself.
The risk is that the alias loop can disable the currently active alias before enabling the replacement. That creates a transient state in which Android has no enabled
It will not necessarily reproduce on every device, and disabling an alias does not guarantee that Android kills the process. The concern is the unsupported intermediate component state and the device-dependent lifecycle/launcher reaction. The fact that The required invariant should be: there must always be at least one enabled launcher alias. The safest fix is to enable the replacement alias first, then disable the previous aliases (or retain a stable forwarding launcher activity that is never disabled). The regression test should switch icons repeatedly from an already-running app and verify that the app remains open/recoverable and that exactly one launcher alias is enabled afterward. |
No description provided.