导航菜单

页面标题

页面副标题

度娘 v1.0.1 - CaptureActivity.java 源代码

正在查看: 度娘 v1.0.1 应用的 CaptureActivity.java JAVA 源代码文件

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


package com.journeyapps.barcodescanner;

import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import i7.k;
import i7.l;

public class CaptureActivity extends Activity {

    private e f6928h;

    private DecoratedBarcodeView f6929i;

    protected DecoratedBarcodeView a() {
        setContentView(l.f9633b);
        return (DecoratedBarcodeView) findViewById(k.f9620a);
    }

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        this.f6929i = a();
        e eVar = new e(this, this.f6929i);
        this.f6928h = eVar;
        eVar.p(getIntent(), bundle);
        this.f6928h.l();
    }

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

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

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

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

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

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