Merge "MTP: Use ro.product.manufacturer system property value for MTP manufacturer name"

This commit is contained in:
Mike Lockwood
2011-01-31 14:13:30 -08:00
committed by Android (Google) Code Review

View File

@@ -343,8 +343,9 @@ MtpResponseCode MtpServer::doGetDeviceInfo() {
mData.putAUInt16(deviceProperties); // Device Properties Supported
mData.putAUInt16(captureFormats); // Capture Formats
mData.putAUInt16(playbackFormats); // Playback Formats
// FIXME
string.set("Google, Inc.");
property_get("ro.product.manufacturer", prop_value, "unknown manufacturer");
string.set(prop_value);
mData.putString(string); // Manufacturer
property_get("ro.product.model", prop_value, "MTP Device");