remove some static declaration as warned by android studio

This commit is contained in:
tibbi 2016-09-25 10:15:45 +02:00
parent 1fa730093b
commit 78384662b6
2 changed files with 3 additions and 3 deletions

View File

@ -10,9 +10,9 @@ public class MyCameraImpl {
private static final String TAG = MyCameraImpl.class.getSimpleName(); private static final String TAG = MyCameraImpl.class.getSimpleName();
private static Camera mCamera; private static Camera mCamera;
private static Camera.Parameters mParams; private static Camera.Parameters mParams;
private static Context mContext;
private static MarshmallowCamera mMarshmallowCamera;
private static Bus mBus; private static Bus mBus;
private Context mContext;
private MarshmallowCamera mMarshmallowCamera;
private static boolean mIsFlashlightOn; private static boolean mIsFlashlightOn;
private static boolean mIsMarshmallow; private static boolean mIsMarshmallow;

View File

@ -30,7 +30,7 @@ public class MainActivity extends SimpleActivity {
@BindView(R.id.stroboscope_bar) SeekBar mStroboscopeBar; @BindView(R.id.stroboscope_bar) SeekBar mStroboscopeBar;
private static Bus mBus; private static Bus mBus;
private static MyCameraImpl mCameraImpl; private MyCameraImpl mCameraImpl;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {