summaryrefslogtreecommitdiffstats
path: root/media/mtp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-12-07 10:51:20 -0800
committerMike Lockwood <lockwood@android.com>2010-12-07 10:51:20 -0800
commit2e09e289b7e136481e9215bb61ed47cee5d9919b (patch)
treed0b7c4c456984d0fd2bf1be2d1427e314db0135f /media/mtp
parentddc4497c17b23d4a9828f977d5ac11ee36059da9 (diff)
downloadframeworks_av-2e09e289b7e136481e9215bb61ed47cee5d9919b.zip
frameworks_av-2e09e289b7e136481e9215bb61ed47cee5d9919b.tar.gz
frameworks_av-2e09e289b7e136481e9215bb61ed47cee5d9919b.tar.bz2
MTP: Use correct return type for getSupportedObjectProperties
Change-Id: I6d5bd63fecaa3384dfa1b97dbc0d89ea5668981f 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 de6cbac..5c1e02a 100644
--- a/media/mtp/MtpServer.cpp
+++ b/media/mtp/MtpServer.cpp
@@ -423,7 +423,7 @@ MtpResponseCode MtpServer::doGetObjectPropsSupported() {
if (!mSessionOpen)
return MTP_RESPONSE_SESSION_NOT_OPEN;
MtpObjectFormat format = mRequest.getParameter(1);
- MtpDevicePropertyList* properties = mDatabase->getSupportedObjectProperties(format);
+ MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format);
mData.putAUInt16(properties);
delete properties;
return MTP_RESPONSE_OK;