Merge "Fix volume key events are dispatched when screen is off" into oc-dev
am: 0db47f9364
Change-Id: I0a7c23f9ad342de17a427c0f22ab683d727a3166
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user