– a/alps/frameworks/base/media/java/android/mtp/MtpDatabase.java
+++ b/alps/frameworks/base/media/java/android/mtp/MtpDatabase.java
@@ -685,6 +685,11 @@ public class MtpDatabase implements AutoCloseable {
case MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME:
// writable string properties kept in shared preferences
value = mDeviceProperties.getString(Integer.toString(property), “”);
-
String fatName = SystemProperties.get("ro.product.name", "");
-
if(fatName != null && (!fatName.equals("")))
-
{
-
value = fatName;
-
} length = value.length(); if (length > 255) { length = 255;