Loading core/java/android/app/NotificationManager.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -231,7 +231,12 @@ public class NotificationManager if (notification.sound != null) { if (notification.sound != null) { notification.sound = notification.sound.getCanonicalUri(); notification.sound = notification.sound.getCanonicalUri(); if (StrictMode.vmFileUriExposureEnabled()) { if (StrictMode.vmFileUriExposureEnabled()) { notification.sound.checkFileUriExposed("Notification.sound"); //notification.sound.checkFileUriExposed("Notification.sound"); if ("file".equals(notification.sound.getScheme())) { Log.w(TAG, "notify: warning: file:// Uri exposed through Notification.sound: " + notification.sound, new Throwable()); } } } } } fixLegacySmallIcon(notification, pkg); fixLegacySmallIcon(notification, pkg); Loading Loading
core/java/android/app/NotificationManager.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -231,7 +231,12 @@ public class NotificationManager if (notification.sound != null) { if (notification.sound != null) { notification.sound = notification.sound.getCanonicalUri(); notification.sound = notification.sound.getCanonicalUri(); if (StrictMode.vmFileUriExposureEnabled()) { if (StrictMode.vmFileUriExposureEnabled()) { notification.sound.checkFileUriExposed("Notification.sound"); //notification.sound.checkFileUriExposed("Notification.sound"); if ("file".equals(notification.sound.getScheme())) { Log.w(TAG, "notify: warning: file:// Uri exposed through Notification.sound: " + notification.sound, new Throwable()); } } } } } fixLegacySmallIcon(notification, pkg); fixLegacySmallIcon(notification, pkg); Loading