diff options
author | John Spurlock <jspurlock@google.com> | 2015-02-26 18:52:36 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-02-26 18:52:38 +0000 |
commit | 2a574d33313415a828703377b5ff6725f2e39918 (patch) | |
tree | 3ad50e482d43d1ad29f26dd0571fbf1b7ec98b8d /packages/SystemUI/src/com/android/systemui/volume | |
parent | 5d23ef015f50317816ab516cf10d4e3f1e1bce37 (diff) | |
parent | 0c6ba18b5caaed79d0432124fedd20c9169f064d (diff) | |
download | frameworks_base-2a574d33313415a828703377b5ff6725f2e39918.zip frameworks_base-2a574d33313415a828703377b5ff6725f2e39918.tar.gz frameworks_base-2a574d33313415a828703377b5ff6725f2e39918.tar.bz2 |
Merge "VolumePrototypes: Fix restoration notification intent."
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/volume')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java b/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java index 5e3ec3f..97ebbf1 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java +++ b/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java @@ -324,7 +324,8 @@ public class VolumeUI extends SystemUI { .setContentTitle(mContext.getString( R.string.volumeui_notification_title, getAppLabel(component))) .setContentText(mContext.getString(R.string.volumeui_notification_text)) - .setContentIntent(PendingIntent.getBroadcast(mContext, 0, intent, 0)) + .setContentIntent(PendingIntent.getBroadcast(mContext, 0, intent, + PendingIntent.FLAG_UPDATE_CURRENT)) .setPriority(Notification.PRIORITY_MIN) .setVisibility(Notification.VISIBILITY_PUBLIC) .setColor(mContext.getResources().getColor( |