Fixing content intent on External Storage notification

Bug: 37245861
Test: attach an external drive, tap on the notification
Change-Id: I72934fe8bff1dd86edc67ad865c82c19593af7e2
This commit is contained in:
Dmitri Plotnikov
2017-04-11 11:45:00 -07:00
parent c922c4827a
commit b2653e6970

View File

@@ -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()) {