mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 13:04:05 -08:00
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:
parent
fbd48c4c74
commit
5f22834653
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue