remove some static declaration as warned by android studio
This commit is contained in:
parent
1fa730093b
commit
78384662b6
|
@ -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;
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue