ソースを参照

Revert "Update one more broadcast"

This reverts commit 7abc8f12469cead1394167abe63716cf5e24afe0.

# Conflicts:
#	src/com/owncloud/android/datamodel/FileDataStorageManager.java
Mario Danic 8 年 前
コミット
bc0bbd7842

+ 0 - 1
src/com/owncloud/android/datamodel/FileDataStorageManager.java

@@ -1627,7 +1627,6 @@ public class FileDataStorageManager {
         if (path != null) {
         if (path != null) {
             Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE);
             Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE);
             intent.setData(Uri.fromFile(new File(path)));
             intent.setData(Uri.fromFile(new File(path)));
-            intent.setPackage(MainApp.getAppContext().getPackageName());
             MainApp.getAppContext().sendBroadcast(intent);
             MainApp.getAppContext().sendBroadcast(intent);
         }
         }
     }
     }