mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 17:12:31 -06:00
20 lines
774 B
Java
20 lines
774 B
Java
|
package com.journeyapps.barcodescanner;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
import androidx.activity.result.contract.ActivityResultContract;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class ScanContract extends ActivityResultContract<ScanOptions, ScanIntentResult> {
|
||
|
@Override // androidx.activity.result.contract.ActivityResultContract
|
||
|
public Intent createIntent(Context context, ScanOptions scanOptions) {
|
||
|
return scanOptions.createScanIntent(context);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Can't rename method to resolve collision */
|
||
|
@Override // androidx.activity.result.contract.ActivityResultContract
|
||
|
public ScanIntentResult parseResult(int i, Intent intent) {
|
||
|
return ScanIntentResult.parseActivityResult(i, intent);
|
||
|
}
|
||
|
}
|