Fengjiang Li 9b46c463ad [1/2] Fix resize frame showing at left top corner of workspace.
Some widget will show config activity and immediately dismiss it after user dropping widget onto workspace. This lead to 2 code paths triggered around same time:

1. Drop widget to workspace and show resize frame, after state is transitiion to NORMAL, show workspace
2. Close config activity and Launcher#onActivityResult, which triggers removing dropped widget and extract bitmap, then re-inflate another pending widget and show resize frame

Due to race condition between #1 and #2, we might remove the dropped widget first in #2, then show resize frame in #1 after workspace is transitione to NORMAL, leading showing resize frame at incorrect location

Next CL will fix the slight misalignment of resize frame with widget.

Bug: 331433240
Flag: NONE
Test: manual
Change-Id: Ie02f59b370271d517ed2e91b42d665f44a86095b
2024-04-04 12:41:47 -07:00
2023-12-07 13:04:23 -08:00
2024-01-23 15:55:40 -08:00
2019-11-25 20:24:07 +09:00
2024-03-22 15:45:32 -07:00
2024-03-26 12:12:34 +01:00
2023-10-20 10:09:12 -07:00
S
Description
No description provided
658 MiB
Languages
Java 57.2%
Kotlin 42.4%
AIDL 0.3%