Merge "Fix volume key events are dispatched when screen is off" into oc-dev

am: 0db47f9364

Change-Id: I0a7c23f9ad342de17a427c0f22ab683d727a3166
This commit is contained in:
David Lin
2017-04-27 04:50:55 +00:00
committed by android-build-merger

View File

@@ -5909,7 +5909,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
// handled it send it to the session manager to
// figure out.
MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent(
event, AudioManager.USE_DEFAULT_STREAM_TYPE, false);
event, AudioManager.USE_DEFAULT_STREAM_TYPE, true);
}
break;
}