diff options
author | Mike Lockwood <lockwood@google.com> | 2010-10-14 18:03:25 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-11-15 11:46:51 -0500 |
commit | b6da06e9dfb916da4b88e09e8a83e22ddae445b5 (patch) | |
tree | 304c854e47b34e5a22fa885627b4d3597a9d7550 /media/mtp/MtpProperty.cpp | |
parent | 2d71233de5450f1b128c8149fdbdf39b937f3cb8 (diff) | |
download | frameworks_av-b6da06e9dfb916da4b88e09e8a83e22ddae445b5.zip frameworks_av-b6da06e9dfb916da4b88e09e8a83e22ddae445b5.tar.gz frameworks_av-b6da06e9dfb916da4b88e09e8a83e22ddae445b5.tar.bz2 |
MTP: Partial implementation of the GetObjectPropList command
In this initial implementation we only support fetching one property at a time.
Support depth = 0 (single object) or depth = 1 (all objects in a directory)
Reimplemented GetObjectPropValue on top of GetObjectPropList, since the former
is a special case of the latter.
Change-Id: Ia76ee61741d6ee3902b5c5d9fc094cf86dfaf650
Signed-off-by: Mike Lockwood <lockwood@google.com>
Diffstat (limited to 'media/mtp/MtpProperty.cpp')
-rw-r--r-- | media/mtp/MtpProperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mtp/MtpProperty.cpp b/media/mtp/MtpProperty.cpp index f7c12d6..86889c3 100644 --- a/media/mtp/MtpProperty.cpp +++ b/media/mtp/MtpProperty.cpp @@ -53,7 +53,7 @@ MtpProperty::MtpProperty(MtpPropertyCode propCode, mDefaultArrayValues(NULL), mCurrentArrayLength(0), mCurrentArrayValues(NULL), - mGroupCode(0), + mGroupCode(-1), // disable multiple properties in GetObjectPropList for now mFormFlag(kFormNone), mEnumLength(0), mEnumValues(NULL) |