code: @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2)
      public static boolean hasPortraitScreenFeature(PackageManager manager) {
          return manager.hasSystemFeature(PackageManager.FEATURE_SCREEN_PORTRAIT);
      }
docs: Checks if the device has a portrait screen.
  @param manager the package manager.
  @return {@code true} if the device has a portrait screen.