Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35167d95 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Remove logging from HardwareService flashlight calls



Bug: 4184090

Change-Id: I772b9098e082afcde09ae607d196c1591137fa6d
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 45538666
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -148,7 +148,6 @@ public class LightsService {
                fis.close();
                fis.close();
                return (result != '0');
                return (result != '0');
            } catch (Exception e) {
            } catch (Exception e) {
                Slog.e(TAG, "getFlashlightEnabled failed", e);
                return false;
                return false;
            }
            }
        }
        }
@@ -168,7 +167,7 @@ public class LightsService {
                fos.write(bytes);
                fos.write(bytes);
                fos.close();
                fos.close();
            } catch (Exception e) {
            } catch (Exception e) {
                Slog.e(TAG, "setFlashlightEnabled failed", e);
                // fail silently
            }
            }
        }
        }
    };
    };