Merge "Fix volume key events are dispatched when screen is off" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0db47f9364
@@ -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