soul-browser/app/smali_classes3/com/google/android/material/navigation/NavigationBarView.smali
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* 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>
2026-08-10 16:07:14 +02:00

997 lines
19 KiB
Smali

.class public abstract Lcom/google/android/material/navigation/NavigationBarView;
.super Landroid/widget/FrameLayout;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;,
Lcom/google/android/material/navigation/NavigationBarView$OnItemReselectedListener;,
Lcom/google/android/material/navigation/NavigationBarView$SavedState;,
Lcom/google/android/material/navigation/NavigationBarView$ItemIconGravity;,
Lcom/google/android/material/navigation/NavigationBarView$ItemGravity;,
Lcom/google/android/material/navigation/NavigationBarView$LabelVisibility;
}
.end annotation
# instance fields
.field public c:Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;
.field public f:Lcom/google/android/material/navigation/NavigationBarView$OnItemReselectedListener;
# direct methods
.method private getMenuInflater()Landroid/view/MenuInflater;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method private setMeasureBottomPaddingFromLabelBaseline(Z)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
# virtual methods
.method public getActiveIndicatorLabelPadding()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getCollapsedMaxItemCount()I
.locals 1
.annotation build Landroidx/annotation/RestrictTo;
.end annotation
.line 1
invoke-virtual {p0}, Lcom/google/android/material/navigation/NavigationBarView;->getMaxItemCount()I
.line 2
.line 3
.line 4
move-result v0
.line 5
return v0
.end method
.method public getHorizontalItemTextAppearanceActive()I
.locals 1
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getHorizontalItemTextAppearanceInactive()I
.locals 1
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getIconLabelHorizontalSpacing()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorColor()Landroid/content/res/ColorStateList;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorExpandedHeight()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorExpandedMarginHorizontal()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorExpandedWidth()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorHeight()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorMarginHorizontal()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorShapeAppearance()Lcom/google/android/material/shape/ShapeAppearanceModel;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemActiveIndicatorWidth()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemBackground()Landroid/graphics/drawable/Drawable;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemBackgroundResource()I
.locals 1
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemGravity()I
.locals 1
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemIconGravity()I
.locals 1
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemIconSize()I
.locals 1
.annotation build Landroidx/annotation/Dimension;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemIconTintList()Landroid/content/res/ColorStateList;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemPaddingBottom()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemPaddingTop()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemRippleColor()Landroid/content/res/ColorStateList;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemTextAppearanceActive()I
.locals 1
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemTextAppearanceInactive()I
.locals 1
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getItemTextColor()Landroid/content/res/ColorStateList;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getLabelVisibilityMode()I
.locals 1
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public abstract getMaxItemCount()I
.end method
.method public getMenu()Landroid/view/Menu;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public getMenuView()Landroidx/appcompat/view/menu/MenuView;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public getMenuViewGroup()Landroid/view/ViewGroup;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public getPresenter()Lcom/google/android/material/navigation/NavigationBarPresenter;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public getScaleLabelTextWithFont()Z
.locals 1
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public getSelectedItemId()I
.locals 1
.annotation build Landroidx/annotation/IdRes;
.end annotation
.line 1
const/4 v0, 0x0
.line 2
throw v0
.end method
.method public final onAttachedToWindow()V
.locals 0
.line 1
invoke-super {p0}, Landroid/widget/FrameLayout;->onAttachedToWindow()V
.line 2
.line 3
.line 4
invoke-static {p0}, Lcom/google/android/material/shape/MaterialShapeUtils;->d(Landroid/view/ViewGroup;)V
.line 5
.line 6
.line 7
return-void
.end method
.method public final onRestoreInstanceState(Landroid/os/Parcelable;)V
.locals 1
.line 1
instance-of v0, p1, Lcom/google/android/material/navigation/NavigationBarView$SavedState;
.line 2
.line 3
if-nez v0, :cond_0
.line 4
.line 5
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onRestoreInstanceState(Landroid/os/Parcelable;)V
.line 6
.line 7
.line 8
return-void
.line 9
:cond_0
check-cast p1, Lcom/google/android/material/navigation/NavigationBarView$SavedState;
.line 10
.line 11
iget-object p1, p1, Landroidx/customview/view/AbsSavedState;->c:Landroid/os/Parcelable;
.line 12
.line 13
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onRestoreInstanceState(Landroid/os/Parcelable;)V
.line 14
.line 15
.line 16
const/4 p1, 0x0
.line 17
throw p1
.end method
.method public final onSaveInstanceState()Landroid/os/Parcelable;
.locals 2
.line 1
invoke-super {p0}, Landroid/widget/FrameLayout;->onSaveInstanceState()Landroid/os/Parcelable;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
new-instance v1, Lcom/google/android/material/navigation/NavigationBarView$SavedState;
.line 6
.line 7
invoke-direct {v1, v0}, Landroidx/customview/view/AbsSavedState;-><init>(Landroid/os/Parcelable;)V
.line 8
.line 9
.line 10
new-instance v0, Landroid/os/Bundle;
.line 11
.line 12
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
.line 13
.line 14
.line 15
iput-object v0, v1, Lcom/google/android/material/navigation/NavigationBarView$SavedState;->g:Landroid/os/Bundle;
.line 16
.line 17
const/4 v0, 0x0
.line 18
throw v0
.end method
.method public setActiveIndicatorLabelPadding(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setElevation(F)V
.locals 0
.line 1
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setElevation(F)V
.line 2
.line 3
.line 4
invoke-static {p0, p1}, Lcom/google/android/material/shape/MaterialShapeUtils;->b(Landroid/view/ViewGroup;F)V
.line 5
.line 6
.line 7
return-void
.end method
.method public setHorizontalItemTextAppearanceActive(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setHorizontalItemTextAppearanceInactive(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setIconLabelHorizontalSpacing(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorColor(Landroid/content/res/ColorStateList;)V
.locals 0
.param p1 # Landroid/content/res/ColorStateList;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorEnabled(Z)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorExpandedHeight(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorExpandedMarginHorizontal(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorExpandedWidth(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorHeight(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorMarginHorizontal(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorShapeAppearance(Lcom/google/android/material/shape/ShapeAppearanceModel;)V
.locals 0
.param p1 # Lcom/google/android/material/shape/ShapeAppearanceModel;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemActiveIndicatorWidth(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemBackground(Landroid/graphics/drawable/Drawable;)V
.locals 0
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemBackgroundResource(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemGravity(I)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemIconGravity(I)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemIconSize(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Dimension;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemIconSizeRes(I)V
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/DimenRes;
.end annotation
.end param
.line 1
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
.line 6
.line 7
.line 8
move-result p1
.line 9
invoke-virtual {p0, p1}, Lcom/google/android/material/navigation/NavigationBarView;->setItemIconSize(I)V
.line 10
.line 11
.line 12
return-void
.end method
.method public setItemIconTintList(Landroid/content/res/ColorStateList;)V
.locals 0
.param p1 # Landroid/content/res/ColorStateList;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemPaddingBottom(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemPaddingTop(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemRippleColor(Landroid/content/res/ColorStateList;)V
.locals 0
.param p1 # Landroid/content/res/ColorStateList;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemTextAppearanceActive(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemTextAppearanceActiveBoldEnabled(Z)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemTextAppearanceInactive(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setItemTextColor(Landroid/content/res/ColorStateList;)V
.locals 0
.param p1 # Landroid/content/res/ColorStateList;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setLabelFontScalingEnabled(Z)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setLabelMaxLines(I)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setLabelVisibilityMode(I)V
.locals 0
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method
.method public setOnItemReselectedListener(Lcom/google/android/material/navigation/NavigationBarView$OnItemReselectedListener;)V
.locals 0
.param p1 # Lcom/google/android/material/navigation/NavigationBarView$OnItemReselectedListener;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
iput-object p1, p0, Lcom/google/android/material/navigation/NavigationBarView;->f:Lcom/google/android/material/navigation/NavigationBarView$OnItemReselectedListener;
.line 2
.line 3
return-void
.end method
.method public setOnItemSelectedListener(Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;)V
.locals 0
.param p1 # Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
iput-object p1, p0, Lcom/google/android/material/navigation/NavigationBarView;->c:Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;
.line 2
.line 3
return-void
.end method
.method public setSelectedItemId(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/IdRes;
.end annotation
.end param
.line 1
const/4 p1, 0x0
.line 2
throw p1
.end method