content: package androidx.core.app;
  
  import android.content.res.Configuration;
  
  public final class PictureInPictureModeChangedInfo {
      private final boolean mIsInPictureInPictureMode;
      private final Configuration mNewConfig;
  
      public PictureInPictureModeChangedInfo(boolean isInPictureInPictureMode) {
          this.mIsInPictureInPictureMode = isInPictureInPictureMode;
          this.mNewConfig = null;
      }
  
      public PictureInPictureModeChangedInfo(boolean isInPictureInPictureMode, Configuration newConfig) {
          this.mIsInPictureInPictureMode = isInPictureInPictureMode;
          this.mNewConfig = newConfig;
      }
  
      public Configuration getNewConfig() {
          Configuration configuration = this.mNewConfig;
          if (configuration != null) {
              return configuration;
          }
          throw new IllegalStateException("PictureInPictureModeChangedInfo must be constructed with the constructor that takes a Configuration to call getNewConfig(). Are you running on an API 26 or higher device that makes this information available?");
      }
  
      public boolean isInPictureInPictureMode() {
          return this.mIsInPictureInPictureMode;
      }
  }
  