commit | fb16517fea11051e37edbcd999b84c3a41b9eed7 | [log] [tgz] |
---|---|---|
author | Fengjiang Li <fengjial@google.com> | Mon Mar 04 15:36:08 2024 -0800 |
committer | Fengjiang Li <fengjial@google.com> | Tue Mar 05 14:49:09 2024 -0800 |
tree | 78667703f94ccf6d505dc012cf4268c40378fcda | |
parent | 544f6e228c05281bf545e7603855ccc38ed287dc [diff] |
[2/n] Avoid flicker to drop a widget that needs a config activity 1. Don't show background in PendingAppWidgetHostView if we are showing preview bitmap 2. Extract bitmap from DropView instead of LauncherAppHostView 3. Letterbox bitmap into PendingAppWidgetHostView's canvas if canvas has different aspect ratio Fix: 284236964 Flag: aconfig launcher.enable_add_app_widget_via_config_activity_v2 DISABLED Test: manual Change-Id: I76de215186b96ffe65c909b28155fb19ac90d4f1