This option can be enabled via config_persistUsbDriveNotification
Change-Id: I331a759aeb914e46e3ef4842896d3465d894707a
TICKET: PAELLA-225
<java-symbol type="array" name="app_ops_labels" />
<java-symbol type="string" name="status_bar_su" />
+ <!-- Usb drive persistent notification -->
+ <java-symbol type="bool" name="config_persistUsbDriveNotification" />
</resources>
<string-array name="config_forceEnabledComponents" translatable="false">
</string-array>
+ <!-- Whether to persist the notification for when a usb drive device is plugged in -->
+ <bool name="config_persistUsbDriveNotification">false</bool>
</resources>
mContext.getString(R.string.ext_media_unmount_action),
buildUnmountPendingIntent(vol)))
.setContentIntent(browseIntent)
+ .setOngoing(mContext.getResources().getBoolean(
+ R.bool.config_persistUsbDriveNotification))
.setCategory(Notification.CATEGORY_SYSTEM)
.setPriority(Notification.PRIORITY_LOW);
// Non-adoptable disks can't be snoozed.