mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Unifying widget cell requirement computations
Change-Id: I5b37ebdab5b3defe7d05926882a6587d4c9f1081
This commit is contained in:
@@ -119,7 +119,7 @@ public class LauncherAppWidgetHostView extends AppWidgetHostView {
|
||||
public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) {
|
||||
super.setAppWidget(appWidgetId, info);
|
||||
// We add necessary padding to the AppWidgetHostView
|
||||
Launcher.Padding padding = mLauncher.getPaddingForWidget(info);
|
||||
Launcher.Padding padding = mLauncher.getPaddingForWidget(info.provider);
|
||||
setPadding(padding.left, padding.top, padding.right, padding.bottom);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user