* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
351 lines
8.3 KiB
Java
351 lines
8.3 KiB
Java
package com.google.api.services.drive.model;
|
|
|
|
import com.google.api.client.json.GenericJson;
|
|
import com.google.api.client.json.JsonString;
|
|
import com.google.api.client.util.Data;
|
|
import com.google.api.client.util.Key;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class About extends GenericJson {
|
|
|
|
@Key
|
|
private Boolean appInstalled;
|
|
|
|
@Key
|
|
private Boolean canCreateDrives;
|
|
|
|
@Key
|
|
private Boolean canCreateTeamDrives;
|
|
|
|
@Key
|
|
private List<DriveThemes> driveThemes;
|
|
|
|
@Key
|
|
private Map<String, List<String>> exportFormats;
|
|
|
|
@Key
|
|
private List<String> folderColorPalette;
|
|
|
|
@Key
|
|
private Map<String, List<String>> importFormats;
|
|
|
|
@Key
|
|
private String kind;
|
|
|
|
@JsonString
|
|
@Key
|
|
private Map<String, Long> maxImportSizes;
|
|
|
|
@JsonString
|
|
@Key
|
|
private Long maxUploadSize;
|
|
|
|
@Key
|
|
private StorageQuota storageQuota;
|
|
|
|
@Key
|
|
private List<TeamDriveThemes> teamDriveThemes;
|
|
|
|
@Key
|
|
private User user;
|
|
|
|
static {
|
|
Data.nullOf(DriveThemes.class);
|
|
Data.nullOf(TeamDriveThemes.class);
|
|
}
|
|
|
|
public Boolean getAppInstalled() {
|
|
return this.appInstalled;
|
|
}
|
|
|
|
public Boolean getCanCreateDrives() {
|
|
return this.canCreateDrives;
|
|
}
|
|
|
|
public Boolean getCanCreateTeamDrives() {
|
|
return this.canCreateTeamDrives;
|
|
}
|
|
|
|
public List<DriveThemes> getDriveThemes() {
|
|
return this.driveThemes;
|
|
}
|
|
|
|
public Map<String, List<String>> getExportFormats() {
|
|
return this.exportFormats;
|
|
}
|
|
|
|
public List<String> getFolderColorPalette() {
|
|
return this.folderColorPalette;
|
|
}
|
|
|
|
public Map<String, List<String>> getImportFormats() {
|
|
return this.importFormats;
|
|
}
|
|
|
|
public String getKind() {
|
|
return this.kind;
|
|
}
|
|
|
|
public Map<String, Long> getMaxImportSizes() {
|
|
return this.maxImportSizes;
|
|
}
|
|
|
|
public Long getMaxUploadSize() {
|
|
return this.maxUploadSize;
|
|
}
|
|
|
|
public StorageQuota getStorageQuota() {
|
|
return this.storageQuota;
|
|
}
|
|
|
|
public List<TeamDriveThemes> getTeamDriveThemes() {
|
|
return this.teamDriveThemes;
|
|
}
|
|
|
|
public User getUser() {
|
|
return this.user;
|
|
}
|
|
|
|
public About setAppInstalled(Boolean bool) {
|
|
this.appInstalled = bool;
|
|
return this;
|
|
}
|
|
|
|
public About setCanCreateDrives(Boolean bool) {
|
|
this.canCreateDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public About setCanCreateTeamDrives(Boolean bool) {
|
|
this.canCreateTeamDrives = bool;
|
|
return this;
|
|
}
|
|
|
|
public About setDriveThemes(List<DriveThemes> list) {
|
|
this.driveThemes = list;
|
|
return this;
|
|
}
|
|
|
|
public About setExportFormats(Map<String, List<String>> map) {
|
|
this.exportFormats = map;
|
|
return this;
|
|
}
|
|
|
|
public About setFolderColorPalette(List<String> list) {
|
|
this.folderColorPalette = list;
|
|
return this;
|
|
}
|
|
|
|
public About setImportFormats(Map<String, List<String>> map) {
|
|
this.importFormats = map;
|
|
return this;
|
|
}
|
|
|
|
public About setKind(String str) {
|
|
this.kind = str;
|
|
return this;
|
|
}
|
|
|
|
public About setMaxImportSizes(Map<String, Long> map) {
|
|
this.maxImportSizes = map;
|
|
return this;
|
|
}
|
|
|
|
public About setMaxUploadSize(Long l) {
|
|
this.maxUploadSize = l;
|
|
return this;
|
|
}
|
|
|
|
public About setStorageQuota(StorageQuota storageQuota) {
|
|
this.storageQuota = storageQuota;
|
|
return this;
|
|
}
|
|
|
|
public About setTeamDriveThemes(List<TeamDriveThemes> list) {
|
|
this.teamDriveThemes = list;
|
|
return this;
|
|
}
|
|
|
|
public About setUser(User user) {
|
|
this.user = user;
|
|
return this;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class DriveThemes extends GenericJson {
|
|
|
|
@Key
|
|
private String backgroundImageLink;
|
|
|
|
@Key
|
|
private String colorRgb;
|
|
|
|
@Key
|
|
private String id;
|
|
|
|
public String getBackgroundImageLink() {
|
|
return this.backgroundImageLink;
|
|
}
|
|
|
|
public String getColorRgb() {
|
|
return this.colorRgb;
|
|
}
|
|
|
|
public String getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public DriveThemes setBackgroundImageLink(String str) {
|
|
this.backgroundImageLink = str;
|
|
return this;
|
|
}
|
|
|
|
public DriveThemes setColorRgb(String str) {
|
|
this.colorRgb = str;
|
|
return this;
|
|
}
|
|
|
|
public DriveThemes setId(String str) {
|
|
this.id = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData
|
|
public DriveThemes set(String str, Object obj) {
|
|
return (DriveThemes) super.set(str, obj);
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData, java.util.AbstractMap
|
|
public DriveThemes clone() {
|
|
return (DriveThemes) super.clone();
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class StorageQuota extends GenericJson {
|
|
|
|
@JsonString
|
|
@Key
|
|
private Long limit;
|
|
|
|
@JsonString
|
|
@Key
|
|
private Long usage;
|
|
|
|
@JsonString
|
|
@Key
|
|
private Long usageInDrive;
|
|
|
|
@JsonString
|
|
@Key
|
|
private Long usageInDriveTrash;
|
|
|
|
public Long getLimit() {
|
|
return this.limit;
|
|
}
|
|
|
|
public Long getUsage() {
|
|
return this.usage;
|
|
}
|
|
|
|
public Long getUsageInDrive() {
|
|
return this.usageInDrive;
|
|
}
|
|
|
|
public Long getUsageInDriveTrash() {
|
|
return this.usageInDriveTrash;
|
|
}
|
|
|
|
public StorageQuota setLimit(Long l) {
|
|
this.limit = l;
|
|
return this;
|
|
}
|
|
|
|
public StorageQuota setUsage(Long l) {
|
|
this.usage = l;
|
|
return this;
|
|
}
|
|
|
|
public StorageQuota setUsageInDrive(Long l) {
|
|
this.usageInDrive = l;
|
|
return this;
|
|
}
|
|
|
|
public StorageQuota setUsageInDriveTrash(Long l) {
|
|
this.usageInDriveTrash = l;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData
|
|
public StorageQuota set(String str, Object obj) {
|
|
return (StorageQuota) super.set(str, obj);
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData, java.util.AbstractMap
|
|
public StorageQuota clone() {
|
|
return (StorageQuota) super.clone();
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class TeamDriveThemes extends GenericJson {
|
|
|
|
@Key
|
|
private String backgroundImageLink;
|
|
|
|
@Key
|
|
private String colorRgb;
|
|
|
|
@Key
|
|
private String id;
|
|
|
|
public String getBackgroundImageLink() {
|
|
return this.backgroundImageLink;
|
|
}
|
|
|
|
public String getColorRgb() {
|
|
return this.colorRgb;
|
|
}
|
|
|
|
public String getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public TeamDriveThemes setBackgroundImageLink(String str) {
|
|
this.backgroundImageLink = str;
|
|
return this;
|
|
}
|
|
|
|
public TeamDriveThemes setColorRgb(String str) {
|
|
this.colorRgb = str;
|
|
return this;
|
|
}
|
|
|
|
public TeamDriveThemes setId(String str) {
|
|
this.id = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData
|
|
public TeamDriveThemes set(String str, Object obj) {
|
|
return (TeamDriveThemes) super.set(str, obj);
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData, java.util.AbstractMap
|
|
public TeamDriveThemes clone() {
|
|
return (TeamDriveThemes) super.clone();
|
|
}
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData
|
|
public About set(String str, Object obj) {
|
|
return (About) super.set(str, obj);
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData, java.util.AbstractMap
|
|
public About clone() {
|
|
return (About) super.clone();
|
|
}
|
|
}
|