导航菜单

页面标题

页面副标题

SpinDisplay v2.0.2.6 - LauncherActivity.java 源代码

正在查看: SpinDisplay v2.0.2.6 应用的 LauncherActivity.java JAVA 源代码文件

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


package com.dmz.f20ad.activity;

import android.content.Intent;
import android.os.Bundle;
import b.b.k.l;
import com.dmz.f20ad.activity.LauncherActivity;
import d.a.a.b;
import d.a.a.f;
import d.k.a.d;
import g.a.n.a;

public class LauncherActivity extends l {
    public a s;

    public void a(f fVar, b bVar) {
        this.s.c(new d(this).a("android.permission.ACCESS_FINE_LOCATION").b(new g.a.p.b() {
            @Override
            public final void a(Object obj) {
                LauncherActivity.this.a((Boolean) obj);
            }
        }));
    }

    public void a(Boolean bool) {
        if (bool.booleanValue()) {
            w();
        } else {
            finish();
        }
    }

    public void b(f fVar, b bVar) {
        finish();
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(2131492899);
        if (!isTaskRoot()) {
            finish();
        }
        this.s = new a();
        if (b.h.e.a.a(this, "android.permission.ACCESS_FINE_LOCATION") == 0) {
            w();
            return;
        }
        f.b bVar = new f.b(this);
        bVar.d(2131755232);
        bVar.a(2131755231);
        bVar.b(2131755075);
        bVar.c(2131755081);
        bVar.L = false;
        bVar.M = false;
        bVar.A = new f.k() {
            @Override
            public final void a(d.a.a.f fVar, d.a.a.b bVar2) {
                LauncherActivity.this.a(fVar, bVar2);
            }
        };
        bVar.B = new f.k() {
            @Override
            public final void a(d.a.a.f fVar, d.a.a.b bVar2) {
                LauncherActivity.this.b(fVar, bVar2);
            }
        };
        bVar.b();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        this.s.a();
    }

    @Override
    public void onWindowFocusChanged(boolean z) {
        super.onWindowFocusChanged(z);
        if (z) {
            getWindow().getDecorView().setSystemUiVisibility(5894);
        }
    }

    public void w() {
        startActivity(new Intent(this, (Class<?>) MainActivity.class));
        finish();
        overridePendingTransition(2130771997, 2130771998);
    }
}