导航菜单

页面标题

页面副标题

Kaspi.kz v5.85.1 - setExtraScales.java 源代码

正在查看: Kaspi.kz v5.85.1 应用的 setExtraScales.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package o;

import android.app.Notification;
import android.app.PendingIntent;
import android.app.Person;
import android.app.RemoteInput;
import android.content.Context;
import android.content.LocusId;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.Icon;
import android.media.AudioAttributes;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.SpannableStringBuilder;
import android.text.TextUtils;
import android.text.style.ForegroundColorSpan;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RemoteViews;
import android.widget.TextView;
import androidx.annotation.Nullable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import o.RuntimeExecutionException;
import o.getCode93MinCodeLength;

public class setExtraScales {
    public static final String ActivityResultRegistry1 = "android.declineColor";
    public static final String AudioAttributesCompatParcelizer = "progress";
    public static final String AudioAttributesImplApi21Parcelizer = "recommendation";
    public static final String AudioAttributesImplApi26Parcelizer = "promo";
    public static final String AudioAttributesImplBaseParcelizer = "missed_call";
    public static final int ComponentActivity2 = 1;
    public static final String ComponentActivity3 = "android.bigText";
    public static final String ComponentActivity4 = "android.audioContents";
    public static final String ComponentActivity6 = "android.callIsVideo";
    public static final String IconCompatParcelizer = "msg";
    public static final String ImmLeaksCleaner = "android.declineIntent";
    public static final String Keep = "android.infoText";
    public static final String MediaBrowserCompatCustomActionResultReceiver = "navigation";
    public static final String MediaBrowserCompatItemReceiver = "reminder";
    public static final String MediaBrowserCompatMediaItem = "status";
    public static final String MediaBrowserCompatSearchResultReceiver = "service";
    public static final String MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver = "sys";
    public static final String MediaDescriptionCompat = "social";
    public static final String MediaMetadataCompat = "stopwatch";
    public static final String MediaSessionCompatQueueItem = "voicemail";
    public static final String MediaSessionCompatResultReceiverWrapper = "transport";
    public static final int MediaSessionCompatToken = 0;
    public static final String NonNull = "android.mediaSession";
    public static final String Nullable = "android.isGroupConversation";
    public static final String OnBackPressedDispatcherLifecycleOnBackPressedCancellable = "android.hangUpIntent";
    public static final int ParcelableVolumeInfo = 4;
    public static final int PlaybackStateCompat = -1;
    public static final String PlaybackStateCompatCustomAction = "android.answerColor";
    public static final String RatingCompat = "workout";
    public static final String RemoteActionCompatParcelizer = "err";
    public static final String addContentView = "android.callPersonCompat";
    public static final String create = "android.intent.extra.NOTIFICATION_TAG";
    public static final String dismiss = "android.remoteInputHistory";
    public static final String dispatchKeyEvent = "android.progressIndeterminate";
    public static final String findViewById = "android.showBigPictureWhenCollapsed";
    public static final String getContext = "android.intent.extra.NOTIFICATION_ID";
    public static final String getDelegate = "android.progressMax";
    public static final String getLifecycle = "android.callPerson";
    public static final String getLifecycleRegistry = "android.answerIntent";
    public static final String getOnBackPressedDispatcher = "android.intent.extra.CHANNEL_ID";
    public static final String getOnBackPressedDispatcherannotations = "android.callType";
    public static final String getSavedStateRegistry = "android.chronometerCountDown";
    public static final String getSupportActionBar = "android.selfDisplayName";
    public static final String getThemeResId = "android.progress";
    public static final String initViewTreeOwners = "android.picture";
    public static final String initializeViewTreeOwners = "android.compactActions";
    public static final String invalidateOptionsMenu = "android.summaryText";
    public static final String onBackPressed = "android.colorized";
    public static final String onBackPressedDispatcherlambda1 = "android.intent.extra.CHANNEL_GROUP_ID";
    public static final String onCreate = "android.conversationTitle";
    public static final String onCreateDialog = "android.text";
    public static final String onSaveInstanceState = "androidx.core.app.extra.COMPAT_TEMPLATE";
    public static final String onStart = "android.hiddenConversationTitle";
    public static final String onStop = "android.messages.historic";
    public static final String onSupportActionModeFinished = "android.icon";
    public static final String onSupportActionModeStarted = "android.showWhen";
    public static final String onWindowStartingSupportActionMode = "android.showChronometer";
    public static final String r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI = "android.backgroundImageUri";
    public static final String read = "location_sharing";
    public static final int setActionBarHideOffset = 1;
    public static final int setActionBarVisibilityCallback = 1;
    public static final int setBackground = 1;
    public static final String setBackgroundResource = "android.pictureIcon";
    public static final String setCheckable = "android.textLines";
    public static final String setChecked = "android.title.big";
    public static final int setContentHeight = 4;
    public static final int setContentView = 2;
    public static final int setCustomView = 0;
    public static final String setElement = "email";
    public static final int setError = 0;
    public static final String setExpandedFormat = "android.verificationText";
    public static final int setFieldValue = 2;
    public static final int setForceShowIcon = 64;
    public static final int setGroupDividerEnabled = 512;
    public static final String setHasDecor = "android.messages";
    public static final int setHasNonEmbeddedTabs = 1;
    public static final String setHideOnContentScrollEnabled = "android.intent.category.NOTIFICATION_PREFERENCES";
    public static final int setIcon = 16;
    public static final String setItemInvoker = "android.verificationIcon";
    public static final String setLabel = "alarm";
    public static final int setLogo = 3;
    public static final String setMenu = "silent";
    private static final String setMenuCallbacks = "NotifCompat";
    public static final int setMenuPrepared = 0;
    public static final String setNegativeButton = "android.messagingStyleUser";
    public static final int setOnMenuItemClickListener = 1;
    public static final String setOptions = "call";
    public static final int setOverflowIcon = -1;
    public static final int setOverlayMode = -1;
    public static final String setPadding = "android.verificationIconCompat";
    public static final int setPopupCallback = 4096;

    @Deprecated
    public static final String setPositiveButton = "android.people";
    public static final int setPrimaryBackground = 2;
    public static final int setShortcut = 256;
    public static final int setShowingForActionMode = -1;
    public static final int setSplitBackground = 1;
    public static final int setStackedBackground = 8;
    public static final int setSubtitle = 2;
    public static final int setTabContainer = 32;
    public static final String setTitle = "android.pictureContentDescription";
    public static final int setTitleOptional = 2;
    public static final int setTransitioning = 0;
    public static final int setUiOptions = -2;
    public static final String setView = "android.people.list";

    @Deprecated
    public static final int setVisibility = 128;
    public static final int setWindowCallback = 0;
    public static final int setWindowTitle = 2;
    public static final String setupDialog = "android.title";
    public static final String superDispatchKeyEvent = "android.subText";
    public static final String supportRequestWindowFeature = "android.template";
    public static final String valueOf = "android.largeIcon.big";
    public static final String values = "android.largeIcon";
    public static final String write = "event";

    public static class AudioAttributesImplApi26Parcelizer {
        private static final int NonNull = 5120;
        boolean ActivityResultRegistry1;
        boolean AudioAttributesCompatParcelizer;
        PendingIntent AudioAttributesImplApi21Parcelizer;
        CharSequence AudioAttributesImplApi26Parcelizer;
        CharSequence AudioAttributesImplBaseParcelizer;
        boolean ComponentActivity2;

        @Deprecated
        public ArrayList<String> ComponentActivity3;
        int ComponentActivity4;
        public ArrayList<getCode93MinCodeLength> ComponentActivity6;
        String IconCompatParcelizer;
        int ImmLeaksCleaner;
        CharSequence MediaBrowserCompatCustomActionResultReceiver;
        RemoteViews MediaBrowserCompatItemReceiver;
        int MediaBrowserCompatMediaItem;
        public Context MediaBrowserCompatSearchResultReceiver;
        String MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver;
        Bundle MediaDescriptionCompat;
        PendingIntent MediaMetadataCompat;
        boolean MediaSessionCompatQueueItem;
        int MediaSessionCompatResultReceiverWrapper;
        ArrayList<setError> MediaSessionCompatToken;
        long OnBackPressedDispatcherLifecycleOnBackPressedCancellable;
        nativeIsProcessInBackground ParcelableVolumeInfo;
        androidx.core.graphics.drawable.IconCompat PlaybackStateCompat;
        Notification PlaybackStateCompatCustomAction;
        RemoteViews RatingCompat;
        boolean RemoteActionCompatParcelizer;
        CharSequence addContentView;
        int getLifecycle;
        boolean getLifecycleRegistry;
        Notification getOnBackPressedDispatcher;
        CharSequence[] getOnBackPressedDispatcherannotations;
        String getSavedStateRegistry;
        boolean initializeViewTreeOwners;
        MediaSessionCompatQueueItem onBackPressed;
        String onBackPressedDispatcherlambda1;
        boolean onCreate;
        Object onSaveInstanceState;
        RemoteViews onStart;
        CharSequence onStop;
        int r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI;
        int read;
        RemoteViews setBackground;
        int setContentView;
        String setElement;
        AudioAttributesImplApi21Parcelizer setError;
        boolean setFieldValue;
        public ArrayList<setError> setLabel;
        int setOptions;
        boolean write;

