修改
/framework/av/media/mtp/MtpServer.cpp
MtpResponseCode MtpServer::doGetDeviceInfo() {
property_get("ro.product.model", prop_value, "MTP Device");
string.set(prop_value);
可以直接改为string.set(xxx); // xxx即为要显示的值。
MtpResponseCode MtpServer::doGetDeviceInfo() {
property_get("ro.product.model", prop_value, "MTP Device");
string.set(prop_value);
可以直接改为string.set(xxx); // xxx即为要显示的值。