code: public void reconstructWidgetViewAsIfPhoneWasRotated(int appWidgetId) {
      WidgetInfo widgetInfo = widgetInfos.get(appWidgetId);
      widgetInfo.view = createWidgetView(widgetInfo.layoutId);
      widgetInfo.lastRemoteViews.reapply(context, widgetInfo.view);
    }
docs: 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