导航菜单

页面标题

页面副标题

远离手机 v4.9.11 - II1111lI1llII.java 源代码

正在查看: 远离手机 v4.9.11 应用的 II1111lI1llII.java JAVA 源代码文件

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


package com.lijianqiang12.silent;

import android.annotation.SuppressLint;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import com.lijianqiang12.silent.II1111lI1llII;
import com.lijianqiang12.silent.lIIIl1IlI1llI;
import java.io.Closeable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.concurrent.CountDownLatch;

public final class II1111lI1llII {

    @l1l1lI1IIl1I(23)
    private static class IIllIl1llII {
        private IIllIl1llII() {
        }

        public static void IIllIl1llII(@IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I Context context, int i, @IlI1111llI11I Intent intent, @II1lll1lIlIl1 PendingIntent.OnFinished onFinished, @II1lll1lIlIl1 Handler handler, @II1lll1lIlIl1 String str, @II1lll1lIlIl1 Bundle bundle) throws PendingIntent.CanceledException {
            pendingIntent.send(context, i, intent, onFinished, handler, str, bundle);
        }
    }

    @lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.Il11lIlllll1})
    @Retention(RetentionPolicy.SOURCE)
    public @interface Il11lI1III1 {
    }

    @l1l1lI1IIl1I(26)
    private static class IlllIll1I1I {
        private IlllIll1I1I() {
        }

        public static PendingIntent IIllIl1llII(Context context, int i, Intent intent, int i2) {
            return PendingIntent.getForegroundService(context, i, intent, i2);
        }
    }

    static class lIIl1I1I implements Closeable {

        @II1lll1lIlIl1
        private PendingIntent.OnFinished I1II1ll1lI1;
        private final CountDownLatch Il11lIlllll1 = new CountDownLatch(1);
        private boolean l11l1l11I1 = false;

        lIIl1I1I(@II1lll1lIlIl1 PendingIntent.OnFinished onFinished) {
            this.I1II1ll1lI1 = onFinished;
        }

        public void lIIl1I1I(PendingIntent pendingIntent, Intent intent, int i, String str, Bundle bundle) {
            boolean z = false;
            while (true) {
                try {
                    this.Il11lIlllll1.await();
                    break;
                } catch (InterruptedException unused) {
                    z = true;
                } catch (Throwable th) {
                    if (z) {
                        Thread.currentThread().interrupt();
                    }
                    throw th;
                }
            }
            if (z) {
                Thread.currentThread().interrupt();
            }
            PendingIntent.OnFinished onFinished = this.I1II1ll1lI1;
            if (onFinished != null) {
                onFinished.onSendFinished(pendingIntent, intent, i, str, bundle);
                this.I1II1ll1lI1 = null;
            }
        }

        @II1lll1lIlIl1
        public PendingIntent.OnFinished Il11lI1III1() {
            if (this.I1II1ll1lI1 == null) {
                return null;
            }
            return new PendingIntent.OnFinished() {
                @Override
                public final void onSendFinished(PendingIntent pendingIntent, Intent intent, int i, String str, Bundle bundle) {
                    II1111lI1llII.lIIl1I1I.this.lIIl1I1I(pendingIntent, intent, i, str, bundle);
                }
            };
        }

        public void IlllIll1I1I() {
            this.l11l1l11I1 = true;
        }

        @Override
        public void close() {
            if (!this.l11l1l11I1) {
                this.I1II1ll1lI1 = null;
            }
            this.Il11lIlllll1.countDown();
        }
    }

    private II1111lI1llII() {
    }

    @SuppressLint({"LambdaLast"})
    public static void I1Il11llllIl(@IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I @SuppressLint({"ContextFirst"}) Context context, int i, @IlI1111llI11I Intent intent, @II1lll1lIlIl1 PendingIntent.OnFinished onFinished, @II1lll1lIlIl1 Handler handler, @II1lll1lIlIl1 String str, @II1lll1lIlIl1 Bundle bundle) throws PendingIntent.CanceledException {
        lIIl1I1I liil1i1i = new lIIl1I1I(onFinished);
        try {
            IIllIl1llII.IIllIl1llII(pendingIntent, context, i, intent, onFinished, handler, str, bundle);
            liil1i1i.IlllIll1I1I();
            liil1i1i.close();
        } catch (Throwable th) {
            try {
                liil1i1i.close();
            } catch (Throwable th2) {
                th.addSuppressed(th2);
            }
            throw th;
        }
    }

    @SuppressLint({"LambdaLast"})
    public static void IIll11IllI1l(@IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I @SuppressLint({"ContextFirst"}) Context context, int i, @IlI1111llI11I Intent intent, @II1lll1lIlIl1 PendingIntent.OnFinished onFinished, @II1lll1lIlIl1 Handler handler) throws PendingIntent.CanceledException {
        I1Il11llllIl(pendingIntent, context, i, intent, onFinished, handler, null, null);
    }

    private static int IIllIl1llII(boolean z, int i) {
        int i2;
        if (!z) {
            i2 = l1Il1IlII1.IIIII11lIlIl;
        } else {
            if (Build.VERSION.SDK_INT < 31) {
                return i;
            }
            i2 = 33554432;
        }
        return i | i2;
    }

    @IlI1111llI11I
    public static PendingIntent Il11lI1III1(@IlI1111llI11I Context context, int i, @IlI1111llI11I @SuppressLint({"ArrayReturn"}) Intent[] intentArr, int i2, boolean z) {
        return PendingIntent.getActivities(context, i, intentArr, IIllIl1llII(z, i2));
    }

    @II1lll1lIlIl1
    public static PendingIntent Il1IlII1(@IlI1111llI11I Context context, int i, @IlI1111llI11I Intent intent, int i2, boolean z) {
        return PendingIntent.getActivity(context, i, intent, IIllIl1llII(z, i2));
    }

    @SuppressLint({"LambdaLast"})
    public static void Ill1llIIlIlll(@IlI1111llI11I PendingIntent pendingIntent, int i, @II1lll1lIlIl1 PendingIntent.OnFinished onFinished, @II1lll1lIlIl1 Handler handler) throws PendingIntent.CanceledException {
        lIIl1I1I liil1i1i = new lIIl1I1I(onFinished);
        try {
            pendingIntent.send(i, liil1i1i.Il11lI1III1(), handler);
            liil1i1i.IlllIll1I1I();
            liil1i1i.close();
        } catch (Throwable th) {
            try {
                liil1i1i.close();
            } catch (Throwable th2) {
                th.addSuppressed(th2);
            }
            throw th;
        }
    }

    @IlI1111llI11I
    public static PendingIntent IlllIll1I1I(@IlI1111llI11I Context context, int i, @IlI1111llI11I @SuppressLint({"ArrayReturn"}) Intent[] intentArr, int i2, @II1lll1lIlIl1 Bundle bundle, boolean z) {
        return PendingIntent.getActivities(context, i, intentArr, IIllIl1llII(z, i2), bundle);
    }

    @II1lll1lIlIl1
    public static PendingIntent lI11111lI1(@IlI1111llI11I Context context, int i, @IlI1111llI11I Intent intent, int i2, boolean z) {
        return PendingIntent.getBroadcast(context, i, intent, IIllIl1llII(z, i2));
    }

    @II1lll1lIlIl1
    public static PendingIntent lI111l1I1llIl(@IlI1111llI11I Context context, int i, @IlI1111llI11I Intent intent, int i2, boolean z) {
        return PendingIntent.getService(context, i, intent, IIllIl1llII(z, i2));
    }

    @l1l1lI1IIl1I(26)
    @IlI1111llI11I
    public static PendingIntent lII1lI1Illl(@IlI1111llI11I Context context, int i, @IlI1111llI11I Intent intent, int i2, boolean z) {
        return IlllIll1I1I.IIllIl1llII(context, i, intent, IIllIl1llII(z, i2));
    }

    @II1lll1lIlIl1
    public static PendingIntent lIIl1I1I(@IlI1111llI11I Context context, int i, @IlI1111llI11I Intent intent, int i2, @II1lll1lIlIl1 Bundle bundle, boolean z) {
        return PendingIntent.getActivity(context, i, intent, IIllIl1llII(z, i2), bundle);
    }
}