From 78384662b6f864fac24e2fd7a693760f20f6af83 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 25 Sep 2016 10:15:45 +0200 Subject: [PATCH] remove some static declaration as warned by android studio --- .../java/com/simplemobiletools/flashlight/MyCameraImpl.java | 4 ++-- .../simplemobiletools/flashlight/activities/MainActivity.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/simplemobiletools/flashlight/MyCameraImpl.java b/app/src/main/java/com/simplemobiletools/flashlight/MyCameraImpl.java index 1a237d4..1b9dc9b 100644 --- a/app/src/main/java/com/simplemobiletools/flashlight/MyCameraImpl.java +++ b/app/src/main/java/com/simplemobiletools/flashlight/MyCameraImpl.java @@ -10,9 +10,9 @@ public class MyCameraImpl { private static final String TAG = MyCameraImpl.class.getSimpleName(); private static Camera mCamera; private static Camera.Parameters mParams; - private static Context mContext; - private static MarshmallowCamera mMarshmallowCamera; private static Bus mBus; + private Context mContext; + private MarshmallowCamera mMarshmallowCamera; private static boolean mIsFlashlightOn; private static boolean mIsMarshmallow; diff --git a/app/src/main/java/com/simplemobiletools/flashlight/activities/MainActivity.java b/app/src/main/java/com/simplemobiletools/flashlight/activities/MainActivity.java index 6307dc5..eb587f9 100644 --- a/app/src/main/java/com/simplemobiletools/flashlight/activities/MainActivity.java +++ b/app/src/main/java/com/simplemobiletools/flashlight/activities/MainActivity.java @@ -30,7 +30,7 @@ public class MainActivity extends SimpleActivity { @BindView(R.id.stroboscope_bar) SeekBar mStroboscopeBar; private static Bus mBus; - private static MyCameraImpl mCameraImpl; + private MyCameraImpl mCameraImpl; @Override protected void onCreate(Bundle savedInstanceState) {