- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
1.3 KiB
Java
39 lines
1.3 KiB
Java
package androidx.core.app;
|
|
|
|
import android.content.res.Configuration;
|
|
import androidx.annotation.RequiresApi;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class MultiWindowModeChangedInfo {
|
|
private final boolean isInMultiWindowMode;
|
|
|
|
@RequiresApi(26)
|
|
private Configuration newConfiguration;
|
|
|
|
public final boolean isInMultiWindowMode() {
|
|
return this.isInMultiWindowMode;
|
|
}
|
|
|
|
public MultiWindowModeChangedInfo(boolean z) {
|
|
this.isInMultiWindowMode = z;
|
|
}
|
|
|
|
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
|
|
@RequiresApi(26)
|
|
public MultiWindowModeChangedInfo(boolean z, Configuration newConfig) {
|
|
this(z);
|
|
Intrinsics.checkNotNullParameter(newConfig, "newConfig");
|
|
this.newConfiguration = newConfig;
|
|
}
|
|
|
|
@RequiresApi(26)
|
|
public final Configuration getNewConfig() {
|
|
Configuration configuration = this.newConfiguration;
|
|
if (configuration != null) {
|
|
return configuration;
|
|
}
|
|
throw new IllegalStateException("MultiWindowModeChangedInfo must be constructed with the constructor that takes a Configuration to access the newConfig. Are you running on an API 26 or higher device that makes this information available?".toString());
|
|
}
|
|
}
|