diff options
| author | 2010-10-14 18:03:25 -0400 | |
|---|---|---|
| committer | 2010-11-15 11:46:51 -0500 | |
| commit | e2ad6ec1718ef0c0e8230f8f62e7cfefcf598b6a (patch) | |
| tree | 0f7de42a1ed233d704558830643e73acd954b940 /media/mtp/MtpProperty.cpp | |
| parent | 44d47ad56502a1ccb308a9ec2cd05120a53fac3d (diff) | |
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 f7c12d6300ff..86889c3ab80c 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) |