Revert "Allow ESP call MediaStore's update() to move/rename a folder."

This reverts commit 7b2c7c4552979d8b343561f412453ffaf6b3f7f2.

Reason for revert: b/36407399

Change-Id: I6eae4dbd0b79acc63eec762f1a67d4d6c4c86f8f
(cherry picked from commit 1bc4b4c112973f9857eca37339d3fb90c5cb005c)
diff --git a/src/com/android/providers/media/MediaProvider.java b/src/com/android/providers/media/MediaProvider.java
index 6672885..c234f59 100644
--- a/src/com/android/providers/media/MediaProvider.java
+++ b/src/com/android/providers/media/MediaProvider.java
@@ -3318,11 +3318,10 @@
         synchronized (sGetTableAndWhereParam) {
             getTableAndWhere(uri, match, userWhere, sGetTableAndWhereParam);
 
-            // special case renaming directories via MTP and ESP.
+            // special case renaming directories via MTP.
             // in this case we must update all paths in the database with
             // the directory name as a prefix
-            if ((match == MTP_OBJECTS || match == MTP_OBJECTS_ID
-                        || match == FILES || match == FILES_ID)
+            if ((match == MTP_OBJECTS || match == MTP_OBJECTS_ID)
                     && initialValues != null && initialValues.size() == 1) {
                 String oldPath = null;
                 String newPath = initialValues.getAsString(MediaStore.MediaColumns.DATA);