Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e62e890b authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

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

parents a3b5960f 46395322
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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");