From b2653e69708eda88d796cc32489e5e2283a13508 Mon Sep 17 00:00:00 2001 From: Dmitri Plotnikov Date: Tue, 11 Apr 2017 11:45:00 -0700 Subject: [PATCH] Fixing content intent on External Storage notification Bug: 37245861 Test: attach an external drive, tap on the notification Change-Id: I72934fe8bff1dd86edc67ad865c82c19593af7e2 --- .../src/com/android/systemui/usb/StorageNotification.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java index cfe16ddbe9dfd..c3a53dedd0cf6 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java +++ b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java @@ -387,7 +387,7 @@ public class StorageNotification extends SystemUI { .addAction(new Action(R.drawable.ic_eject_24dp, mContext.getString(R.string.ext_media_unmount_action), buildUnmountPendingIntent(vol))) - .setContentIntent(buildUnmountPendingIntent(vol)) + .setContentIntent(browseIntent) .setCategory(Notification.CATEGORY_SYSTEM); // Non-adoptable disks can't be snoozed. if (disk.isAdoptable()) {