summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ingest
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2013-04-26 15:07:01 -0700
committerBobby Georgescu <georgescu@google.com>2013-04-26 15:07:01 -0700
commit568a8cf9ec253a635a36866efc0e3acebbba2a2e (patch)
tree7ef00c0301fdd950961cbacb9c9dec7e609a8d49 /src/com/android/gallery3d/ingest
parent4060811aa01c7fc4ed98aa3f1c98b8948fd0a395 (diff)
downloadandroid_packages_apps_Gallery2-568a8cf9ec253a635a36866efc0e3acebbba2a2e.tar.gz
android_packages_apps_Gallery2-568a8cf9ec253a635a36866efc0e3acebbba2a2e.tar.bz2
android_packages_apps_Gallery2-568a8cf9ec253a635a36866efc0e3acebbba2a2e.zip
Dismiss MTP notification on device disconnect
Bug: 8158516 Change-Id: I7d7fd78b5fb9dc199e9ecdd78440e0f8147fe58d
Diffstat (limited to 'src/com/android/gallery3d/ingest')
-rw-r--r--src/com/android/gallery3d/ingest/IngestService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/ingest/IngestService.java b/src/com/android/gallery3d/ingest/IngestService.java
index 28d721157..05cc6f936 100644
--- a/src/com/android/gallery3d/ingest/IngestService.java
+++ b/src/com/android/gallery3d/ingest/IngestService.java
@@ -196,6 +196,7 @@ public class IngestService extends Service implements ImportTask.Listener,
if (device == mDevice) {
setDevice(null);
mNeedRelaunchNotification = false;
+ mNotificationManager.cancel(NotificationIds.INGEST_NOTIFICATION_SCANNING);
}
}