Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +4 −0 Original line number Diff line number Diff line Loading @@ -2135,6 +2135,10 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, return onKeyguard && (isMethodInsecure || mDozing || mScreenOnComingFromTouch); } public boolean isDozing() { return mDozing; } @Override // NotificationData.Environment public String getCurrentMediaNotificationKey() { return mMediaNotificationKey; Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java +6 −2 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.graphics.Rect; import android.media.session.MediaSessionLegacyHelper; import android.os.IBinder; import android.util.AttributeSet; import android.view.KeyEvent; Loading Loading @@ -133,11 +134,14 @@ public class StatusBarWindowView extends FrameLayout { if (!down) { return mService.onSpacePressed(); } break; case KeyEvent.KEYCODE_VOLUME_DOWN: case KeyEvent.KEYCODE_VOLUME_UP: if (down) { mService.wakeUpIfDozing(event.getEventTime(), false); if (mService.isDozing()) { MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent(event, true); return true; } break; } if (mService.interceptMediaKey(event)) { return true; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +4 −0 Original line number Diff line number Diff line Loading @@ -2135,6 +2135,10 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, return onKeyguard && (isMethodInsecure || mDozing || mScreenOnComingFromTouch); } public boolean isDozing() { return mDozing; } @Override // NotificationData.Environment public String getCurrentMediaNotificationKey() { return mMediaNotificationKey; Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java +6 −2 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.graphics.Rect; import android.media.session.MediaSessionLegacyHelper; import android.os.IBinder; import android.util.AttributeSet; import android.view.KeyEvent; Loading Loading @@ -133,11 +134,14 @@ public class StatusBarWindowView extends FrameLayout { if (!down) { return mService.onSpacePressed(); } break; case KeyEvent.KEYCODE_VOLUME_DOWN: case KeyEvent.KEYCODE_VOLUME_UP: if (down) { mService.wakeUpIfDozing(event.getEventTime(), false); if (mService.isDozing()) { MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent(event, true); return true; } break; } if (mService.interceptMediaKey(event)) { return true; Loading