Fixed Play store build

pull/209/head
M66B 2 years ago
parent 24f6c1b4ff
commit 298e750cb5

@ -21,6 +21,10 @@ package eu.faircode.email;
import android.content.Context; import android.content.Context;
import android.os.Bundle; import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import java.io.File; import java.io.File;
@ -38,4 +42,42 @@ public class VirusTotal {
static Bundle upload(Context context, File file, String apiKey, Runnable analyzing) { static Bundle upload(Context context, File file, String apiKey, Runnable analyzing) {
return null; return null;
} }
public static class ScanResult implements Parcelable {
public String name;
public String category;
ScanResult(String name, String category) {
this.name = name;
this.category = category;
}
protected ScanResult(Parcel in) {
name = in.readString();
category = in.readString();
}
@Override
public void writeToParcel(@NonNull Parcel parcel, int i) {
parcel.writeString(name);
parcel.writeString(category);
}
@Override
public int describeContents() {
return 0;
}
public static final Creator<ScanResult> CREATOR = new Creator<ScanResult>() {
@Override
public ScanResult createFromParcel(Parcel in) {
return new ScanResult(in);
}
@Override
public ScanResult[] newArray(int size) {
return new ScanResult[size];
}
};
}
} }

Loading…
Cancel
Save