Log message typo fix

git-svn-id: https://zxing.googlecode.com/svn/trunk@1896 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2011-08-25 09:01:29 +00:00
parent af24cdf9af
commit b5e7ee3008

View file

@ -40,12 +40,8 @@ final class FlashlightManager {
private static final Method setFlashEnabledMethod;
static {
iHardwareService = getHardwareService();
Log.v(TAG, "This device does " + (iHardwareService == null ? "not" : "") + " support control of a flashlight");
setFlashEnabledMethod = getSetFlashEnabledMethod(iHardwareService);
if (iHardwareService == null) {
Log.v(TAG, "This device does supports control of a flashlight");
} else {
Log.v(TAG, "This device does not support control of a flashlight");
}
}
private FlashlightManager() {