shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetManager.java
public void reconstructWidgetViewAsIfPhoneWasRotated(int appWidgetId) {
    WidgetInfo widgetInfo = widgetInfos.get(appWidgetId);
    widgetInfo.view = createWidgetView(widgetInfo.layoutId);
    widgetInfo.lastRemoteViews.reapply(context, widgetInfo.view);
  }
public void reconstructWidgetViewAsIfPhoneWasRotated(int appWidgetId) {
    WidgetInfo widgetInfo = widgetInfos.get(appWidgetId);
    widgetInfo.view = createWidgetView(widgetInfo.layoutId);
    widgetInfo.lastRemoteViews.reapply(context, widgetInfo.view);
  }
Triggers a reapplication of the most recent set of actions against the widget, which is what happens when the
phone is rotated. Does not attempt to simulate a change in screen geometry.

@param appWidgetId the ID of the widget to be affected