Fix widgets on API 15
This commit is contained in:
parent
659ad2d817
commit
e9cdfd23c4
@ -58,7 +58,8 @@ public abstract class BaseWidget
|
|||||||
|
|
||||||
prefs = app.getComponent().getWidgetPreferences();
|
prefs = app.getComponent().getWidgetPreferences();
|
||||||
pendingIntentFactory = app.getComponent().getPendingIntentFactory();
|
pendingIntentFactory = app.getComponent().getPendingIntentFactory();
|
||||||
dimensions = new WidgetDimensions(0, 0, 0, 0);
|
dimensions = new WidgetDimensions(getDefaultWidth(), getDefaultHeight(),
|
||||||
|
getDefaultWidth(), getDefaultHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void delete()
|
public void delete()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user