Remove logging from HardwareService flashlight calls
Bug: 4184090 Change-Id: I772b9098e082afcde09ae607d196c1591137fa6d Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@ -148,7 +148,6 @@ public class LightsService {
|
||||
fis.close();
|
||||
return (result != '0');
|
||||
} catch (Exception e) {
|
||||
Slog.e(TAG, "getFlashlightEnabled failed", e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -168,7 +167,7 @@ public class LightsService {
|
||||
fos.write(bytes);
|
||||
fos.close();
|
||||
} catch (Exception e) {
|
||||
Slog.e(TAG, "setFlashlightEnabled failed", e);
|
||||
// fail silently
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user