Unifying widget cell requirement computations
Change-Id: I5b37ebdab5b3defe7d05926882a6587d4c9f1081
This commit is contained in:
1 parent
5037a0b02a
commit
f814aa0f33
3 files changed
+28
-16
No files matched your search
@@ -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