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

Commit 3164a497 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "Remove logging from HardwareService flashlight calls"

parents 163ac289 35167d95
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
            }
            }
        }
        }
    };
    };