diff options
author | Vinit Deshpande <vinitd@google.com> | 2014-11-18 13:56:15 -0800 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2014-12-02 10:26:27 -0800 |
commit | 2576a808f8ed90d0b8fc8eb25da477dc0e10de6e (patch) | |
tree | e3a57f7883aef4190d8d5393ab5b13bbb0974cdf /services/core/java/com/android/server/connectivity/Tethering.java | |
parent | ef6178a99c57b6de3dc02455e570f932b154b8e1 (diff) | |
download | frameworks_base-2576a808f8ed90d0b8fc8eb25da477dc0e10de6e.zip frameworks_base-2576a808f8ed90d0b8fc8eb25da477dc0e10de6e.tar.gz frameworks_base-2576a808f8ed90d0b8fc8eb25da477dc0e10de6e.tar.bz2 |
Remove notification for SoftAP turned on
Since we have a status icon for SoftAP, the persistent
notification is no longer necessary.
Bug: 17318034
Change-Id: I0c8acb643fc032c9b12feb3a9a155cf95e58eca1
Diffstat (limited to 'services/core/java/com/android/server/connectivity/Tethering.java')
-rw-r--r-- | services/core/java/com/android/server/connectivity/Tethering.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/connectivity/Tethering.java b/services/core/java/com/android/server/connectivity/Tethering.java index 2c8e1dc..ef86c6c 100644 --- a/services/core/java/com/android/server/connectivity/Tethering.java +++ b/services/core/java/com/android/server/connectivity/Tethering.java @@ -429,7 +429,8 @@ public class Tethering extends BaseNetworkObserver { if (bluetoothTethered) { showTetheredNotification(com.android.internal.R.drawable.stat_sys_tether_general); } else { - showTetheredNotification(com.android.internal.R.drawable.stat_sys_tether_wifi); + /* We now have a status bar icon for WifiTethering, so drop the notification */ + clearTetheredNotification(); } } else if (bluetoothTethered) { showTetheredNotification(com.android.internal.R.drawable.stat_sys_tether_bluetooth); |