* Restore MediaRouter cast button drawable frames. Apktool had left mr_button_* / cast_mr_button_* selectors as @null, so MediaRouteButton crashed when opening Cast settings or the in-browser cast control. Co-authored-by: Cursor <cursoragent@cursor.com> * Stub GMS SignInButton placeholder and drop its broken drawables. zaaa loaded common_google_signin_btn_* selectors that apktool had reduced to @null. Soul does not show Sign-In, so stub the placeholder styling and remove those drawables. Co-authored-by: Cursor <cursoragent@cursor.com> * Remove unused notification chrome drawables. notification_bg, notification_bg_low, and notification_tile_bg were apktool @null stubs with no app references. Drop the files and their public.xml / R$drawable entries. Co-authored-by: Cursor <cursoragent@cursor.com> * Restore Cast controller and notification icon drawables. Apktool left cast_ic_* / seekbar wrappers as @null while the quantum_ic_* and notification frame PNGs were still on disk. Point the wrappers at those assets again and restore the missing scrubber primary nine-patch. Co-authored-by: Cursor <cursoragent@cursor.com> * Track Cast icon bitmaps needed by restored wrappers. drawable-xhdpi-v4 is gitignored, so CI checkouts lacked the quantum_ic_* / cast notification frames the cast_ic_* XMLs reference. Keep copies under drawable-xxhdpi. Co-authored-by: Cursor <cursoragent@cursor.com> * Restore remaining MediaRouter dialog and route icons. mr_wifi_icon_*, mr_media_*, mr_dialog_close_*, and mr_vol_type_audiotrack_* were still @null after the cast-button fix. Rewire them to their ic_* frames and track those bitmaps under drawable-xxhdpi. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix ic_volume selector to use mute/unmute vectors. Fullscreen and video volume controls load ic_volume; apktool had left both states as @null even though ic_vol_mute and ic_vol_unmute were present. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix menu_icon_select multi-choice indicator drawables. listChoiceIndicatorMultiple pointed at a selector of @null frames. Use the existing ic_checked_checkbox / ic_unchecked_checkbox vectors. Co-authored-by: Cursor <cursoragent@cursor.com> * Restore AppCompat abc_* selectors broken by apktool @null. Check/radio/switch/seekbar/search-field/list-selector drawables pointed at missing frames. Restore upstream XML and track the required abc_* bitmaps under drawable-xxhdpi. Co-authored-by: Cursor <cursoragent@cursor.com> * Drop public.xml entries for removed Google Sign-In drawables. Apktool link failed on declared symbols with no resource definition after those drawables were deleted. Co-authored-by: Cursor <cursoragent@cursor.com> * Track ic_download baseline bitmaps under drawable-xxhdpi. The animation-list already referenced these frames, but they only lived in gitignored drawable-xhdpi-v4, so CI checkouts could not resolve them. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix MediaRouteChooserDialog crash from null route icon theme attrs. apktool left Theme.MediaRouter icon drawables as @null; RouteAdapter always loads them and crashes on resource ID 0. Co-authored-by: Cursor <cursoragent@cursor.com> * Restore Cast quantum_ic drawables for ExpandedControlsActivity. apktool dropped public.xml IDs for Cast framework quantum icons, so the toolbar home indicator (0x7f0804f4) resolved to nothing at runtime. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
125 lines
2.3 KiB
Smali
125 lines
2.3 KiB
Smali
.class public final Lcom/google/android/gms/common/internal/zaaa;
|
|
.super Landroid/widget/Button;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
.param p2 # Landroid/util/AttributeSet;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const/4 p2, 0x0
|
|
|
|
.line 2
|
|
const v0, 0x1010048
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {p0, p1, p2, v0}, Landroid/widget/Button;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final zab(IIII)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p1, 0x1
|
|
|
|
.line 4
|
|
if-eq p0, p1, :cond_1
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x2
|
|
|
|
.line 7
|
|
if-ne p0, p1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
return p3
|
|
|
|
.line 10
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object p2
|
|
|
|
.line 16
|
|
invoke-virtual {p2}, Ljava/lang/String;->length()I
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result p2
|
|
|
|
.line 20
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
.line 21
|
|
.line 22
|
|
add-int/lit8 p2, p2, 0x16
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-direct {p3, p2}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
const-string p2, "Unknown color scheme: "
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {p0, p2, p3}, Landroidx/work/impl/workers/a;->r(ILjava/lang/String;Ljava/lang/StringBuilder;)Ljava/lang/String;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object p0
|
|
|
|
.line 33
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
throw p1
|
|
|
|
.line 37
|
|
:cond_1
|
|
return p2
|
|
|
|
.line 38
|
|
:cond_2
|
|
return p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zaa(Landroid/content/res/Resources;II)V
|
|
.locals 0
|
|
|
|
# Stubbed: avoid loading broken common_google_signin_btn_* drawables.
|
|
return-void
|
|
.end method
|