Make low storage notification PendingIntent immutable
Malicious apps, especially NotificationListeners can hijack such
intents and grant themselves access to sensitive URIs by relying on
the OS URI granting mechanism. This change mitigates the security
issue and also adheres to the new enforcement requiring Android S+
targeting apps to explicitly specifiy a mutability flag.
(cherry picked from commit df9a44e1fb3968c6e3121aa76515a58f5e69fbee)
1 file changed