导航菜单

页面标题

页面副标题

Mitra Bukalapak v2.55.0 - CaptureActivity.java 源代码

正在查看: Mitra Bukalapak v2.55.0 应用的 CaptureActivity.java JAVA 源代码文件

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


package com.journeyapps.barcodescanner;

import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import defpackage.ac7;
import defpackage.ma7;

public class CaptureActivity extends Activity {
    private d a;
    private DecoratedBarcodeView b;

    protected DecoratedBarcodeView a() {
        setContentView(ac7.b);
        return (DecoratedBarcodeView) findViewById(ma7.a);
    }

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        this.b = a();
        d dVar = new d(this, this.b);
        this.a = dVar;
        dVar.p(getIntent(), bundle);
        this.a.l();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        this.a.u();
    }

    @Override
    public boolean onKeyDown(int i, KeyEvent keyEvent) {
        return this.b.onKeyDown(i, keyEvent) || super.onKeyDown(i, keyEvent);
    }

    @Override
    protected void onPause() {
        super.onPause();
        this.a.v();
    }

    @Override
    public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
        this.a.w(i, strArr, iArr);
    }

    @Override
    protected void onResume() {
        super.onResume();
        this.a.x();
    }

    @Override
    protected void onSaveInstanceState(Bundle bundle) {
        super.onSaveInstanceState(bundle);
        this.a.y(bundle);
    }
}