OSDN Git Service

am 475cd6e0: am 6179bdc7: am d1db305b: Merge "Fix MTP importer notification issue...
authorBobby Georgescu <georgescu@google.com>
Thu, 15 Aug 2013 16:47:39 +0000 (09:47 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Thu, 15 Aug 2013 16:47:39 +0000 (09:47 -0700)
* commit '475cd6e04892c5a6f374326b7d9ed443da5d7303':
  Fix MTP importer notification issue

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) {