summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vinit Deshpande <vinitd@google.com> 2014-12-04 06:21:28 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-12-04 06:21:30 +0000
commit31bd4220855ded4ece67c8ae75227441a12a00a7 (patch)
tree924982096bdb43941585ab80a96e44ee03b017eb
parentcc7c68b54801e07107d6e212ae50a375d730e000 (diff)
parent2576a808f8ed90d0b8fc8eb25da477dc0e10de6e (diff)
Merge "Remove notification for SoftAP turned on" into lmp-mr1-dev
-rw-r--r--services/core/java/com/android/server/connectivity/Tethering.java3
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 2c8e1dc547e0..ef86c6c1622f 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);