* 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>
330 lines
7.6 KiB
Java
330 lines
7.6 KiB
Java
package com.google.api.services.drive.model;
|
|
|
|
import com.google.api.client.json.GenericJson;
|
|
import com.google.api.client.util.Data;
|
|
import com.google.api.client.util.DateTime;
|
|
import com.google.api.client.util.Key;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class Permission extends GenericJson {
|
|
|
|
@Key
|
|
private Boolean allowFileDiscovery;
|
|
|
|
@Key
|
|
private Boolean deleted;
|
|
|
|
@Key
|
|
private String displayName;
|
|
|
|
@Key
|
|
private String domain;
|
|
|
|
@Key
|
|
private String emailAddress;
|
|
|
|
@Key
|
|
private DateTime expirationTime;
|
|
|
|
@Key
|
|
private String id;
|
|
|
|
@Key
|
|
private String kind;
|
|
|
|
@Key
|
|
private Boolean pendingOwner;
|
|
|
|
@Key
|
|
private List<PermissionDetails> permissionDetails;
|
|
|
|
@Key
|
|
private String photoLink;
|
|
|
|
@Key
|
|
private String role;
|
|
|
|
@Key
|
|
private List<TeamDrivePermissionDetails> teamDrivePermissionDetails;
|
|
|
|
@Key
|
|
private String type;
|
|
|
|
@Key
|
|
private String view;
|
|
|
|
static {
|
|
Data.nullOf(PermissionDetails.class);
|
|
Data.nullOf(TeamDrivePermissionDetails.class);
|
|
}
|
|
|
|
public Boolean getAllowFileDiscovery() {
|
|
return this.allowFileDiscovery;
|
|
}
|
|
|
|
public Boolean getDeleted() {
|
|
return this.deleted;
|
|
}
|
|
|
|
public String getDisplayName() {
|
|
return this.displayName;
|
|
}
|
|
|
|
public String getDomain() {
|
|
return this.domain;
|
|
}
|
|
|
|
public String getEmailAddress() {
|
|
return this.emailAddress;
|
|
}
|
|
|
|
public DateTime getExpirationTime() {
|
|
return this.expirationTime;
|
|
}
|
|
|
|
public String getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public String getKind() {
|
|
return this.kind;
|
|
}
|
|
|
|
public Boolean getPendingOwner() {
|
|
return this.pendingOwner;
|
|
}
|
|
|
|
public List<PermissionDetails> getPermissionDetails() {
|
|
return this.permissionDetails;
|
|
}
|
|
|
|
public String getPhotoLink() {
|
|
return this.photoLink;
|
|
}
|
|
|
|
public String getRole() {
|
|
return this.role;
|
|
}
|
|
|
|
public List<TeamDrivePermissionDetails> getTeamDrivePermissionDetails() {
|
|
return this.teamDrivePermissionDetails;
|
|
}
|
|
|
|
public String getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public String getView() {
|
|
return this.view;
|
|
}
|
|
|
|
public Permission setAllowFileDiscovery(Boolean bool) {
|
|
this.allowFileDiscovery = bool;
|
|
return this;
|
|
}
|
|
|
|
public Permission setDeleted(Boolean bool) {
|
|
this.deleted = bool;
|
|
return this;
|
|
}
|
|
|
|
public Permission setDisplayName(String str) {
|
|
this.displayName = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setDomain(String str) {
|
|
this.domain = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setEmailAddress(String str) {
|
|
this.emailAddress = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setExpirationTime(DateTime dateTime) {
|
|
this.expirationTime = dateTime;
|
|
return this;
|
|
}
|
|
|
|
public Permission setId(String str) {
|
|
this.id = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setKind(String str) {
|
|
this.kind = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setPendingOwner(Boolean bool) {
|
|
this.pendingOwner = bool;
|
|
return this;
|
|
}
|
|
|
|
public Permission setPermissionDetails(List<PermissionDetails> list) {
|
|
this.permissionDetails = list;
|
|
return this;
|
|
}
|
|
|
|
public Permission setPhotoLink(String str) {
|
|
this.photoLink = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setRole(String str) {
|
|
this.role = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setTeamDrivePermissionDetails(List<TeamDrivePermissionDetails> list) {
|
|
this.teamDrivePermissionDetails = list;
|
|
return this;
|
|
}
|
|
|
|
public Permission setType(String str) {
|
|
this.type = str;
|
|
return this;
|
|
}
|
|
|
|
public Permission setView(String str) {
|
|
this.view = str;
|
|
return this;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class PermissionDetails extends GenericJson {
|
|
|
|
@Key
|
|
private Boolean inherited;
|
|
|
|
@Key
|
|
private String inheritedFrom;
|
|
|
|
@Key
|
|
private String permissionType;
|
|
|
|
@Key
|
|
private String role;
|
|
|
|
public Boolean getInherited() {
|
|
return this.inherited;
|
|
}
|
|
|
|
public String getInheritedFrom() {
|
|
return this.inheritedFrom;
|
|
}
|
|
|
|
public String getPermissionType() {
|
|
return this.permissionType;
|
|
}
|
|
|
|
public String getRole() {
|
|
return this.role;
|
|
}
|
|
|
|
public PermissionDetails setInherited(Boolean bool) {
|
|
this.inherited = bool;
|
|
return this;
|
|
}
|
|
|
|
public PermissionDetails setInheritedFrom(String str) {
|
|
this.inheritedFrom = str;
|
|
return this;
|
|
}
|
|
|
|
public PermissionDetails setPermissionType(String str) {
|
|
this.permissionType = str;
|
|
return this;
|
|
}
|
|
|
|
public PermissionDetails setRole(String str) {
|
|
this.role = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData
|
|
public PermissionDetails set(String str, Object obj) {
|
|
return (PermissionDetails) super.set(str, obj);
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData, java.util.AbstractMap
|
|
public PermissionDetails clone() {
|
|
return (PermissionDetails) super.clone();
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class TeamDrivePermissionDetails extends GenericJson {
|
|
|
|
@Key
|
|
private Boolean inherited;
|
|
|
|
@Key
|
|
private String inheritedFrom;
|
|
|
|
@Key
|
|
private String role;
|
|
|
|
@Key
|
|
private String teamDrivePermissionType;
|
|
|
|
public Boolean getInherited() {
|
|
return this.inherited;
|
|
}
|
|
|
|
public String getInheritedFrom() {
|
|
return this.inheritedFrom;
|
|
}
|
|
|
|
public String getRole() {
|
|
return this.role;
|
|
}
|
|
|
|
public String getTeamDrivePermissionType() {
|
|
return this.teamDrivePermissionType;
|
|
}
|
|
|
|
public TeamDrivePermissionDetails setInherited(Boolean bool) {
|
|
this.inherited = bool;
|
|
return this;
|
|
}
|
|
|
|
public TeamDrivePermissionDetails setInheritedFrom(String str) {
|
|
this.inheritedFrom = str;
|
|
return this;
|
|
}
|
|
|
|
public TeamDrivePermissionDetails setRole(String str) {
|
|
this.role = str;
|
|
return this;
|
|
}
|
|
|
|
public TeamDrivePermissionDetails setTeamDrivePermissionType(String str) {
|
|
this.teamDrivePermissionType = str;
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData
|
|
public TeamDrivePermissionDetails set(String str, Object obj) {
|
|
return (TeamDrivePermissionDetails) super.set(str, obj);
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData, java.util.AbstractMap
|
|
public TeamDrivePermissionDetails clone() {
|
|
return (TeamDrivePermissionDetails) super.clone();
|
|
}
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData
|
|
public Permission set(String str, Object obj) {
|
|
return (Permission) super.set(str, obj);
|
|
}
|
|
|
|
@Override // com.google.api.client.json.GenericJson, com.google.api.client.util.GenericData, java.util.AbstractMap
|
|
public Permission clone() {
|
|
return (Permission) super.clone();
|
|
}
|
|
}
|