Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd22edc6 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

MTP: Fix NPE in MtpPropertyGroup



Change-Id: I65fbd3f2f62724434136c6ae310e6647884902d2
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 5ed9a805
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,8 +337,8 @@ class MtpPropertyGroup {
            for (int objectIndex = 0; objectIndex < count; objectIndex++) {
                if (c != null) {
                    c.moveToNext();
                }
                    handle = (int)c.getLong(0);
                }

                // iterate over all properties in the query for the given object
                for (int propertyIndex = 0; propertyIndex < mProperties.length; propertyIndex++) {