        public AudioAttributesImplApi26Parcelizer(@androidx.annotation.NonNull Context context, @androidx.annotation.NonNull Notification notification) {
            this(context, setExtraScales.RemoteActionCompatParcelizer(notification));
            ArrayList parcelableArrayList;
            Bundle bundle = notification.extras;
            MediaSessionCompatQueueItem background = MediaSessionCompatQueueItem.setBackground(notification);
            setError(setExtraScales.AudioAttributesImplApi26Parcelizer(notification)).setLabel(setExtraScales.IconCompatParcelizer(notification)).setFieldValue(setExtraScales.setElement(notification)).read(setExtraScales.setContentView(notification)).setBackground(setExtraScales.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver(notification)).setBackground(background).setError(setExtraScales.AudioAttributesImplBaseParcelizer(notification)).setFieldValue(setExtraScales.ComponentActivity6(notification)).setOptions(setExtraScales.MediaBrowserCompatMediaItem(notification)).setLabel(notification.when).setElement(setExtraScales.MediaSessionCompatQueueItem(notification)).MediaBrowserCompatCustomActionResultReceiver(setExtraScales.ComponentActivity2(notification)).setLabel(setExtraScales.setOptions(notification)).IconCompatParcelizer(setExtraScales.MediaBrowserCompatSearchResultReceiver(notification)).read(setExtraScales.MediaBrowserCompatItemReceiver(notification)).RemoteActionCompatParcelizer(setExtraScales.MediaDescriptionCompat(notification)).setOptions(notification.largeIcon).setLabel(setExtraScales.setFieldValue(notification)).setLabel(setExtraScales.write(notification)).setBackground(setExtraScales.setLabel(notification)).write(notification.number).IconCompatParcelizer(notification.tickerText).setBackground(notification.contentIntent).setError(notification.deleteIntent).setBackground(notification.fullScreenIntent, setExtraScales.AudioAttributesCompatParcelizer(notification)).setLabel(notification.sound, notification.audioStreamType).setOptions(notification.vibrate).setBackground(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOptions(notification.defaults).IconCompatParcelizer(notification.priority).setError(setExtraScales.read(notification)).read(setExtraScales.PlaybackStateCompat(notification)).setError(setExtraScales.MediaSessionCompatResultReceiverWrapper(notification)).setElement(setExtraScales.ParcelableVolumeInfo(notification)).setFieldValue(setExtraScales.PlaybackStateCompatCustomAction(notification)).setBackground(setExtraScales.RatingCompat(notification)).setLabel(bundle.getInt(setExtraScales.getDelegate), bundle.getInt(setExtraScales.getThemeResId), bundle.getBoolean(setExtraScales.dispatchKeyEvent)).setError(setExtraScales.setError(notification)).setError(notification.icon, notification.iconLevel).setFieldValue(setFieldValue(notification, background));
            this.onSaveInstanceState = setError.setOptions(notification);
            Icon error = setError.setError(notification);
            if (error != null) {
                this.PlaybackStateCompat = androidx.core.graphics.drawable.IconCompat.setLabel(error);
            }
            Notification.Action[] actionArr = notification.actions;
            if (actionArr != null && actionArr.length != 0) {
                for (Notification.Action action : actionArr) {
                    setLabel(setError.C0024setError.setBackground(action).setBackground());
                }
            }
            List<setError> MediaMetadataCompat = setExtraScales.MediaMetadataCompat(notification);
            if (!MediaMetadataCompat.isEmpty()) {
                Iterator<setError> it = MediaMetadataCompat.iterator();
                while (it.hasNext()) {
                    setFieldValue(it.next());
                }
            }
            String[] stringArray = notification.extras.getStringArray(setExtraScales.setPositiveButton);
            if (stringArray != null && stringArray.length != 0) {
                for (String str : stringArray) {
                    setOptions(str);
                }
            }
            if (Build.VERSION.SDK_INT >= 28 && (parcelableArrayList = notification.extras.getParcelableArrayList(setExtraScales.setView)) != null && !parcelableArrayList.isEmpty()) {
                Iterator it2 = parcelableArrayList.iterator();
                while (it2.hasNext()) {
                    setOptions(getCode93MinCodeLength.js_(setSkipProcessingIfBarcodeFound.iT_(it2.next())));
                }
            }
            if (bundle.containsKey(setExtraScales.getSavedStateRegistry)) {
                setBackground(bundle.getBoolean(setExtraScales.getSavedStateRegistry));
            }
            if (bundle.containsKey(setExtraScales.onBackPressed)) {
                setOptions(bundle.getBoolean(setExtraScales.onBackPressed));
            }
        }

        private static Bundle setFieldValue(@androidx.annotation.NonNull Notification notification, @Nullable MediaSessionCompatQueueItem mediaSessionCompatQueueItem) {
            if (notification.extras == null) {
                return null;
            }
            Bundle bundle = new Bundle(notification.extras);
            bundle.remove(setExtraScales.setupDialog);
            bundle.remove(setExtraScales.onCreateDialog);
            bundle.remove(setExtraScales.Keep);
            bundle.remove(setExtraScales.superDispatchKeyEvent);
            bundle.remove(setExtraScales.getOnBackPressedDispatcher);
            bundle.remove(setExtraScales.onBackPressedDispatcherlambda1);
            bundle.remove(setExtraScales.onSupportActionModeStarted);
            bundle.remove(setExtraScales.getThemeResId);
            bundle.remove(setExtraScales.getDelegate);
            bundle.remove(setExtraScales.dispatchKeyEvent);
            bundle.remove(setExtraScales.getSavedStateRegistry);
            bundle.remove(setExtraScales.onBackPressed);
            bundle.remove(setExtraScales.setView);
            bundle.remove(setExtraScales.setPositiveButton);
            bundle.remove("android.support.sortKey");
            bundle.remove("android.support.groupKey");
            bundle.remove("android.support.isGroupSummary");
            bundle.remove("android.support.localOnly");
            bundle.remove("android.support.actionExtras");
            Bundle bundle2 = bundle.getBundle("android.car.EXTENSIONS");
            if (bundle2 != null) {
                Bundle bundle3 = new Bundle(bundle2);
                bundle3.remove("invisible_actions");
                bundle.putBundle("android.car.EXTENSIONS", bundle3);
            }
            if (mediaSessionCompatQueueItem != null) {
                mediaSessionCompatQueueItem.setError(bundle);
            }
            return bundle;
        }

        public AudioAttributesImplApi26Parcelizer(@androidx.annotation.NonNull Context context, @androidx.annotation.NonNull String str) {
            this.setLabel = new ArrayList<>();
            this.ComponentActivity6 = new ArrayList<>();
            this.MediaSessionCompatToken = new ArrayList<>();
            this.initializeViewTreeOwners = true;
            this.ComponentActivity2 = false;
            this.read = 0;
            this.ImmLeaksCleaner = 0;
            this.setOptions = 0;
            this.MediaSessionCompatResultReceiverWrapper = 0;
            this.MediaBrowserCompatMediaItem = 0;
            Notification notification = new Notification();
            this.PlaybackStateCompatCustomAction = notification;
            this.MediaBrowserCompatSearchResultReceiver = context;
            this.IconCompatParcelizer = str;
            notification.when = System.currentTimeMillis();
            this.PlaybackStateCompatCustomAction.audioStreamType = -1;
            this.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI = 0;
            this.ComponentActivity3 = new ArrayList<>();
            this.setFieldValue = true;
        }

        @Deprecated
        public AudioAttributesImplApi26Parcelizer(@androidx.annotation.NonNull Context context) {
            this(context, (String) null);
        }

        public AudioAttributesImplApi26Parcelizer setLabel(long j) {
            this.PlaybackStateCompatCustomAction.when = j;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setElement(boolean z) {
            this.initializeViewTreeOwners = z;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(@androidx.annotation.NonNull androidx.core.graphics.drawable.IconCompat iconCompat) {
            this.onSaveInstanceState = iconCompat.setFieldValue(this.MediaBrowserCompatSearchResultReceiver);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer MediaBrowserCompatCustomActionResultReceiver(boolean z) {
            this.ActivityResultRegistry1 = z;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(boolean z) {
            this.RemoteActionCompatParcelizer = z;
            AudioAttributesImplApi26Parcelizer().putBoolean(setExtraScales.getSavedStateRegistry, z);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setElement(int i) {
            this.PlaybackStateCompatCustomAction.icon = i;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(int i, int i2) {
            Notification notification = this.PlaybackStateCompatCustomAction;
            notification.icon = i;
            notification.iconLevel = i2;
            return this;
        }

        @Deprecated
        public AudioAttributesImplApi26Parcelizer MediaBrowserCompatMediaItem() {
            this.onCreate = true;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer write(boolean z) {
            this.onCreate = z;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(@Nullable CharSequence charSequence) {
            this.AudioAttributesImplApi26Parcelizer = setOptions(charSequence);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(@Nullable CharSequence charSequence) {
            this.AudioAttributesImplBaseParcelizer = setOptions(charSequence);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer read(@Nullable CharSequence charSequence) {
            this.onStop = setOptions(charSequence);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable CharSequence charSequence) {
            this.addContentView = setOptions(charSequence);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable CharSequence[] charSequenceArr) {
            this.getOnBackPressedDispatcherannotations = charSequenceArr;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer write(int i) {
            this.setContentView = i;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(@Nullable CharSequence charSequence) {
            this.MediaBrowserCompatCustomActionResultReceiver = setOptions(charSequence);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(int i, int i2, boolean z) {
            this.getLifecycle = i;
            this.ComponentActivity4 = i2;
            this.getLifecycleRegistry = z;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(@Nullable RemoteViews remoteViews) {
            this.PlaybackStateCompatCustomAction.contentView = remoteViews;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable PendingIntent pendingIntent) {
            this.AudioAttributesImplApi21Parcelizer = pendingIntent;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(@Nullable PendingIntent pendingIntent) {
            this.PlaybackStateCompatCustomAction.deleteIntent = pendingIntent;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable PendingIntent pendingIntent, boolean z) {
            this.MediaMetadataCompat = pendingIntent;
            setLabel(128, z);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer IconCompatParcelizer(@Nullable CharSequence charSequence) {
            this.PlaybackStateCompatCustomAction.tickerText = setOptions(charSequence);
            return this;
        }

        @Deprecated
        public AudioAttributesImplApi26Parcelizer setError(@Nullable CharSequence charSequence, @Nullable RemoteViews remoteViews) {
            this.PlaybackStateCompatCustomAction.tickerText = setOptions(charSequence);
            this.onStart = remoteViews;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(@Nullable Bitmap bitmap) {
            this.PlaybackStateCompat = bitmap == null ? null : androidx.core.graphics.drawable.IconCompat.setFieldValue(setExtraScales.setBackground(this.MediaBrowserCompatSearchResultReceiver, bitmap));
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable Icon icon) {
            this.PlaybackStateCompat = icon == null ? null : androidx.core.graphics.drawable.IconCompat.setLabel(icon);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(@Nullable Uri uri) {
            Notification notification = this.PlaybackStateCompatCustomAction;
            notification.sound = uri;
            notification.audioStreamType = -1;
            AudioAttributes.Builder options = setBackground.setOptions(setBackground.setError(setBackground.setError(), 4), 5);
            this.PlaybackStateCompatCustomAction.audioAttributes = setBackground.setFieldValue(options);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(@Nullable Uri uri, int i) {
            Notification notification = this.PlaybackStateCompatCustomAction;
            notification.sound = uri;
            notification.audioStreamType = i;
            AudioAttributes.Builder label = setBackground.setLabel(setBackground.setError(setBackground.setError(), 4), i);
            this.PlaybackStateCompatCustomAction.audioAttributes = setBackground.setFieldValue(label);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(@Nullable long[] jArr) {
            this.PlaybackStateCompatCustomAction.vibrate = jArr;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@setExpandActivityOverflowButtonContentDescription int i, int i2, int i3) {
            Notification notification = this.PlaybackStateCompatCustomAction;
            notification.ledARGB = i;
            notification.ledOnMS = i2;
            notification.ledOffMS = i3;
            notification.flags = ((i2 == 0 || i3 == 0) ? 0 : 1) | (notification.flags & (-2));
            return this;
        }

        public AudioAttributesImplApi26Parcelizer read(boolean z) {
            setLabel(2, z);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(boolean z) {
            this.write = z;
            this.AudioAttributesCompatParcelizer = true;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer IconCompatParcelizer(boolean z) {
            setLabel(8, z);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(boolean z) {
            setLabel(16, z);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer RemoteActionCompatParcelizer(boolean z) {
            this.ComponentActivity2 = z;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(@Nullable String str) {
            this.setElement = str;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(int i) {
            Notification notification = this.PlaybackStateCompatCustomAction;
            notification.defaults = i;
            if ((i & 4) != 0) {
                notification.flags |= 1;
            }
            return this;
        }

        private void setLabel(int i, boolean z) {
            if (z) {
                Notification notification = this.PlaybackStateCompatCustomAction;
                notification.flags = i | notification.flags;
            } else {
                Notification notification2 = this.PlaybackStateCompatCustomAction;
                notification2.flags = (~i) & notification2.flags;
            }
        }

        public AudioAttributesImplApi26Parcelizer IconCompatParcelizer(int i) {
            this.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI = i;
            return this;
        }

        @Deprecated
        public AudioAttributesImplApi26Parcelizer setOptions(@Nullable String str) {
            if (str != null && !str.isEmpty()) {
                this.ComponentActivity3.add(str);
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(@Nullable getCode93MinCodeLength getcode93mincodelength) {
            if (getcode93mincodelength != null) {
                this.ComponentActivity6.add(getcode93mincodelength);
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue() {
            this.ComponentActivity6.clear();
            this.ComponentActivity3.clear();
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(@Nullable String str) {
            this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver = str;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(boolean z) {
            this.MediaSessionCompatQueueItem = z;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setElement(@Nullable String str) {
            this.getSavedStateRegistry = str;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(@Nullable Bundle bundle) {
            if (bundle != null) {
                Bundle bundle2 = this.MediaDescriptionCompat;
                if (bundle2 == null) {
                    this.MediaDescriptionCompat = new Bundle(bundle);
                } else {
                    bundle2.putAll(bundle);
                }
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(@Nullable Bundle bundle) {
            this.MediaDescriptionCompat = bundle;
            return this;
        }

        public Bundle AudioAttributesImplApi26Parcelizer() {
            if (this.MediaDescriptionCompat == null) {
                this.MediaDescriptionCompat = new Bundle();
            }
            return this.MediaDescriptionCompat;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(int i, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
            this.setLabel.add(new setError(i, charSequence, pendingIntent));
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(@Nullable setError seterror) {
            if (seterror != null) {
                this.setLabel.add(seterror);
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground() {
            this.setLabel.clear();
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(int i, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
            this.MediaSessionCompatToken.add(new setError(i, charSequence, pendingIntent));
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(@Nullable setError seterror) {
            if (seterror != null) {
                this.MediaSessionCompatToken.add(seterror);
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions() {
            this.MediaSessionCompatToken.clear();
            Bundle bundle = this.MediaDescriptionCompat.getBundle("android.car.EXTENSIONS");
            if (bundle != null) {
                Bundle bundle2 = new Bundle(bundle);
                bundle2.remove("invisible_actions");
                this.MediaDescriptionCompat.putBundle("android.car.EXTENSIONS", bundle2);
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable MediaSessionCompatQueueItem mediaSessionCompatQueueItem) {
            if (this.onBackPressed != mediaSessionCompatQueueItem) {
                this.onBackPressed = mediaSessionCompatQueueItem;
                if (mediaSessionCompatQueueItem != null) {
                    mediaSessionCompatQueueItem.setFieldValue(this);
                }
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(@setExpandActivityOverflowButtonContentDescription int i) {
            this.read = i;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer read(int i) {
            this.ImmLeaksCleaner = i;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(@Nullable Notification notification) {
            this.getOnBackPressedDispatcher = notification;
            return this;
        }

        private boolean MediaBrowserCompatItemReceiver() {
            MediaSessionCompatQueueItem mediaSessionCompatQueueItem = this.onBackPressed;
            return mediaSessionCompatQueueItem == null || !mediaSessionCompatQueueItem.setBackground();
        }

        public RemoteViews RemoteActionCompatParcelizer() {
            RemoteViews fieldValue;
            if (this.MediaBrowserCompatItemReceiver != null && MediaBrowserCompatItemReceiver()) {
                return this.MediaBrowserCompatItemReceiver;
            }
            getCode128MinCodeLength getcode128mincodelength = new getCode128MinCodeLength(this);
            MediaSessionCompatQueueItem mediaSessionCompatQueueItem = this.onBackPressed;
            return (mediaSessionCompatQueueItem == null || (fieldValue = mediaSessionCompatQueueItem.setFieldValue(getcode128mincodelength)) == null) ? setLabel.setFieldValue(setLabel.setBackground(this.MediaBrowserCompatSearchResultReceiver, getcode128mincodelength.setBackground())) : fieldValue;
        }

        public RemoteViews setError() {
            RemoteViews error;
            if (this.setBackground != null && MediaBrowserCompatItemReceiver()) {
                return this.setBackground;
            }
            getCode128MinCodeLength getcode128mincodelength = new getCode128MinCodeLength(this);
            MediaSessionCompatQueueItem mediaSessionCompatQueueItem = this.onBackPressed;
            return (mediaSessionCompatQueueItem == null || (error = mediaSessionCompatQueueItem.setError(getcode128mincodelength)) == null) ? setLabel.setError(setLabel.setBackground(this.MediaBrowserCompatSearchResultReceiver, getcode128mincodelength.setBackground())) : error;
        }

        public RemoteViews write() {
            RemoteViews background;
            if (this.RatingCompat != null && MediaBrowserCompatItemReceiver()) {
                return this.RatingCompat;
            }
            getCode128MinCodeLength getcode128mincodelength = new getCode128MinCodeLength(this);
            MediaSessionCompatQueueItem mediaSessionCompatQueueItem = this.onBackPressed;
            return (mediaSessionCompatQueueItem == null || (background = mediaSessionCompatQueueItem.setBackground(getcode128mincodelength)) == null) ? setLabel.setBackground(setLabel.setBackground(this.MediaBrowserCompatSearchResultReceiver, getcode128mincodelength.setBackground())) : background;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(@Nullable RemoteViews remoteViews) {
            this.MediaBrowserCompatItemReceiver = remoteViews;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable RemoteViews remoteViews) {
            this.setBackground = remoteViews;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(@Nullable RemoteViews remoteViews) {
            this.RatingCompat = remoteViews;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(@androidx.annotation.NonNull String str) {
            this.IconCompatParcelizer = str;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(long j) {
            this.OnBackPressedDispatcherLifecycleOnBackPressedCancellable = j;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable String str) {
            this.onBackPressedDispatcherlambda1 = str;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(@Nullable waitUntilIdle waituntilidle) {
            if (waituntilidle == null) {
                return this;
            }
            this.onBackPressedDispatcherlambda1 = waituntilidle.IconCompatParcelizer();
            if (this.ParcelableVolumeInfo == null) {
                if (waituntilidle.AudioAttributesImplBaseParcelizer() != null) {
                    this.ParcelableVolumeInfo = waituntilidle.AudioAttributesImplBaseParcelizer();
                } else if (waituntilidle.IconCompatParcelizer() != null) {
                    this.ParcelableVolumeInfo = new nativeIsProcessInBackground(waituntilidle.IconCompatParcelizer());
                }
            }
            if (this.AudioAttributesImplApi26Parcelizer == null) {
                setError(waituntilidle.MediaMetadataCompat());
            }
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setOptions(@Nullable nativeIsProcessInBackground nativeisprocessinbackground) {
            this.ParcelableVolumeInfo = nativeisprocessinbackground;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(int i) {
            this.setOptions = i;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(int i) {
            this.MediaSessionCompatResultReceiverWrapper = i;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setFieldValue(int i) {
            this.MediaBrowserCompatMediaItem = i;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setBackground(@Nullable AudioAttributesImplApi21Parcelizer audioAttributesImplApi21Parcelizer) {
            this.setError = audioAttributesImplApi21Parcelizer;
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setLabel(@androidx.annotation.NonNull MediaBrowserCompatItemReceiver mediaBrowserCompatItemReceiver) {
            mediaBrowserCompatItemReceiver.setLabel(this);
            return this;
        }

        public AudioAttributesImplApi26Parcelizer setError(boolean z) {
            this.setFieldValue = z;
            return this;
        }

        @Deprecated
        public Notification AudioAttributesImplBaseParcelizer() {
            return setLabel();
        }

        public Notification setLabel() {
            return new getCode128MinCodeLength(this).setBackground();
        }

        protected static CharSequence setOptions(@Nullable CharSequence charSequence) {
            return (charSequence != null && charSequence.length() > NonNull) ? charSequence.subSequence(0, NonNull) : charSequence;
        }

        public RemoteViews MediaBrowserCompatCustomActionResultReceiver() {
            return this.MediaBrowserCompatItemReceiver;
        }

        public RemoteViews IconCompatParcelizer() {
            return this.setBackground;
        }

        public RemoteViews AudioAttributesCompatParcelizer() {
            return this.RatingCompat;
        }

        public long MediaMetadataCompat() {
            if (this.initializeViewTreeOwners) {
                return this.PlaybackStateCompatCustomAction.when;
            }
            return 0L;
        }

        public int MediaDescriptionCompat() {
            return this.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI;
        }

        public int AudioAttributesImplApi21Parcelizer() {
            return this.MediaBrowserCompatMediaItem;
        }

        public int read() {
            return this.read;
        }

        public AudioAttributesImplApi21Parcelizer setElement() {
            return this.setError;
        }

        static class setBackground {
            private setBackground() {
            }

            static AudioAttributes.Builder setError() {
                return new AudioAttributes.Builder();
            }

            static AudioAttributes.Builder setError(AudioAttributes.Builder builder, int i) {
                return builder.setContentType(i);
            }

            static AudioAttributes.Builder setOptions(AudioAttributes.Builder builder, int i) {
                return builder.setUsage(i);
            }

            static AudioAttributes.Builder setLabel(AudioAttributes.Builder builder, int i) {
                return builder.setLegacyStreamType(i);
            }

            static AudioAttributes setFieldValue(AudioAttributes.Builder builder) {
                return builder.build();
            }
        }
    }

    public static abstract class MediaSessionCompatQueueItem {
        boolean read = false;
        public AudioAttributesImplApi26Parcelizer setElement;
        CharSequence setFieldValue;
        CharSequence write;

        private static float setError(float f, float f2, float f3) {
            return f < f2 ? f2 : f > f3 ? f3 : f;
        }

        public RemoteViews setBackground(getMinimumDetectedDimension getminimumdetecteddimension) {
            return null;
        }

        public boolean setBackground() {
            return false;
        }

        public RemoteViews setError(getMinimumDetectedDimension getminimumdetecteddimension) {
            return null;
        }

        protected String setError() {
            return null;
        }

        public RemoteViews setFieldValue(getMinimumDetectedDimension getminimumdetecteddimension) {
            return null;
        }

        public void setLabel(getMinimumDetectedDimension getminimumdetecteddimension) {
        }

        public void setFieldValue(@Nullable AudioAttributesImplApi26Parcelizer audioAttributesImplApi26Parcelizer) {
            if (this.setElement != audioAttributesImplApi26Parcelizer) {
                this.setElement = audioAttributesImplApi26Parcelizer;
                if (audioAttributesImplApi26Parcelizer != null) {
                    audioAttributesImplApi26Parcelizer.setBackground(this);
                }
            }
        }

        public Notification read() {
            AudioAttributesImplApi26Parcelizer audioAttributesImplApi26Parcelizer = this.setElement;
            if (audioAttributesImplApi26Parcelizer != null) {
                return audioAttributesImplApi26Parcelizer.setLabel();
            }
            return null;
        }

        public void a_(@androidx.annotation.NonNull Bundle bundle) {
            if (this.read) {
                bundle.putCharSequence(setExtraScales.invalidateOptionsMenu, this.write);
            }
            CharSequence charSequence = this.setFieldValue;
            if (charSequence != null) {
                bundle.putCharSequence(setExtraScales.setChecked, charSequence);
            }
            String error = setError();
            if (error != null) {
                bundle.putString(setExtraScales.onSaveInstanceState, error);
            }
        }

        protected void setOptions(@androidx.annotation.NonNull Bundle bundle) {
            if (bundle.containsKey(setExtraScales.invalidateOptionsMenu)) {
                this.write = bundle.getCharSequence(setExtraScales.invalidateOptionsMenu);
                this.read = true;
            }
            this.setFieldValue = bundle.getCharSequence(setExtraScales.setChecked);
        }

        protected void setError(@androidx.annotation.NonNull Bundle bundle) {
            bundle.remove(setExtraScales.invalidateOptionsMenu);
            bundle.remove(setExtraScales.setChecked);
            bundle.remove(setExtraScales.onSaveInstanceState);
        }

        public static MediaSessionCompatQueueItem setBackground(@androidx.annotation.NonNull Notification notification) {
            Bundle AudioAttributesImplApi21Parcelizer = setExtraScales.AudioAttributesImplApi21Parcelizer(notification);
            if (AudioAttributesImplApi21Parcelizer == null) {
                return null;
            }
            return setFieldValue(AudioAttributesImplApi21Parcelizer);
        }

        private static MediaSessionCompatQueueItem setBackground(@Nullable String str) {
            if (str == null) {
                return null;
            }
            if (str.equals(Notification.BigPictureStyle.class.getName())) {
                return new RemoteActionCompatParcelizer();
            }
            if (str.equals(Notification.BigTextStyle.class.getName())) {
                return new MediaBrowserCompatCustomActionResultReceiver();
            }
            if (str.equals(Notification.InboxStyle.class.getName())) {
                return new MediaDescriptionCompat();
            }
            if (str.equals(Notification.MessagingStyle.class.getName())) {
                return new MediaBrowserCompatSearchResultReceiver();
            }
            if (str.equals(Notification.DecoratedCustomViewStyle.class.getName())) {
                return new MediaMetadataCompat();
            }
            return null;
        }

        static MediaSessionCompatQueueItem setLabel(@Nullable String str) {
            char c;
            if (str == null) {
                return null;
            }
            switch (str.hashCode()) {
                case -716705180:
                    if (str.equals("androidx.core.app.NotificationCompat$DecoratedCustomViewStyle")) {
                        c = 0;
                        break;
                    }
                    c = 65535;
                    break;
                case -171946061:
                    if (str.equals("androidx.core.app.NotificationCompat$BigPictureStyle")) {
                        c = 1;
                        break;
                    }
                    c = 65535;
                    break;
                case 714386739:
                    if (str.equals("androidx.core.app.NotificationCompat$CallStyle")) {
                        c = 2;
                        break;
                    }
                    c = 65535;
                    break;
                case 912942987:
                    if (str.equals("androidx.core.app.NotificationCompat$InboxStyle")) {
                        c = 3;
                        break;
                    }
                    c = 65535;
                    break;
                case 919595044:
                    if (str.equals("androidx.core.app.NotificationCompat$BigTextStyle")) {
                        c = 4;
                        break;
                    }
                    c = 65535;
                    break;
                case 2090799565:
                    if (str.equals("androidx.core.app.NotificationCompat$MessagingStyle")) {
                        c = 5;
                        break;
                    }
                    c = 65535;
                    break;
                default:
                    c = 65535;
                    break;
            }
            if (c == 0) {
                return new MediaMetadataCompat();
            }
            if (c == 1) {
                return new RemoteActionCompatParcelizer();
            }
            if (c == 2) {
                return new AudioAttributesImplBaseParcelizer();
            }
            if (c == 3) {
                return new MediaDescriptionCompat();
            }
            if (c == 4) {
                return new MediaBrowserCompatCustomActionResultReceiver();
            }
            if (c != 5) {
                return null;
            }
            return new MediaBrowserCompatSearchResultReceiver();
        }

        static MediaSessionCompatQueueItem setBackground(@androidx.annotation.NonNull Bundle bundle) {
            MediaSessionCompatQueueItem label = setLabel(bundle.getString(setExtraScales.onSaveInstanceState));
            if (label != null) {
                return label;
            }
            if (bundle.containsKey(setExtraScales.getSupportActionBar) || bundle.containsKey(setExtraScales.setNegativeButton)) {
                return new MediaBrowserCompatSearchResultReceiver();
            }
            if (bundle.containsKey(setExtraScales.initViewTreeOwners) || bundle.containsKey(setExtraScales.setBackgroundResource)) {
                return new RemoteActionCompatParcelizer();
            }
            if (bundle.containsKey(setExtraScales.ComponentActivity3)) {
                return new MediaBrowserCompatCustomActionResultReceiver();
            }
            if (bundle.containsKey(setExtraScales.setCheckable)) {
                return new MediaDescriptionCompat();
            }
            if (bundle.containsKey(setExtraScales.getOnBackPressedDispatcherannotations)) {
                return new AudioAttributesImplBaseParcelizer();
            }
            return setBackground(bundle.getString(setExtraScales.supportRequestWindowFeature));
        }

        static MediaSessionCompatQueueItem setFieldValue(@androidx.annotation.NonNull Bundle bundle) {
            MediaSessionCompatQueueItem background = setBackground(bundle);
            if (background == null) {
                return null;
            }
            try {
                background.setOptions(bundle);
                return background;
            } catch (ClassCastException unused) {
                return null;
            }
        }

        public android.widget.RemoteViews setLabel(boolean r12, int r13, boolean r14) {
            throw new UnsupportedOperationException("Method not decompiled: o.setExtraScales.MediaSessionCompatQueueItem.setLabel(boolean, int, boolean):android.widget.RemoteViews");
        }

        public Bitmap setBackground(int i, int i2) {
            return setFieldValue(i, i2, 0);
        }

        Bitmap setBackground(@androidx.annotation.NonNull androidx.core.graphics.drawable.IconCompat iconCompat, int i) {
            return setFieldValue(iconCompat, i, 0);
        }

        private Bitmap setFieldValue(int i, int i2, int i3) {
            return setFieldValue(androidx.core.graphics.drawable.IconCompat.setBackground(this.setElement.MediaBrowserCompatSearchResultReceiver, i), i2, i3);
        }

        private Bitmap setFieldValue(@androidx.annotation.NonNull androidx.core.graphics.drawable.IconCompat iconCompat, int i, int i2) {
            Drawable error = iconCompat.setError(this.setElement.MediaBrowserCompatSearchResultReceiver);
            int intrinsicWidth = i2 == 0 ? error.getIntrinsicWidth() : i2;
            if (i2 == 0) {
                i2 = error.getIntrinsicHeight();
            }
            Bitmap createBitmap = Bitmap.createBitmap(intrinsicWidth, i2, Bitmap.Config.ARGB_8888);
            error.setBounds(0, 0, intrinsicWidth, i2);
            if (i != 0) {
                error.mutate().setColorFilter(new PorterDuffColorFilter(i, PorterDuff.Mode.SRC_IN));
            }
            error.draw(new Canvas(createBitmap));
            return createBitmap;
        }

        private Bitmap setBackground(int i, int i2, int i3, int i4) {
            int i5 = RuntimeExecutionException.setError.AudioAttributesImplApi21Parcelizer;
            if (i4 == 0) {
                i4 = 0;
            }
            Bitmap fieldValue = setFieldValue(i5, i4, i2);
            Canvas canvas = new Canvas(fieldValue);
            Drawable mutate = this.setElement.MediaBrowserCompatSearchResultReceiver.getResources().getDrawable(i).mutate();
            mutate.setFilterBitmap(true);
            int i6 = (i2 - i3) / 2;
            int i7 = i3 + i6;
            mutate.setBounds(i6, i6, i7, i7);
            mutate.setColorFilter(new PorterDuffColorFilter(-1, PorterDuff.Mode.SRC_ATOP));
            mutate.draw(canvas);
            return fieldValue;
        }

        public void setLabel(RemoteViews remoteViews, RemoteViews remoteViews2) {
            setLabel(remoteViews);
            remoteViews.removeAllViews(RuntimeExecutionException.setFieldValue.values);
            remoteViews.addView(RuntimeExecutionException.setFieldValue.values, remoteViews2.clone());
            remoteViews.setViewVisibility(RuntimeExecutionException.setFieldValue.values, 0);
            remoteViews.setViewPadding(RuntimeExecutionException.setFieldValue.NonNull, 0, setOptions(), 0, 0);
        }

        private void setLabel(RemoteViews remoteViews) {
            remoteViews.setViewVisibility(RuntimeExecutionException.setFieldValue.onWindowStartingSupportActionMode, 8);
            remoteViews.setViewVisibility(RuntimeExecutionException.setFieldValue.superDispatchKeyEvent, 8);
            remoteViews.setViewVisibility(RuntimeExecutionException.setFieldValue.invalidateOptionsMenu, 8);
        }

        private int setOptions() {
            Resources resources = this.setElement.MediaBrowserCompatSearchResultReceiver.getResources();
            int dimensionPixelSize = resources.getDimensionPixelSize(RuntimeExecutionException.setOptions.MediaSessionCompatToken);
            int dimensionPixelSize2 = resources.getDimensionPixelSize(RuntimeExecutionException.setOptions.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver);
            float error = (setError(resources.getConfiguration().fontScale, 1.0f, 1.3f) - 1.0f) / 0.29999995f;
            return Math.round(((1.0f - error) * dimensionPixelSize) + (error * dimensionPixelSize2));
        }
    }

    public static class MediaBrowserCompatCustomActionResultReceiver extends MediaSessionCompatQueueItem {
        private static final String setLabel = "androidx.core.app.NotificationCompat$BigTextStyle";
        private CharSequence setError;

        public MediaBrowserCompatCustomActionResultReceiver() {
        }

        public MediaBrowserCompatCustomActionResultReceiver(@Nullable AudioAttributesImplApi26Parcelizer audioAttributesImplApi26Parcelizer) {
            setFieldValue(audioAttributesImplApi26Parcelizer);
        }

        public MediaBrowserCompatCustomActionResultReceiver setFieldValue(@Nullable CharSequence charSequence) {
            this.setFieldValue = AudioAttributesImplApi26Parcelizer.setOptions(charSequence);
            return this;
        }

        public MediaBrowserCompatCustomActionResultReceiver setError(@Nullable CharSequence charSequence) {
            this.write = AudioAttributesImplApi26Parcelizer.setOptions(charSequence);
            this.read = true;
            return this;
        }

        public MediaBrowserCompatCustomActionResultReceiver setLabel(@Nullable CharSequence charSequence) {
            this.setError = AudioAttributesImplApi26Parcelizer.setOptions(charSequence);
            return this;
        }

        @Override
        protected String setError() {
            return setLabel;
        }

        @Override
        public void setLabel(getMinimumDetectedDimension getminimumdetecteddimension) {
            Notification.BigTextStyle bigText = new Notification.BigTextStyle(getminimumdetecteddimension.setOptions()).setBigContentTitle(this.setFieldValue).bigText(this.setError);
            if (this.read) {
                bigText.setSummaryText(this.write);
            }
        }

        @Override
        protected void setOptions(@androidx.annotation.NonNull Bundle bundle) {
            super.setOptions(bundle);
            this.setError = bundle.getCharSequence(setExtraScales.ComponentActivity3);
        }

        @Override
        public void a_(@androidx.annotation.NonNull Bundle bundle) {
            super.a_(bundle);
        }

        @Override
        protected void setError(@androidx.annotation.NonNull Bundle bundle) {
            super.setError(bundle);
            bundle.remove(setExtraScales.ComponentActivity3);
        }
    }

    public static class AudioAttributesImplBaseParcelizer extends MediaSessionCompatQueueItem {
        private static final String IconCompatParcelizer = "key_action_priority";
        private static final String RemoteActionCompatParcelizer = "androidx.core.app.NotificationCompat$CallStyle";
        public static final int setBackground = 1;
        public static final int setError = 0;
        public static final int setLabel = 2;
        public static final int setOptions = 3;
        private int AudioAttributesCompatParcelizer;
        private Integer AudioAttributesImplApi21Parcelizer;
        private PendingIntent AudioAttributesImplApi26Parcelizer;
        private Integer AudioAttributesImplBaseParcelizer;
        private PendingIntent MediaBrowserCompatCustomActionResultReceiver;
        private CharSequence MediaBrowserCompatItemReceiver;
        private getCode93MinCodeLength MediaBrowserCompatMediaItem;
        private boolean MediaBrowserCompatSearchResultReceiver;
        private PendingIntent MediaDescriptionCompat;
        private androidx.core.graphics.drawable.IconCompat MediaMetadataCompat;

        @Override
        public boolean setBackground() {
            return true;
        }

        public AudioAttributesImplBaseParcelizer() {
        }

        public AudioAttributesImplBaseParcelizer(@Nullable AudioAttributesImplApi26Parcelizer audioAttributesImplApi26Parcelizer) {
            setFieldValue(audioAttributesImplApi26Parcelizer);
        }

        public static AudioAttributesImplBaseParcelizer setError(@androidx.annotation.NonNull getCode93MinCodeLength getcode93mincodelength, @androidx.annotation.NonNull PendingIntent pendingIntent, @androidx.annotation.NonNull PendingIntent pendingIntent2) {
            Objects.requireNonNull(pendingIntent, "declineIntent is required");
            Objects.requireNonNull(pendingIntent2, "answerIntent is required");
            return new AudioAttributesImplBaseParcelizer(1, getcode93mincodelength, null, pendingIntent, pendingIntent2);
        }

        public static AudioAttributesImplBaseParcelizer setBackground(@androidx.annotation.NonNull getCode93MinCodeLength getcode93mincodelength, @androidx.annotation.NonNull PendingIntent pendingIntent) {
            Objects.requireNonNull(pendingIntent, "hangUpIntent is required");
            return new AudioAttributesImplBaseParcelizer(2, getcode93mincodelength, pendingIntent, null, null);
        }

        public static AudioAttributesImplBaseParcelizer setOptions(@androidx.annotation.NonNull getCode93MinCodeLength getcode93mincodelength, @androidx.annotation.NonNull PendingIntent pendingIntent, @androidx.annotation.NonNull PendingIntent pendingIntent2) {
            Objects.requireNonNull(pendingIntent, "hangUpIntent is required");
            Objects.requireNonNull(pendingIntent2, "answerIntent is required");
            return new AudioAttributesImplBaseParcelizer(3, getcode93mincodelength, pendingIntent, null, pendingIntent2);
        }

        private AudioAttributesImplBaseParcelizer(int i, @androidx.annotation.NonNull getCode93MinCodeLength getcode93mincodelength, @Nullable PendingIntent pendingIntent, @Nullable PendingIntent pendingIntent2, @Nullable PendingIntent pendingIntent3) {
            if (getcode93mincodelength == null || TextUtils.isEmpty(getcode93mincodelength.setError())) {
                throw new IllegalArgumentException("person must have a non-empty a name");
            }
            this.AudioAttributesCompatParcelizer = i;
            this.MediaBrowserCompatMediaItem = getcode93mincodelength;
            this.MediaBrowserCompatCustomActionResultReceiver = pendingIntent3;
            this.AudioAttributesImplApi26Parcelizer = pendingIntent2;
            this.MediaDescriptionCompat = pendingIntent;
        }

        public AudioAttributesImplBaseParcelizer setError(boolean z) {
            this.MediaBrowserCompatSearchResultReceiver = z;
            return this;
        }

        public AudioAttributesImplBaseParcelizer setOptions(@Nullable Icon icon) {
            this.MediaMetadataCompat = icon == null ? null : androidx.core.graphics.drawable.IconCompat.setLabel(icon);
            return this;
        }

        public AudioAttributesImplBaseParcelizer setFieldValue(@Nullable Bitmap bitmap) {
            this.MediaMetadataCompat = androidx.core.graphics.drawable.IconCompat.setFieldValue(bitmap);
            return this;
        }

        public AudioAttributesImplBaseParcelizer setError(@Nullable CharSequence charSequence) {
            this.MediaBrowserCompatItemReceiver = charSequence;
            return this;
        }

        public AudioAttributesImplBaseParcelizer setLabel(@setExpandActivityOverflowButtonContentDescription int i) {
            this.AudioAttributesImplBaseParcelizer = Integer.valueOf(i);
            return this;
        }

        public AudioAttributesImplBaseParcelizer setBackground(@setExpandActivityOverflowButtonContentDescription int i) {
            this.AudioAttributesImplApi21Parcelizer = Integer.valueOf(i);
            return this;
        }

        @Override
        protected void setOptions(@androidx.annotation.NonNull Bundle bundle) {
            super.setOptions(bundle);
            this.AudioAttributesCompatParcelizer = bundle.getInt(setExtraScales.getOnBackPressedDispatcherannotations);
            this.MediaBrowserCompatSearchResultReceiver = bundle.getBoolean(setExtraScales.ComponentActivity6);
            if (Build.VERSION.SDK_INT >= 28 && bundle.containsKey(setExtraScales.getLifecycle)) {
                this.MediaBrowserCompatMediaItem = getCode93MinCodeLength.js_(setSkipProcessingIfBarcodeFound.iT_(bundle.getParcelable(setExtraScales.getLifecycle)));
            } else if (bundle.containsKey(setExtraScales.addContentView)) {
                this.MediaBrowserCompatMediaItem = getCode93MinCodeLength.setLabel(bundle.getBundle(setExtraScales.addContentView));
            }
            if (bundle.containsKey(setExtraScales.setItemInvoker)) {
                this.MediaMetadataCompat = androidx.core.graphics.drawable.IconCompat.setLabel((Icon) bundle.getParcelable(setExtraScales.setItemInvoker));
            } else if (bundle.containsKey(setExtraScales.setPadding)) {
                this.MediaMetadataCompat = androidx.core.graphics.drawable.IconCompat.setError(bundle.getBundle(setExtraScales.setPadding));
            }
            this.MediaBrowserCompatItemReceiver = bundle.getCharSequence(setExtraScales.setExpandedFormat);
            this.MediaBrowserCompatCustomActionResultReceiver = (PendingIntent) bundle.getParcelable(setExtraScales.getLifecycleRegistry);
            this.AudioAttributesImplApi26Parcelizer = (PendingIntent) bundle.getParcelable(setExtraScales.ImmLeaksCleaner);
            this.MediaDescriptionCompat = (PendingIntent) bundle.getParcelable(setExtraScales.OnBackPressedDispatcherLifecycleOnBackPressedCancellable);
            this.AudioAttributesImplBaseParcelizer = bundle.containsKey(setExtraScales.PlaybackStateCompatCustomAction) ? Integer.valueOf(bundle.getInt(setExtraScales.PlaybackStateCompatCustomAction)) : null;
            this.AudioAttributesImplApi21Parcelizer = bundle.containsKey(setExtraScales.ActivityResultRegistry1) ? Integer.valueOf(bundle.getInt(setExtraScales.ActivityResultRegistry1)) : null;
        }

        @Override
        public void a_(@androidx.annotation.NonNull Bundle bundle) {
            super.a_(bundle);
            bundle.putInt(setExtraScales.getOnBackPressedDispatcherannotations, this.AudioAttributesCompatParcelizer);
            bundle.putBoolean(setExtraScales.ComponentActivity6, this.MediaBrowserCompatSearchResultReceiver);
            getCode93MinCodeLength getcode93mincodelength = this.MediaBrowserCompatMediaItem;
            if (getcode93mincodelength != null) {
                if (Build.VERSION.SDK_INT >= 28) {
                    bundle.putParcelable(setExtraScales.getLifecycle, setFieldValue.je_(getcode93mincodelength.jt_()));
                } else {
                    bundle.putParcelable(setExtraScales.addContentView, getcode93mincodelength.write());
                }
            }
            androidx.core.graphics.drawable.IconCompat iconCompat = this.MediaMetadataCompat;
            if (iconCompat != null) {
                bundle.putParcelable(setExtraScales.setItemInvoker, setLabel.setError(iconCompat.setFieldValue(this.setElement.MediaBrowserCompatSearchResultReceiver)));
            }
            bundle.putCharSequence(setExtraScales.setExpandedFormat, this.MediaBrowserCompatItemReceiver);
            bundle.putParcelable(setExtraScales.getLifecycleRegistry, this.MediaBrowserCompatCustomActionResultReceiver);
            bundle.putParcelable(setExtraScales.ImmLeaksCleaner, this.AudioAttributesImplApi26Parcelizer);
            bundle.putParcelable(setExtraScales.OnBackPressedDispatcherLifecycleOnBackPressedCancellable, this.MediaDescriptionCompat);
            Integer num = this.AudioAttributesImplBaseParcelizer;
            if (num != null) {
                bundle.putInt(setExtraScales.PlaybackStateCompatCustomAction, num.intValue());
            }
            Integer num2 = this.AudioAttributesImplApi21Parcelizer;
            if (num2 != null) {
                bundle.putInt(setExtraScales.ActivityResultRegistry1, num2.intValue());
            }
        }

        @Override
        protected String setError() {
            return RemoteActionCompatParcelizer;
        }

        @Override
        public void setLabel(getMinimumDetectedDimension getminimumdetecteddimension) {
            int i = Build.VERSION.SDK_INT;
            CharSequence charSequence = null;
            r2 = null;
            Notification.CallStyle jf_ = null;
            charSequence = null;
            if (i >= 31) {
                int i2 = this.AudioAttributesCompatParcelizer;
                if (i2 == 1) {
                    jf_ = IconCompatParcelizer.jf_(this.MediaBrowserCompatMediaItem.jt_(), this.AudioAttributesImplApi26Parcelizer, this.MediaBrowserCompatCustomActionResultReceiver);
                } else if (i2 == 2) {
                    jf_ = IconCompatParcelizer.jg_(this.MediaBrowserCompatMediaItem.jt_(), this.MediaDescriptionCompat);
                } else if (i2 == 3) {
                    jf_ = IconCompatParcelizer.jh_(this.MediaBrowserCompatMediaItem.jt_(), this.MediaDescriptionCompat, this.MediaBrowserCompatCustomActionResultReceiver);
                } else if (Log.isLoggable(setExtraScales.setMenuCallbacks, 3)) {
                    Log.d(setExtraScales.setMenuCallbacks, "Unrecognized call type in CallStyle: " + String.valueOf(this.AudioAttributesCompatParcelizer));
                }
                if (jf_ != null) {
                    jf_.setBuilder(getminimumdetecteddimension.setOptions());
                    Integer num = this.AudioAttributesImplBaseParcelizer;
                    if (num != null) {
                        IconCompatParcelizer.ji_(jf_, num.intValue());
                    }
                    Integer num2 = this.AudioAttributesImplApi21Parcelizer;
                    if (num2 != null) {
                        IconCompatParcelizer.jj_(jf_, num2.intValue());
                    }
                    IconCompatParcelizer.jm_(jf_, this.MediaBrowserCompatItemReceiver);
                    androidx.core.graphics.drawable.IconCompat iconCompat = this.MediaMetadataCompat;
                    if (iconCompat != null) {
                        IconCompatParcelizer.jl_(jf_, iconCompat.setFieldValue(this.setElement.MediaBrowserCompatSearchResultReceiver));
                    }
                    IconCompatParcelizer.jk_(jf_, this.MediaBrowserCompatSearchResultReceiver);
                    return;
                }
                return;
            }
            Notification.Builder options = getminimumdetecteddimension.setOptions();
            getCode93MinCodeLength getcode93mincodelength = this.MediaBrowserCompatMediaItem;
            options.setContentTitle(getcode93mincodelength != null ? getcode93mincodelength.setError() : null);
            Bundle bundle = this.setElement.MediaDescriptionCompat;
            if (bundle != null && bundle.containsKey(setExtraScales.onCreateDialog)) {
                charSequence = this.setElement.MediaDescriptionCompat.getCharSequence(setExtraScales.onCreateDialog);
            }
            if (charSequence == null) {
                charSequence = setOptions();
            }
            options.setContentText(charSequence);
            getCode93MinCodeLength getcode93mincodelength2 = this.MediaBrowserCompatMediaItem;
            if (getcode93mincodelength2 != null) {
                if (getcode93mincodelength2.setLabel() != null) {
                    setLabel.setError(options, this.MediaBrowserCompatMediaItem.setLabel().setFieldValue(this.setElement.MediaBrowserCompatSearchResultReceiver));
                }
                if (i >= 28) {
                    setFieldValue.jd_(options, this.MediaBrowserCompatMediaItem.jt_());
                } else {
                    setBackground.setOptions(options, this.MediaBrowserCompatMediaItem.setFieldValue());
                }
            }
            setBackground.setBackground(options, setExtraScales.setOptions);
        }

        private String setOptions() {
            int i = this.AudioAttributesCompatParcelizer;
            if (i == 1) {
                return this.setElement.MediaBrowserCompatSearchResultReceiver.getResources().getString(RuntimeExecutionException.IconCompatParcelizer.setLabel);
            }
            if (i == 2) {
                return this.setElement.MediaBrowserCompatSearchResultReceiver.getResources().getString(RuntimeExecutionException.IconCompatParcelizer.setElement);
            }
            if (i != 3) {
                return null;
            }
            return this.setElement.MediaBrowserCompatSearchResultReceiver.getResources().getString(RuntimeExecutionException.IconCompatParcelizer.RemoteActionCompatParcelizer);
        }

        private setError write() {
            int i = RuntimeExecutionException.setError.setBackground;
            PendingIntent pendingIntent = this.AudioAttributesImplApi26Parcelizer;
            if (pendingIntent == null) {
                return setOptions(i, RuntimeExecutionException.IconCompatParcelizer.setFieldValue, this.AudioAttributesImplApi21Parcelizer, RuntimeExecutionException.setBackground.setLabel, this.MediaDescriptionCompat);
            }
            return setOptions(i, RuntimeExecutionException.IconCompatParcelizer.setBackground, this.AudioAttributesImplApi21Parcelizer, RuntimeExecutionException.setBackground.setLabel, pendingIntent);
        }

        private setError setLabel() {
            int i;
            int i2 = RuntimeExecutionException.setError.setOptions;
            int i3 = RuntimeExecutionException.setError.setLabel;
            PendingIntent pendingIntent = this.MediaBrowserCompatCustomActionResultReceiver;
            if (pendingIntent == null) {
                return null;
            }
            boolean z = this.MediaBrowserCompatSearchResultReceiver;
            int i4 = z ? i2 : i3;
            if (z) {
                i = RuntimeExecutionException.IconCompatParcelizer.setOptions;
            } else {
                i = RuntimeExecutionException.IconCompatParcelizer.setError;
            }
            return setOptions(i4, i, this.AudioAttributesImplBaseParcelizer, RuntimeExecutionException.setBackground.setBackground, pendingIntent);
        }

        private setError setOptions(int i, int i2, Integer num, int i3, PendingIntent pendingIntent) {
            if (num == null) {
                num = Integer.valueOf(setCode39UseCheckDigit.getColor(this.setElement.MediaBrowserCompatSearchResultReceiver, i3));
            }
            SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder();
            spannableStringBuilder.append((CharSequence) this.setElement.MediaBrowserCompatSearchResultReceiver.getResources().getString(i2));
            spannableStringBuilder.setSpan(new ForegroundColorSpan(num.intValue()), 0, spannableStringBuilder.length(), 18);
            setError background = new setError.C0024setError(androidx.core.graphics.drawable.IconCompat.setBackground(this.setElement.MediaBrowserCompatSearchResultReceiver, i), spannableStringBuilder, pendingIntent).setBackground();
            background.setOptions().putBoolean(IconCompatParcelizer, true);
            return background;
        }

        private boolean setFieldValue(setError seterror) {
            return seterror != null && seterror.setOptions().getBoolean(IconCompatParcelizer);
        }

        public ArrayList<setError> setFieldValue() {
            setError write = write();
            setError label = setLabel();
            ArrayList<setError> arrayList = new ArrayList<>(3);
            arrayList.add(write);
            ArrayList<setError> arrayList2 = this.setElement.setLabel;
            int i = 2;
            if (arrayList2 != null) {
                for (setError seterror : arrayList2) {
                    if (seterror.AudioAttributesImplApi21Parcelizer()) {
                        arrayList.add(seterror);
                    } else if (!setFieldValue(seterror) && i > 1) {
                        arrayList.add(seterror);
                        i--;
                    }
                    if (label != null && i == 1) {
                        arrayList.add(label);
                        i--;
                    }
                }
            }
            if (label != null && i >= 1) {
                arrayList.add(label);
            }
            return arrayList;
        }

        static class setBackground {
            private setBackground() {
            }

            static Notification.Builder setOptions(Notification.Builder builder, String str) {
                return builder.addPerson(str);
            }

            static Notification.Builder setBackground(Notification.Builder builder, String str) {
                return builder.setCategory(str);
            }
        }

        static class setLabel {
            static Parcelable setError(Icon icon) {
                return icon;
            }

            private setLabel() {
            }

            static void setError(Notification.Builder builder, Icon icon) {
                builder.setLargeIcon(icon);
            }

            static Notification.Action.Builder setError(Icon icon, CharSequence charSequence, PendingIntent pendingIntent) {
                return new Notification.Action.Builder(icon, charSequence, pendingIntent);
            }
        }

        static class setFieldValue {
            static Parcelable je_(Person person) {
                return person;
            }

            private setFieldValue() {
            }

            static Notification.Builder jd_(Notification.Builder builder, Person person) {
                return builder.addPerson(person);
            }
        }

        static class IconCompatParcelizer {
            private IconCompatParcelizer() {
            }

            static Notification.CallStyle jf_(@androidx.annotation.NonNull Person person, @androidx.annotation.NonNull PendingIntent pendingIntent, @androidx.annotation.NonNull PendingIntent pendingIntent2) {
                return Notification.CallStyle.forIncomingCall(person, pendingIntent, pendingIntent2);
            }

            static Notification.CallStyle jg_(@androidx.annotation.NonNull Person person, @androidx.annotation.NonNull PendingIntent pendingIntent) {
                return Notification.CallStyle.forOngoingCall(person, pendingIntent);
            }

            static Notification.CallStyle jh_(@androidx.annotation.NonNull Person person, @androidx.annotation.NonNull PendingIntent pendingIntent, @androidx.annotation.NonNull PendingIntent pendingIntent2) {
                return Notification.CallStyle.forScreeningCall(person, pendingIntent, pendingIntent2);
            }

            static Notification.CallStyle jk_(Notification.CallStyle callStyle, boolean z) {
                return callStyle.setIsVideo(z);
            }

            static Notification.CallStyle jl_(Notification.CallStyle callStyle, @Nullable Icon icon) {
                return callStyle.setVerificationIcon(icon);
            }

            static Notification.CallStyle jm_(Notification.CallStyle callStyle, @Nullable CharSequence charSequence) {
                return callStyle.setVerificationText(charSequence);
            }

            static Notification.CallStyle ji_(Notification.CallStyle callStyle, @setExpandActivityOverflowButtonContentDescription int i) {
                return callStyle.setAnswerButtonColorHint(i);
            }

            static Notification.CallStyle jj_(Notification.CallStyle callStyle, @setExpandActivityOverflowButtonContentDescription int i) {
                return callStyle.setDeclineButtonColorHint(i);
            }

            static Notification.Action.Builder setBackground(Notification.Action.Builder builder, boolean z) {
                return builder.setAuthenticationRequired(z);
            }
        }
    }

    public static class MediaMetadataCompat extends MediaSessionCompatQueueItem {
        private static final String setLabel = "androidx.core.app.NotificationCompat$DecoratedCustomViewStyle";
        private static final int setOptions = 3;

        @Override
        public RemoteViews setBackground(getMinimumDetectedDimension getminimumdetecteddimension) {
            return null;
        }

        @Override
        public boolean setBackground() {
            return true;
        }

        @Override
        public RemoteViews setError(getMinimumDetectedDimension getminimumdetecteddimension) {
            return null;
        }

        @Override
        public RemoteViews setFieldValue(getMinimumDetectedDimension getminimumdetecteddimension) {
            return null;
        }

        @Override
        protected String setError() {
            return setLabel;
        }

        @Override
        public void setLabel(getMinimumDetectedDimension getminimumdetecteddimension) {
            getminimumdetecteddimension.setOptions().setStyle(setBackground.setFieldValue());
        }

        public static List<CharSequence> setError(@androidx.annotation.NonNull Context context, @androidx.annotation.NonNull Notification notification) {
            if (!Notification.DecoratedCustomViewStyle.class.getName().equals(notification.extras.getString(setExtraScales.supportRequestWindowFeature))) {
                return Collections.emptyList();
            }
            RemoteViews remoteViews = notification.contentView;
            if (remoteViews == null && notification.bigContentView == null && notification.headsUpContentView == null) {
                return Collections.emptyList();
            }
            RemoteViews remoteViews2 = notification.bigContentView;
            if (remoteViews2 != null) {
                remoteViews = remoteViews2;
            } else if (remoteViews == null) {
                remoteViews = notification.headsUpContentView;
            }
            String str = remoteViews.getPackage();
            try {
                Context createPackageContext = context.createPackageContext(str, 0);
                createPackageContext.setTheme(context.getPackageManager().getApplicationInfo(str, 0).theme);
                View apply = remoteViews.apply(createPackageContext, null);
                ArrayList arrayList = new ArrayList();
                setOptions(apply, arrayList);
                return arrayList;
            } catch (PackageManager.NameNotFoundException e) {
                throw new RuntimeException(e);
            }
        }

        private static void setOptions(View view, ArrayList<CharSequence> arrayList) {
            CharSequence text;
            if (!(view instanceof ViewGroup)) {
                return;
            }
            int i = 0;
            while (true) {
                ViewGroup viewGroup = (ViewGroup) view;
                if (i >= viewGroup.getChildCount()) {
                    return;
                }
                View childAt = viewGroup.getChildAt(i);
                if ((childAt instanceof TextView) && (text = ((TextView) childAt).getText()) != null && text.length() > 0) {
                    arrayList.add(text);
                }
                if (childAt instanceof ViewGroup) {
                    setOptions(childAt, arrayList);
                }
                i++;
            }
        }

        private RemoteViews setLabel(RemoteViews remoteViews, boolean z) {
            int min;
            int i = 0;
            RemoteViews label = setLabel(true, RuntimeExecutionException.write.IconCompatParcelizer, false);
            label.removeAllViews(RuntimeExecutionException.setFieldValue.addContentView);
            List<setError> options = setOptions(this.setElement.setLabel);
            if (!z || options == null || (min = Math.min(options.size(), 3)) <= 0) {
                i = 8;
            } else {
                for (int i2 = 0; i2 < min; i2++) {
                    label.addView(RuntimeExecutionException.setFieldValue.addContentView, setLabel(options.get(i2)));
                }
            }
            label.setViewVisibility(RuntimeExecutionException.setFieldValue.addContentView, i);
            label.setViewVisibility(RuntimeExecutionException.setFieldValue.ComponentActivity4, i);
            setLabel(label, remoteViews);
            return label;
        }

        private static List<setError> setOptions(List<setError> list) {
            if (list == null) {
                return null;
            }
            ArrayList arrayList = new ArrayList();
            for (setError seterror : list) {
                if (!seterror.AudioAttributesImplApi21Parcelizer()) {
                    arrayList.add(seterror);
                }
            }
            return arrayList;
        }

        private RemoteViews setLabel(setError seterror) {
            int i;
            boolean z = seterror.AudioAttributesCompatParcelizer == null;
            String packageName = this.setElement.MediaBrowserCompatSearchResultReceiver.getPackageName();
            if (z) {
                i = RuntimeExecutionException.write.setOptions;
            } else {
                i = RuntimeExecutionException.write.setBackground;
            }
            RemoteViews remoteViews = new RemoteViews(packageName, i);
            androidx.core.graphics.drawable.IconCompat element = seterror.setElement();
            if (element != null) {
                remoteViews.setImageViewBitmap(RuntimeExecutionException.setFieldValue.getOnBackPressedDispatcherannotations, setBackground(element, RuntimeExecutionException.setBackground.setFieldValue));
            }
            remoteViews.setTextViewText(RuntimeExecutionException.setFieldValue.onBackPressedDispatcherlambda1, seterror.MediaBrowserCompatItemReceiver);
            if (!z) {
                remoteViews.setOnClickPendingIntent(RuntimeExecutionException.setFieldValue.getLifecycleRegistry, seterror.AudioAttributesCompatParcelizer);
            }
            remoteViews.setContentDescription(RuntimeExecutionException.setFieldValue.getLifecycleRegistry, seterror.MediaBrowserCompatItemReceiver);
            return remoteViews;
        }

        static class setBackground {
            private setBackground() {
            }

            static Notification.Style setFieldValue() {
                return new Notification.DecoratedCustomViewStyle();
            }
        }
    }

    public static class setError {
        public static final int AudioAttributesImplApi26Parcelizer = 9;
        public static final int AudioAttributesImplBaseParcelizer = 7;
        public static final int IconCompatParcelizer = 3;
        public static final int MediaBrowserCompatCustomActionResultReceiver = 8;
        public static final int RemoteActionCompatParcelizer = 6;
        public static final int read = 0;
        static final String setBackground = "android.support.action.showsUserInterface";
        public static final int setElement = 1;
        public static final int setError = 5;
        static final String setFieldValue = "android.support.action.semanticAction";
        public static final int setLabel = 4;
        public static final int setOptions = 10;
        public static final int write = 2;
        public PendingIntent AudioAttributesCompatParcelizer;

        @Deprecated
        public int AudioAttributesImplApi21Parcelizer;
        public CharSequence MediaBrowserCompatItemReceiver;
        boolean MediaBrowserCompatMediaItem;
        private boolean MediaBrowserCompatSearchResultReceiver;
        private androidx.core.graphics.drawable.IconCompat MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver;
        final Bundle MediaDescriptionCompat;
        private boolean MediaMetadataCompat;
        private final getCode93MinConsistentLines[] MediaSessionCompatQueueItem;
        private final getCode93MinConsistentLines[] MediaSessionCompatResultReceiverWrapper;
        private final boolean MediaSessionCompatToken;
        private final int RatingCompat;

        public setError(int i, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
            this(i != 0 ? androidx.core.graphics.drawable.IconCompat.setFieldValue(null, "", i) : null, charSequence, pendingIntent);
        }

        public setError(@Nullable androidx.core.graphics.drawable.IconCompat iconCompat, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
            this(iconCompat, charSequence, pendingIntent, new Bundle(), (getCode93MinConsistentLines[]) null, (getCode93MinConsistentLines[]) null, true, 0, true, false, false);
        }

        setError(int i, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent, @Nullable Bundle bundle, @Nullable getCode93MinConsistentLines[] getcode93minconsistentlinesArr, @Nullable getCode93MinConsistentLines[] getcode93minconsistentlinesArr2, boolean z, int i2, boolean z2, boolean z3, boolean z4) {
            this(i != 0 ? androidx.core.graphics.drawable.IconCompat.setFieldValue(null, "", i) : null, charSequence, pendingIntent, bundle, getcode93minconsistentlinesArr, getcode93minconsistentlinesArr2, z, i2, z2, z3, z4);
        }

        setError(@Nullable androidx.core.graphics.drawable.IconCompat iconCompat, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent, @Nullable Bundle bundle, @Nullable getCode93MinConsistentLines[] getcode93minconsistentlinesArr, @Nullable getCode93MinConsistentLines[] getcode93minconsistentlinesArr2, boolean z, int i, boolean z2, boolean z3, boolean z4) {
            this.MediaBrowserCompatMediaItem = true;
            this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver = iconCompat;
            if (iconCompat != null && iconCompat.setBackground() == 2) {
                this.AudioAttributesImplApi21Parcelizer = iconCompat.setError();
            }
            this.MediaBrowserCompatItemReceiver = AudioAttributesImplApi26Parcelizer.setOptions(charSequence);
            this.AudioAttributesCompatParcelizer = pendingIntent;
            this.MediaDescriptionCompat = bundle == null ? new Bundle() : bundle;
            this.MediaSessionCompatQueueItem = getcode93minconsistentlinesArr;
            this.MediaSessionCompatResultReceiverWrapper = getcode93minconsistentlinesArr2;
            this.MediaMetadataCompat = z;
            this.RatingCompat = i;
            this.MediaBrowserCompatMediaItem = z2;
            this.MediaSessionCompatToken = z3;
            this.MediaBrowserCompatSearchResultReceiver = z4;
        }

        @Deprecated
        public int setError() {
            return this.AudioAttributesImplApi21Parcelizer;
        }

        public androidx.core.graphics.drawable.IconCompat setElement() {
            int i;
            if (this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver == null && (i = this.AudioAttributesImplApi21Parcelizer) != 0) {
                this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver = androidx.core.graphics.drawable.IconCompat.setFieldValue(null, "", i);
            }
            return this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver;
        }

        public CharSequence RemoteActionCompatParcelizer() {
            return this.MediaBrowserCompatItemReceiver;
        }

        public PendingIntent setBackground() {
            return this.AudioAttributesCompatParcelizer;
        }

        public Bundle setOptions() {
            return this.MediaDescriptionCompat;
        }

        public boolean setLabel() {
            return this.MediaMetadataCompat;
        }

        public boolean AudioAttributesImplBaseParcelizer() {
            return this.MediaBrowserCompatSearchResultReceiver;
        }

        public getCode93MinConsistentLines[] IconCompatParcelizer() {
            return this.MediaSessionCompatQueueItem;
        }

        public int write() {
            return this.RatingCompat;
        }

        public boolean AudioAttributesImplApi21Parcelizer() {
            return this.MediaSessionCompatToken;
        }

        public getCode93MinConsistentLines[] setFieldValue() {
            return this.MediaSessionCompatResultReceiverWrapper;
        }

        public boolean read() {
            return this.MediaBrowserCompatMediaItem;
        }

        public static final class C0024setError {
            private ArrayList<getCode93MinConsistentLines> IconCompatParcelizer;
            private final CharSequence RemoteActionCompatParcelizer;
            private boolean read;
            private boolean setBackground;
            private boolean setElement;
            private final PendingIntent setError;
            private final androidx.core.graphics.drawable.IconCompat setFieldValue;
            private final Bundle setLabel;
            private boolean setOptions;
            private int write;

            public static C0024setError setBackground(@androidx.annotation.NonNull Notification.Action action) {
                C0024setError c0024setError;
                if (setLabel.setFieldValue(action) != null) {
                    c0024setError = new C0024setError(androidx.core.graphics.drawable.IconCompat.setOptions(setLabel.setFieldValue(action)), action.title, action.actionIntent);
                } else {
                    c0024setError = new C0024setError(action.icon, action.title, action.actionIntent);
                }
                RemoteInput[] error = setError.setError(action);
                if (error != null && error.length != 0) {
                    for (RemoteInput remoteInput : error) {
                        c0024setError.setFieldValue(getCode93MinConsistentLines.setFieldValue(remoteInput));
                    }
                }
                int i = Build.VERSION.SDK_INT;
                c0024setError.setBackground = setOptions.setBackground(action);
                if (i >= 28) {
                    c0024setError.setError(setBackground.setLabel(action));
                }
                if (i >= 29) {
                    c0024setError.setOptions(setFieldValue.setLabel(action));
                }
                if (i >= 31) {
                    c0024setError.setLabel(RemoteActionCompatParcelizer.setError(action));
                }
                c0024setError.setOptions(setError.setLabel(action));
                return c0024setError;
            }

            public C0024setError(@Nullable androidx.core.graphics.drawable.IconCompat iconCompat, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
                this(iconCompat, charSequence, pendingIntent, new Bundle(), null, true, 0, true, false, false);
            }

            public C0024setError(int i, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
                this(i != 0 ? androidx.core.graphics.drawable.IconCompat.setFieldValue(null, "", i) : null, charSequence, pendingIntent, new Bundle(), null, true, 0, true, false, false);
            }

            public C0024setError(@androidx.annotation.NonNull setError seterror) {
                this(seterror.setElement(), seterror.MediaBrowserCompatItemReceiver, seterror.AudioAttributesCompatParcelizer, new Bundle(seterror.MediaDescriptionCompat), seterror.IconCompatParcelizer(), seterror.setLabel(), seterror.write(), seterror.MediaBrowserCompatMediaItem, seterror.AudioAttributesImplApi21Parcelizer(), seterror.AudioAttributesImplBaseParcelizer());
            }

            private C0024setError(@Nullable androidx.core.graphics.drawable.IconCompat iconCompat, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent, @androidx.annotation.NonNull Bundle bundle, @Nullable getCode93MinConsistentLines[] getcode93minconsistentlinesArr, boolean z, int i, boolean z2, boolean z3, boolean z4) {
                this.setBackground = true;
                this.read = true;
                this.setFieldValue = iconCompat;
                this.RemoteActionCompatParcelizer = AudioAttributesImplApi26Parcelizer.setOptions(charSequence);
                this.setError = pendingIntent;
                this.setLabel = bundle;
                this.IconCompatParcelizer = getcode93minconsistentlinesArr == null ? null : new ArrayList<>(Arrays.asList(getcode93minconsistentlinesArr));
                this.setBackground = z;
                this.write = i;
                this.read = z2;
                this.setElement = z3;
                this.setOptions = z4;
            }

            public C0024setError setOptions(@Nullable Bundle bundle) {
                if (bundle != null) {
                    this.setLabel.putAll(bundle);
                }
                return this;
            }

            public Bundle setError() {
                return this.setLabel;
            }

            public C0024setError setFieldValue(@Nullable getCode93MinConsistentLines getcode93minconsistentlines) {
                if (this.IconCompatParcelizer == null) {
                    this.IconCompatParcelizer = new ArrayList<>();
                }
                if (getcode93minconsistentlines != null) {
                    this.IconCompatParcelizer.add(getcode93minconsistentlines);
                }
                return this;
            }

            public C0024setError setBackground(boolean z) {
                this.setBackground = z;
                return this;
            }

            public C0024setError setError(int i) {
                this.write = i;
                return this;
            }

            public C0024setError setOptions(boolean z) {
                this.setElement = z;
                return this;
            }

            public C0024setError setLabel(boolean z) {
                this.setOptions = z;
                return this;
            }

            public C0024setError setError(boolean z) {
                this.read = z;
                return this;
            }

            public C0024setError setBackground(@androidx.annotation.NonNull setOptions setoptions) {
                setoptions.setBackground(this);
                return this;
            }

            private void setFieldValue() {
                if (this.setElement && this.setError == null) {
                    throw new NullPointerException("Contextual Actions must contain a valid PendingIntent");
                }
            }

            public setError setBackground() {
                setFieldValue();
                ArrayList arrayList = new ArrayList();
                ArrayList arrayList2 = new ArrayList();
                ArrayList<getCode93MinConsistentLines> arrayList3 = this.IconCompatParcelizer;
                if (arrayList3 != null) {
                    Iterator<getCode93MinConsistentLines> it = arrayList3.iterator();
                    while (it.hasNext()) {
                        getCode93MinConsistentLines next = it.next();
                        if (next.RemoteActionCompatParcelizer()) {
                            arrayList.add(next);
                        } else {
                            arrayList2.add(next);
                        }
                    }
                }
                return new setError(this.setFieldValue, this.RemoteActionCompatParcelizer, this.setError, this.setLabel, arrayList2.isEmpty() ? null : (getCode93MinConsistentLines[]) arrayList2.toArray(new getCode93MinConsistentLines[arrayList2.size()]), arrayList.isEmpty() ? null : (getCode93MinConsistentLines[]) arrayList.toArray(new getCode93MinConsistentLines[arrayList.size()]), this.setBackground, this.write, this.read, this.setElement, this.setOptions);
            }
        }
    }

    public static final class AudioAttributesImplApi21Parcelizer {
        private static final int setBackground = 2;
        private static final int setError = 1;
        private androidx.core.graphics.drawable.IconCompat RemoteActionCompatParcelizer;
        private int read;
        private PendingIntent setElement;
        private int setFieldValue;
        private PendingIntent setLabel;
        private int setOptions;
        private String write;

        private AudioAttributesImplApi21Parcelizer(@Nullable PendingIntent pendingIntent, @Nullable PendingIntent pendingIntent2, @Nullable androidx.core.graphics.drawable.IconCompat iconCompat, int i, @setBackgroundDrawable int i2, int i3, @Nullable String str) {
            this.setElement = pendingIntent;
            this.RemoteActionCompatParcelizer = iconCompat;
            this.setOptions = i;
            this.setFieldValue = i2;
            this.setLabel = pendingIntent2;
            this.read = i3;
            this.write = str;
        }

        public PendingIntent write() {
            return this.setElement;
        }

        public String RemoteActionCompatParcelizer() {
            return this.write;
        }

        public PendingIntent setFieldValue() {
            return this.setLabel;
        }

        public androidx.core.graphics.drawable.IconCompat setError() {
            return this.RemoteActionCompatParcelizer;
        }

        public int setBackground() {
            return this.setOptions;
        }

        public int setOptions() {
            return this.setFieldValue;
        }

        public boolean setLabel() {
            return (this.read & 1) != 0;
        }

        public boolean IconCompatParcelizer() {
            return (this.read & 2) != 0;
        }

        public void setOptions(int i) {
            this.read = i;
        }

        public static Notification.BubbleMetadata iX_(@Nullable AudioAttributesImplApi21Parcelizer audioAttributesImplApi21Parcelizer) {
            if (audioAttributesImplApi21Parcelizer == null) {
                return null;
            }
            int i = Build.VERSION.SDK_INT;
            if (i >= 30) {
                return setFieldValue.jb_(audioAttributesImplApi21Parcelizer);
            }
            if (i == 29) {
                return setOptions.iZ_(audioAttributesImplApi21Parcelizer);
            }
            return null;
        }

        public static AudioAttributesImplApi21Parcelizer iW_(@Nullable Notification.BubbleMetadata bubbleMetadata) {
            if (bubbleMetadata == null) {
                return null;
            }
            int i = Build.VERSION.SDK_INT;
            if (i >= 30) {
                return setFieldValue.ja_(bubbleMetadata);
            }
            if (i == 29) {
                return setOptions.iY_(bubbleMetadata);
            }
            return null;
        }

        static class setOptions {
            private setOptions() {
            }

            static Notification.BubbleMetadata iZ_(@Nullable AudioAttributesImplApi21Parcelizer audioAttributesImplApi21Parcelizer) {
                if (audioAttributesImplApi21Parcelizer == null || audioAttributesImplApi21Parcelizer.write() == null) {
                    return null;
                }
                Notification.BubbleMetadata.Builder suppressNotification = new Notification.BubbleMetadata.Builder().setIcon(audioAttributesImplApi21Parcelizer.setError().write()).setIntent(audioAttributesImplApi21Parcelizer.write()).setDeleteIntent(audioAttributesImplApi21Parcelizer.setFieldValue()).setAutoExpandBubble(audioAttributesImplApi21Parcelizer.setLabel()).setSuppressNotification(audioAttributesImplApi21Parcelizer.IconCompatParcelizer());
                if (audioAttributesImplApi21Parcelizer.setBackground() != 0) {
                    suppressNotification.setDesiredHeight(audioAttributesImplApi21Parcelizer.setBackground());
                }
                if (audioAttributesImplApi21Parcelizer.setOptions() != 0) {
                    suppressNotification.setDesiredHeightResId(audioAttributesImplApi21Parcelizer.setOptions());
                }
                return suppressNotification.build();
            }

            static AudioAttributesImplApi21Parcelizer iY_(@Nullable Notification.BubbleMetadata bubbleMetadata) {
                if (bubbleMetadata == null || bubbleMetadata.getIntent() == null) {
                    return null;
                }
                setBackground error = new setBackground(bubbleMetadata.getIntent(), androidx.core.graphics.drawable.IconCompat.setLabel(bubbleMetadata.getIcon())).setLabel(bubbleMetadata.getAutoExpandBubble()).setLabel(bubbleMetadata.getDeleteIntent()).setError(bubbleMetadata.isNotificationSuppressed());
                if (bubbleMetadata.getDesiredHeight() != 0) {
                    error.setError(bubbleMetadata.getDesiredHeight());
                }
                if (bubbleMetadata.getDesiredHeightResId() != 0) {
                    error.setLabel(bubbleMetadata.getDesiredHeightResId());
                }
                return error.setError();
            }
        }

        static class setFieldValue {
            private setFieldValue() {
            }

            static Notification.BubbleMetadata jb_(@Nullable AudioAttributesImplApi21Parcelizer audioAttributesImplApi21Parcelizer) {
                Notification.BubbleMetadata.Builder builder;
                if (audioAttributesImplApi21Parcelizer == null) {
                    return null;
                }
                if (audioAttributesImplApi21Parcelizer.RemoteActionCompatParcelizer() != null) {
                    builder = new Notification.BubbleMetadata.Builder(audioAttributesImplApi21Parcelizer.RemoteActionCompatParcelizer());
                } else {
                    builder = new Notification.BubbleMetadata.Builder(audioAttributesImplApi21Parcelizer.write(), audioAttributesImplApi21Parcelizer.setError().write());
                }
                builder.setDeleteIntent(audioAttributesImplApi21Parcelizer.setFieldValue()).setAutoExpandBubble(audioAttributesImplApi21Parcelizer.setLabel()).setSuppressNotification(audioAttributesImplApi21Parcelizer.IconCompatParcelizer());
                if (audioAttributesImplApi21Parcelizer.setBackground() != 0) {
                    builder.setDesiredHeight(audioAttributesImplApi21Parcelizer.setBackground());
                }
                if (audioAttributesImplApi21Parcelizer.setOptions() != 0) {
                    builder.setDesiredHeightResId(audioAttributesImplApi21Parcelizer.setOptions());
                }
                return builder.build();
            }

            static AudioAttributesImplApi21Parcelizer ja_(@Nullable Notification.BubbleMetadata bubbleMetadata) {
                setBackground setbackground;
                if (bubbleMetadata == null) {
                    return null;
                }
                if (bubbleMetadata.getShortcutId() != null) {
                    setbackground = new setBackground(bubbleMetadata.getShortcutId());
                } else {
                    setbackground = new setBackground(bubbleMetadata.getIntent(), androidx.core.graphics.drawable.IconCompat.setLabel(bubbleMetadata.getIcon()));
                }
                setbackground.setLabel(bubbleMetadata.getAutoExpandBubble()).setLabel(bubbleMetadata.getDeleteIntent()).setError(bubbleMetadata.isNotificationSuppressed());
                if (bubbleMetadata.getDesiredHeight() != 0) {
                    setbackground.setError(bubbleMetadata.getDesiredHeight());
                }
                if (bubbleMetadata.getDesiredHeightResId() != 0) {
                    setbackground.setLabel(bubbleMetadata.getDesiredHeightResId());
                }
                return setbackground.setError();
            }
        }
    }

    static Notification[] setFieldValue(@androidx.annotation.NonNull Bundle bundle, @androidx.annotation.NonNull String str) {
        Parcelable[] parcelableArray = bundle.getParcelableArray(str);
        if ((parcelableArray instanceof Notification[]) || parcelableArray == null) {
            return (Notification[]) parcelableArray;
        }
        Notification[] notificationArr = new Notification[parcelableArray.length];
        for (int i = 0; i < parcelableArray.length; i++) {
            notificationArr[i] = (Notification) parcelableArray[i];
        }
        bundle.putParcelableArray(str, notificationArr);
        return notificationArr;
    }

    @Deprecated
    @setImageLevel(setLabel = "notification.extras")
    public static Bundle AudioAttributesImplApi21Parcelizer(@androidx.annotation.NonNull Notification notification) {
        return notification.extras;
    }

    public static int setBackground(@androidx.annotation.NonNull Notification notification) {
        Notification.Action[] actionArr = notification.actions;
        if (actionArr != null) {
            return actionArr.length;
        }
        return 0;
    }

    public static setError setOptions(@androidx.annotation.NonNull Notification notification, int i) {
        return setOptions(notification.actions[i]);
    }

    public static AudioAttributesImplApi21Parcelizer setLabel(@androidx.annotation.NonNull Notification notification) {
        if (Build.VERSION.SDK_INT >= 29) {
            return AudioAttributesImplApi21Parcelizer.iW_(IconCompatParcelizer.iU_(notification));
        }
        return null;
    }

    static setError setOptions(@androidx.annotation.NonNull Notification.Action action) {
        getCode93MinConsistentLines[] getcode93minconsistentlinesArr;
        int i;
        int i2;
        RemoteInput[] background = setBackground.setBackground(action);
        if (background == null) {
            getcode93minconsistentlinesArr = null;
        } else {
            getCode93MinConsistentLines[] getcode93minconsistentlinesArr2 = new getCode93MinConsistentLines[background.length];
            for (int i3 = 0; i3 < background.length; i3++) {
                RemoteInput remoteInput = background[i3];
                getcode93minconsistentlinesArr2[i3] = new getCode93MinConsistentLines(setBackground.setFieldValue(remoteInput), setBackground.setBackground(remoteInput), setBackground.setError(remoteInput), setBackground.setLabel(remoteInput), Build.VERSION.SDK_INT >= 29 ? IconCompatParcelizer.setBackground(remoteInput) : 0, setBackground.setOptions(remoteInput), null);
            }
            getcode93minconsistentlinesArr = getcode93minconsistentlinesArr2;
        }
        int i4 = Build.VERSION.SDK_INT;
        boolean z = setBackground.setOptions(action).getBoolean("android.support.allowGeneratedReplies") || setLabel.setLabel(action);
        boolean z2 = setBackground.setOptions(action).getBoolean("android.support.action.showsUserInterface", true);
        if (i4 >= 28) {
            i = setElement.setFieldValue(action);
        } else {
            i = setBackground.setOptions(action).getInt("android.support.action.semanticAction", 0);
        }
        int i5 = i;
        boolean error = i4 >= 29 ? IconCompatParcelizer.setError(action) : false;
        boolean error2 = i4 >= 31 ? read.setError(action) : false;
        if (setFieldValue.setLabel(action) == null && (i2 = action.icon) != 0) {
            return new setError(i2, action.title, action.actionIntent, setBackground.setOptions(action), getcode93minconsistentlinesArr, (getCode93MinConsistentLines[]) null, z, i5, z2, error, error2);
        }
        return new setError(setFieldValue.setLabel(action) != null ? androidx.core.graphics.drawable.IconCompat.setOptions(setFieldValue.setLabel(action)) : null, action.title, action.actionIntent, setBackground.setOptions(action), getcode93minconsistentlinesArr, (getCode93MinConsistentLines[]) null, z, i5, z2, error, error2);
    }

    public static List<setError> MediaMetadataCompat(@androidx.annotation.NonNull Notification notification) {
        Bundle bundle;
        ArrayList arrayList = new ArrayList();
        Bundle bundle2 = notification.extras.getBundle("android.car.EXTENSIONS");
        if (bundle2 != null && (bundle = bundle2.getBundle("invisible_actions")) != null) {
            for (int i = 0; i < bundle.size(); i++) {
                arrayList.add(OnedRecognitionOptions.setError(bundle.getBundle(Integer.toString(i))));
            }
        }
        return arrayList;
    }

    public static List<getCode93MinCodeLength> MediaSessionCompatToken(@androidx.annotation.NonNull Notification notification) {
        ArrayList arrayList = new ArrayList();
        if (Build.VERSION.SDK_INT >= 28) {
            ArrayList parcelableArrayList = notification.extras.getParcelableArrayList(setView);
            if (parcelableArrayList != null && !parcelableArrayList.isEmpty()) {
                Iterator it = parcelableArrayList.iterator();
                while (it.hasNext()) {
                    arrayList.add(getCode93MinCodeLength.js_(setSkipProcessingIfBarcodeFound.iT_(it.next())));
                }
            }
        } else {
            String[] stringArray = notification.extras.getStringArray(setPositiveButton);
            if (stringArray != null && stringArray.length != 0) {
                for (String str : stringArray) {
                    arrayList.add(new getCode93MinCodeLength.setOptions().setFieldValue(str).setFieldValue());
                }
            }
        }
        return arrayList;
    }

    public static CharSequence AudioAttributesImplApi26Parcelizer(@androidx.annotation.NonNull Notification notification) {
        return notification.extras.getCharSequence(setupDialog);
    }

    public static CharSequence IconCompatParcelizer(@androidx.annotation.NonNull Notification notification) {
        return notification.extras.getCharSequence(onCreateDialog);
    }

    public static CharSequence setElement(@androidx.annotation.NonNull Notification notification) {
        return notification.extras.getCharSequence(Keep);
    }

    public static CharSequence setContentView(@androidx.annotation.NonNull Notification notification) {
        return notification.extras.getCharSequence(superDispatchKeyEvent);
    }

    public static String write(@androidx.annotation.NonNull Notification notification) {
        return notification.category;
    }

    public static boolean MediaDescriptionCompat(@androidx.annotation.NonNull Notification notification) {
        return (notification.flags & 256) != 0;
    }

    public static String AudioAttributesImplBaseParcelizer(@androidx.annotation.NonNull Notification notification) {
        return setBackground.setBackground(notification);
    }

    public static boolean MediaSessionCompatQueueItem(@androidx.annotation.NonNull Notification notification) {
        return notification.extras.getBoolean(onSupportActionModeStarted);
    }

    public static boolean ComponentActivity2(@androidx.annotation.NonNull Notification notification) {
        return notification.extras.getBoolean(onWindowStartingSupportActionMode);
    }

    public static boolean MediaBrowserCompatSearchResultReceiver(@androidx.annotation.NonNull Notification notification) {
        return (notification.flags & 8) != 0;
    }

    public static boolean setOptions(@androidx.annotation.NonNull Notification notification) {
        return (notification.flags & 16) != 0;
    }

    public static boolean MediaBrowserCompatItemReceiver(@androidx.annotation.NonNull Notification notification) {
        return (notification.flags & 2) != 0;
    }

    public static int read(@androidx.annotation.NonNull Notification notification) {
        return notification.color;
    }

    public static int PlaybackStateCompat(@androidx.annotation.NonNull Notification notification) {
        return notification.visibility;
    }

    public static Notification MediaSessionCompatResultReceiverWrapper(@androidx.annotation.NonNull Notification notification) {
        return notification.publicVersion;
    }

    static boolean AudioAttributesCompatParcelizer(@androidx.annotation.NonNull Notification notification) {
        return (notification.flags & 128) != 0;
    }

    public static boolean ComponentActivity6(@androidx.annotation.NonNull Notification notification) {
        return (notification.flags & 512) != 0;
    }

    public static String ParcelableVolumeInfo(@androidx.annotation.NonNull Notification notification) {
        return setBackground.setFieldValue(notification);
    }

    public static String RemoteActionCompatParcelizer(@androidx.annotation.NonNull Notification notification) {
        return setOptions.setOptions(notification);
    }

    public static long PlaybackStateCompatCustomAction(@androidx.annotation.NonNull Notification notification) {
        return setOptions.setElement(notification);
    }

    public static int setFieldValue(@androidx.annotation.NonNull Notification notification) {
        return setOptions.setLabel(notification);
    }

    public static String RatingCompat(@androidx.annotation.NonNull Notification notification) {
        return setOptions.setFieldValue(notification);
    }

    public static CharSequence MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver(@androidx.annotation.NonNull Notification notification) {
        return setOptions.setError(notification);
    }

    public static nativeIsProcessInBackground MediaBrowserCompatMediaItem(@androidx.annotation.NonNull Notification notification) {
        LocusId iV_;
        if (Build.VERSION.SDK_INT < 29 || (iV_ = IconCompatParcelizer.iV_(notification)) == null) {
            return null;
        }
        return nativeIsProcessInBackground.jw_(iV_);
    }

    public static int MediaBrowserCompatCustomActionResultReceiver(@androidx.annotation.NonNull Notification notification) {
        return setOptions.setBackground(notification);
    }

    public static boolean setError(@androidx.annotation.NonNull Notification notification) {
        if (Build.VERSION.SDK_INT >= 29) {
            return IconCompatParcelizer.setError(notification);
        }
        return false;
    }

    public static Bitmap setBackground(@androidx.annotation.NonNull Context context, @Nullable Bitmap bitmap) {
        if (bitmap == null || Build.VERSION.SDK_INT >= 27) {
            return bitmap;
        }
        Resources resources = context.getResources();
        int dimensionPixelSize = resources.getDimensionPixelSize(RuntimeExecutionException.setOptions.IconCompatParcelizer);
        int dimensionPixelSize2 = resources.getDimensionPixelSize(RuntimeExecutionException.setOptions.setElement);
        if (bitmap.getWidth() <= dimensionPixelSize && bitmap.getHeight() <= dimensionPixelSize2) {
            return bitmap;
        }
        double min = Math.min(dimensionPixelSize / Math.max(1, bitmap.getWidth()), dimensionPixelSize2 / Math.max(1, bitmap.getHeight()));
        return Bitmap.createScaledBitmap(bitmap, (int) Math.ceil(bitmap.getWidth() * min), (int) Math.ceil(bitmap.getHeight() * min), true);
    }

    @Deprecated
    public setExtraScales() {
    }
}