Fix to ensure default widgets get size callbacks (issue 7287744)
Change-Id: I46b329db247a0b450493530ab619576c45418b01
This commit is contained in:
1 parent
28b3e10fde
commit
aaa5c21ee2
4 files changed
+21
-14
No files matched your search
@@ -1191,9 +1191,8 @@ public final class Launcher extends Activity
|
||||
|
||||
launcherInfo.hostView.setTag(launcherInfo);
|
||||
launcherInfo.hostView.setVisibility(View.VISIBLE);
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) {
|
||||
launcherInfo.notifyWidgetSizeChanged(this);
|
||||
}
|
||||
launcherInfo.notifyWidgetSizeChanged(this);
|
||||
|
||||
mWorkspace.addInScreen(launcherInfo.hostView, container, screen, cellXY[0], cellXY[1],
|
||||
launcherInfo.spanX, launcherInfo.spanY, isWorkspaceLocked());
|
||||
|
||||
|
||||
Reference in new issue
Block a user