summaryrefslogtreecommitdiffstats
path: root/media/mtp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-11-23 18:45:25 -0500
committerMike Lockwood <lockwood@android.com>2010-11-23 18:45:25 -0500
commitf05ff073495b0bb3e49859aee5b54d3e25088985 (patch)
tree97e888378fd74effefc3eb005d16cdd876f28cb3 /media/mtp
parentd81ce3cf2e6479915658a0829eced062e3655320 (diff)
downloadframeworks_av-f05ff073495b0bb3e49859aee5b54d3e25088985.tar.gz
frameworks_av-f05ff073495b0bb3e49859aee5b54d3e25088985.tar.bz2
frameworks_av-f05ff073495b0bb3e49859aee5b54d3e25088985.zip
MTP: Fix typo in MtpServer::doGetObjectPropList
Change-Id: Ia5fec45a238c49a6797a4ac55457ddb5d6521408 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp')
-rw-r--r--media/mtp/MtpServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mtp/MtpServer.cpp b/media/mtp/MtpServer.cpp
index b841bf3551..c3755f31c1 100644
--- a/media/mtp/MtpServer.cpp
+++ b/media/mtp/MtpServer.cpp
@@ -539,7 +539,7 @@ MtpResponseCode MtpServer::doGetObjectPropList() {
MtpObjectFormat format = mRequest.getParameter(2);
MtpDeviceProperty property = mRequest.getParameter(3);
int groupCode = mRequest.getParameter(4);
- int depth = mRequest.getParameter(4);
+ int depth = mRequest.getParameter(5);
LOGD("GetObjectPropList %d format: %s property: %s group: %d depth: %d\n",
handle, MtpDebug::getFormatCodeName(format),
MtpDebug::getObjectPropCodeName(property), groupCode, depth);