diff options
author | John Spurlock <jspurlock@google.com> | 2015-02-26 13:42:53 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2015-02-26 13:42:53 -0500 |
commit | 0c6ba18b5caaed79d0432124fedd20c9169f064d (patch) | |
tree | d5a6191bca3861f78ce99c4dcee42c95ad201e40 /packages/SystemUI/src/com/android/systemui/volume | |
parent | cff41ae3635170b93acca5bfd2813b719e060e0f (diff) | |
download | frameworks_base-0c6ba18b5caaed79d0432124fedd20c9169f064d.zip frameworks_base-0c6ba18b5caaed79d0432124fedd20c9169f064d.tar.gz frameworks_base-0c6ba18b5caaed79d0432124fedd20c9169f064d.tar.bz2 |
VolumePrototypes: Fix restoration notification intent.
Change-Id: Id54268d1b167e7be982d6cbd13c34913279fe97a
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 8048a48..d83c69d 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java +++ b/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java @@ -322,7 +322,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( |