Skip to content

Commit 7fd1386

Browse files
Robert GreenwaltAndroid (Google) Code Review
authored andcommitted
Merge "Properly cancel Tether notification." into jb-mr1-dev
2 parents a9afacc + 3cab6b0 commit 7fd1386

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/java/com/android/server/connectivity/Tethering.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@ private void showTetheredNotification(int icon) {
454454
if (mTetheredNotification.icon == icon) {
455455
return;
456456
}
457-
notificationManager.cancel(mTetheredNotification.icon);
457+
notificationManager.cancelAsUser(null, mTetheredNotification.icon,
458+
UserHandle.ALL);
458459
}
459460

460461
Intent intent = new Intent();

0 commit comments

Comments
 (0)