PR cleanup #1164

Merged
akinwale merged 32 commits from pr-1118 into master 2021-03-08 20:15:23 +01:00
Showing only changes of commit 5879cbd3db - Show all commits

View file

@ -123,7 +123,7 @@ public class PublishFragment extends BaseFragment implements
private void displayPreviewWithCameraX() {
Context context = getContext();
if (context != null && MainActivity.hasPermission(Manifest.permission.CAMERA, context)) {
if (MainActivity.hasPermission(Manifest.permission.CAMERA, context)) {
cameraProviderFuture = ProcessCameraProvider.getInstance(context);
cameraProviderFuture.addListener(new Runnable() {
@Override