Loading services/java/com/android/server/ConnectivityService.java +1 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,7 @@ public class ConnectivityService extends IConnectivityManager.Stub { String id = Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID); if (id != null && id.length() > 0) { String name = new String("android_").concat(id); String name = new String("android-").concat(id); SystemProperties.set("net.hostname", name); } } Loading Loading
services/java/com/android/server/ConnectivityService.java +1 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,7 @@ public class ConnectivityService extends IConnectivityManager.Stub { String id = Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID); if (id != null && id.length() > 0) { String name = new String("android_").concat(id); String name = new String("android-").concat(id); SystemProperties.set("net.hostname", name); } } Loading