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

Commit b2781e74 authored by Jaewan Kim's avatar Jaewan Kim
Browse files

MediaSessionService: Leave volume key event logs by default

Test: Manual test (Check the logcat)
Change-Id: Ibdc2b776ee839276d1de0932cfd584134a80fc8d
parent 158cd7b1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1053,7 +1053,7 @@ public class MediaSessionService extends SystemService implements Monitor {
            final int uid = Binder.getCallingUid();
            final long token = Binder.clearCallingIdentity();

            if (DEBUG) {
            if (DEBUG_KEY_EVENT) {
                Log.d(TAG, "dispatchVolumeKeyEvent, pid=" + pid + ", uid=" + uid + ", event="
                        + keyEvent);
            }
@@ -1242,7 +1242,7 @@ public class MediaSessionService extends SystemService implements Monitor {
                    && AudioSystem.isStreamActive(suggestedStream, 0)) {
                preferSuggestedStream = true;
            }
            if (DEBUG) {
            if (DEBUG_KEY_EVENT) {
                Log.d(TAG, "Adjusting " + session + " by " + direction + ". flags="
                        + flags + ", suggestedStream=" + suggestedStream
                        + ", preferSuggestedStream=" + preferSuggestedStream);