Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Commit

Permalink
chore(lint): fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfidelis committed Apr 15, 2018
1 parent 7211fdf commit 7967e2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package com.lwansbrough.RCTCamera;

import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.media.ExifInterface;
import android.support.media.ExifInterface;
import android.util.Base64;
import android.util.Log;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.reactnative.camera;

import android.Manifest;
import android.annotation.SuppressLint;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.media.CamcorderProfile;
Expand Down Expand Up @@ -186,6 +187,7 @@ protected void onLayout(boolean changed, int left, int top, int right, int botto
preview.layout(paddingX, paddingY, correctWidth + paddingX, correctHeight + paddingY);
}

@SuppressLint("all")
@Override
public void requestLayout() {
// React handles this for us, so we don't need to call super.requestLayout();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.ExifInterface;
import android.support.media.ExifInterface;
import android.net.Uri;
import android.os.AsyncTask;
import android.util.Log;
Expand Down

0 comments on commit 7967e2f

Please sign in to comment.