diff options
| -rw-r--r-- | media/java/android/mtp/MtpPropertyGroup.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/java/android/mtp/MtpPropertyGroup.java b/media/java/android/mtp/MtpPropertyGroup.java index 2e80fe866847..fceedd28e040 100644 --- a/media/java/android/mtp/MtpPropertyGroup.java +++ b/media/java/android/mtp/MtpPropertyGroup.java @@ -337,8 +337,8 @@ class MtpPropertyGroup { for (int objectIndex = 0; objectIndex < count; objectIndex++) { if (c != null) { c.moveToNext(); + handle = (int)c.getLong(0); } - handle = (int)c.getLong(0); // iterate over all properties in the query for the given object for (int propertyIndex = 0; propertyIndex < mProperties.length; propertyIndex++) { |