OSDN Git Service

Fix MTP importer notification issue
authorBobby Georgescu <georgescu@google.com>
Thu, 15 Aug 2013 16:36:52 +0000 (09:36 -0700)
committerBobby Georgescu <georgescu@google.com>
Thu, 15 Aug 2013 16:38:07 +0000 (09:38 -0700)
Bug: 10136971
Change-Id: I3e4ba869401bcd0418a6280a1c2771884cb016be

src/com/android/gallery3d/ingest/IngestService.java

index 0ce3ab6..9d406b1 100644 (file)
@@ -166,6 +166,9 @@ public class IngestService extends Service implements ImportTask.Listener,
             mClientActivity.onIndexFinish();
             mRedeliverIndexFinish = false;
         }
+        if (mDevice != null) {
+            mNeedRelaunchNotification = true;
+        }
     }
 
     protected void importSelectedItems(SparseBooleanArray selected, Adapter adapter) {