Remove TODO
This commit is contained in:
parent
2d931687fb
commit
e281506462
@ -60,7 +60,7 @@ public class QRScannerActivity extends BaseActivity {
|
|||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {
|
||||||
requestPermissions(new String[] {Manifest.permission.CAMERA}, 1234); // TODO: handle denied
|
requestPermissions(new String[] {Manifest.permission.CAMERA}, 1234);
|
||||||
}
|
}
|
||||||
|
|
||||||
binding = ActivityQrScannerBinding.inflate(getLayoutInflater());
|
binding = ActivityQrScannerBinding.inflate(getLayoutInflater());
|
||||||
|
Loading…
Reference in New Issue
Block a user