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

Commit c2740c24 authored by Nick Chalko's avatar Nick Chalko
Browse files

Improve error messages for initial switch state.

Bug:80313567
Change-Id: I47ea6af3560d48e2674ff82e1b8bd3d7f7756a22
Test: m-j and verfied log output
(cherry picked from commit f0e036a91e102c29fce1102a1afa7953b80ae98b)
parent e4eab61e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -339,7 +339,8 @@ final class WiredAccessoryManager implements WiredAccessoryCallbacks {
                        Slog.w(TAG, uei.getSwitchStatePath() +
                                " not found while attempting to determine initial switch state");
                    } catch (Exception e) {
                        Slog.e(TAG, "" , e);
                        Slog.e(TAG, "Error while attempting to determine initial switch state for "
                                + uei.getDevName() , e);
                    }
                }
            }