Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
package androidx.webkit.internal;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.util.Objects;
import org.chromium.support_lib_boundary.WebMessagePayloadBoundaryInterface;
/* loaded from: classes.dex */
public class WebMessagePayloadAdapter implements WebMessagePayloadBoundaryInterface {
@Nullable
private final byte[] mArrayBuffer;
@Nullable
private final String mString;
private final int mType;
@Override // org.chromium.support_lib_boundary.FeatureFlagHolderBoundaryInterface
@NonNull
public String[] getSupportedFeatures() {
return new String[0];
}
@Override // org.chromium.support_lib_boundary.WebMessagePayloadBoundaryInterface
public int getType() {
return this.mType;
}
public WebMessagePayloadAdapter(@Nullable String str) {
this.mType = 0;
this.mString = str;
this.mArrayBuffer = null;
}
public WebMessagePayloadAdapter(@NonNull byte[] bArr) {
this.mType = 1;
this.mString = null;
this.mArrayBuffer = bArr;
}
@Override // org.chromium.support_lib_boundary.WebMessagePayloadBoundaryInterface
@Nullable
public String getAsString() {
checkType(0);
return this.mString;
}
@Override // org.chromium.support_lib_boundary.WebMessagePayloadBoundaryInterface
@NonNull
public byte[] getAsArrayBuffer() {
checkType(1);
byte[] bArr = this.mArrayBuffer;
Objects.requireNonNull(bArr);
return bArr;
}
private void checkType(int i) {
if (this.mType == i) {
return;
}
throw new IllegalStateException("Expected " + i + ", but type is " + this.mType);
}
}