From 2576a808f8ed90d0b8fc8eb25da477dc0e10de6e Mon Sep 17 00:00:00 2001 From: Vinit Deshpande Date: Tue, 18 Nov 2014 13:56:15 -0800 Subject: [PATCH] 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 --- .../core/java/com/android/server/connectivity/Tethering.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/connectivity/Tethering.java b/services/core/java/com/android/server/connectivity/Tethering.java index 2c8e1dc547e0c..ef86c6c1622ff 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);