mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Fixing widget label not being rendered in multi-window mode
Bug: 73709754 Change-Id: Id6342e3412c2b247e052bc45c01a484422a7c011
This commit is contained in:
@@ -44,7 +44,8 @@ public class DeferredAppWidgetHostView extends LauncherAppWidgetHostView {
|
||||
mPaint = new TextPaint();
|
||||
mPaint.setColor(Color.WHITE);
|
||||
mPaint.setTextSize(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX,
|
||||
mLauncher.getDeviceProfile().iconTextSizePx, getResources().getDisplayMetrics()));
|
||||
mLauncher.getDeviceProfile().getFullScreenProfile().iconTextSizePx,
|
||||
getResources().getDisplayMetrics()));
|
||||
setBackgroundResource(R.drawable.bg_deferred_app_widget);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user