Make light off by default

git-svn-id: https://zxing.googlecode.com/svn/trunk@1260 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2010-03-26 16:22:20 +00:00
parent fbd48c4c74
commit 5f22834653

View file

@ -160,7 +160,7 @@ final class CameraManager {
setCameraParameters();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
if (prefs.getBoolean(PreferencesActivity.KEY_FRONT_LIGHT, true)) {
if (prefs.getBoolean(PreferencesActivity.KEY_FRONT_LIGHT, false)) {
FlashlightManager.enableFlashlight();
}
}