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/connectivity/Tethering.java | |
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/connectivity/Tethering.java')
-rw-r--r-- | services/core/java/com/android/server/connectivity/Tethering.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/connectivity/Tethering.java b/services/core/java/com/android/server/connectivity/Tethering.java index 5971737..b233943 100644 --- a/services/core/java/com/android/server/connectivity/Tethering.java +++ b/services/core/java/com/android/server/connectivity/Tethering.java @@ -470,6 +470,7 @@ public class Tethering extends BaseNetworkObserver { mTetheredNotification.defaults &= ~Notification.DEFAULT_SOUND; mTetheredNotification.flags = Notification.FLAG_ONGOING_EVENT; mTetheredNotification.tickerText = title; + mTetheredNotification.visibility = Notification.VISIBILITY_PUBLIC; mTetheredNotification.setLatestEventInfo(mContext, title, message, pi); notificationManager.notifyAsUser(null, mTetheredNotification.icon, |