commit | 35167d95e155f4b4a962bad9613ae66f6a36f88b | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Mon Mar 28 20:29:14 2011 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Mon Mar 28 20:29:14 2011 -0700 |
tree | 96eb2ceb51b0dfa53b227c34f7be559c0bd67338 | |
parent | 45538666db67a3fd528765b22bd4da30280128ef [diff] |
Remove logging from HardwareService flashlight calls Bug: 4184090 Change-Id: I772b9098e082afcde09ae607d196c1591137fa6d Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/services/java/com/android/server/LightsService.java b/services/java/com/android/server/LightsService.java index 21f2bcf..1e95f3e 100644 --- a/services/java/com/android/server/LightsService.java +++ b/services/java/com/android/server/LightsService.java
@@ -148,7 +148,6 @@ fis.close(); return (result != '0'); } catch (Exception e) { - Slog.e(TAG, "getFlashlightEnabled failed", e); return false; } } @@ -168,7 +167,7 @@ fos.write(bytes); fos.close(); } catch (Exception e) { - Slog.e(TAG, "setFlashlightEnabled failed", e); + // fail silently } } };