导航菜单

页面标题

页面副标题

91看片 v1.0.4 - CaptureActivity.java 源代码

正在查看: 91看片 v1.0.4 应用的 CaptureActivity.java JAVA 源代码文件

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


package com.journeyapps.barcodescanner;

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

public class CaptureActivity extends Activity {

    private e f6542f;

    private DecoratedBarcodeView f6543g;

    protected DecoratedBarcodeView a() {
        setContentView(l.f17051b);
        return (DecoratedBarcodeView) findViewById(k.f17038a);
    }

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

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

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

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

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

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

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