Skip to content

Commit 1ad110b

Browse files
committed
Remove redundant code
1 parent b0052aa commit 1ad110b

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

app/src/main/java/net/sourceforge/opencamera/ExtendedAppInterface.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ public boolean getSaveFramesPref() {
100100
return mSharedPreferences.getBoolean(PreferenceKeys.saveFramesPreferenceKey, false);
101101
}
102102

103-
public boolean getFlashStrobePref() {
104-
return mSharedPreferences.getBoolean(PreferenceKeys.VideoFlashPreferenceKey, false);
105-
}
106-
107103
public void startImu(boolean wantAccel, boolean wantGyro, boolean wantMagnetic, Date currentDate) {
108104
if (wantAccel) {
109105
int accelSampleRate = getSensorSampleRatePref(PreferenceKeys.AccelSampleRatePreferenceKey);
@@ -156,12 +152,6 @@ public void startingVideo() {
156152
mMainActivity.getPreview().showToast(null, "Requested IMU recording but no sensors were enabled");
157153
mMainActivity.getPreview().stopVideo(false);
158154
}
159-
160-
// // TODO: enable blinking flash task
161-
// if (getVideoFlashPref()) {
162-
//
163-
// }
164-
165155
super.startingVideo();
166156
}
167157

app/src/main/java/net/sourceforge/opencamera/cameracontroller/StrobeController.java

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)