summaryrefslogtreecommitdiffstats
path: root/media/java
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2012-09-11 10:49:34 -0700
committerMike Lockwood <lockwood@google.com>2012-09-11 10:49:34 -0700
commit58e6831ccb54b33a914115e88ebb67e720615fb8 (patch)
tree797de3d25690d4bd447214c2ebae9871bf9d0eb8 /media/java
parentcae2e3887d826f1c50e2bdc621b824def7ab855e (diff)
downloadframeworks_base-58e6831ccb54b33a914115e88ebb67e720615fb8.zip
frameworks_base-58e6831ccb54b33a914115e88ebb67e720615fb8.tar.gz
frameworks_base-58e6831ccb54b33a914115e88ebb67e720615fb8.tar.bz2
MtpDatabase: Fix typo affecting parent and format queries
Bug: 7114350 Change-Id: I80269cfcebf521ea13cae30c1c9bd477d76adbd1 Signed-off-by: Mike Lockwood <lockwood@google.com>
Diffstat (limited to 'media/java')
-rwxr-xr-xmedia/java/android/mtp/MtpDatabase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/java/android/mtp/MtpDatabase.java b/media/java/android/mtp/MtpDatabase.java
index 7532d79..79250fb 100755
--- a/media/java/android/mtp/MtpDatabase.java
+++ b/media/java/android/mtp/MtpDatabase.java
@@ -103,8 +103,8 @@ public class MtpDatabase {
private static final String PATH_WHERE = Files.FileColumns.DATA + "=?";
private static final String STORAGE_WHERE = Files.FileColumns.STORAGE_ID + "=?";
- private static final String FORMAT_WHERE = Files.FileColumns.PARENT + "=?";
- private static final String PARENT_WHERE = Files.FileColumns.FORMAT + "=?";
+ private static final String FORMAT_WHERE = Files.FileColumns.FORMAT + "=?";
+ private static final String PARENT_WHERE = Files.FileColumns.PARENT + "=?";
private static final String STORAGE_FORMAT_WHERE = STORAGE_WHERE + " AND "
+ Files.FileColumns.FORMAT + "=?";
private static final String STORAGE_PARENT_WHERE = STORAGE_WHERE + " AND "