diff options
author | Dan Sandler <dsandler@android.com> | 2014-01-30 14:12:28 -0500 |
---|---|---|
committer | Dan Sandler <dsandler@android.com> | 2014-01-30 14:20:43 -0500 |
commit | bfe61f696de3ceecda51612d3b26f20af33bc16c (patch) | |
tree | fdc40fcbbf570d60dfc0e82697823f5d93e9c1e5 /services/core/java/com/android/server/storage | |
parent | 87b9ef5228ba6459e5feb661915c597f23688802 (diff) | |
download | frameworks_base-bfe61f696de3ceecda51612d3b26f20af33bc16c.zip frameworks_base-bfe61f696de3ceecda51612d3b26f20af33bc16c.tar.gz frameworks_base-bfe61f696de3ceecda51612d3b26f20af33bc16c.tar.bz2 |
Make some notifications public (safe for secure lockscreens):
- USB connected
- ADB enabled
- Low storage
- USB mass storage status
- Tethering status
Change-Id: I8224d7bcc8141fc90ac5e28d4392c52724c524a7
Diffstat (limited to 'services/core/java/com/android/server/storage')
-rw-r--r-- | services/core/java/com/android/server/storage/DeviceStorageMonitorService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/storage/DeviceStorageMonitorService.java b/services/core/java/com/android/server/storage/DeviceStorageMonitorService.java index 8805084..c18cbe9 100644 --- a/services/core/java/com/android/server/storage/DeviceStorageMonitorService.java +++ b/services/core/java/com/android/server/storage/DeviceStorageMonitorService.java @@ -454,6 +454,7 @@ public class DeviceStorageMonitorService extends SystemService { notification.tickerText = title; notification.flags |= Notification.FLAG_NO_CLEAR; notification.setLatestEventInfo(context, title, details, intent); + notification.visibility = Notification.VISIBILITY_PUBLIC; mNotificationMgr.notifyAsUser(null, LOW_MEMORY_NOTIFICATION_ID, notification, UserHandle.ALL); context.sendStickyBroadcastAsUser(mStorageLowIntent, UserHandle.ALL); |