Use PendingIntent.FLAG_IMMUTABLE instead.
PendingIntent.FLAG_IMMUTABLE
FYI check this: USBMonitor#register