summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-05-03 10:35:40 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-05-03 10:37:08 +0200
commit20cfe471df22bc8b6a0dc1b224668364dc86c6c1 (patch)
treec178ff87a128b07c429a012b644eda093a08a994
parent51da7a3e3ba816e7dc575f88c62ecfec98f4a66f (diff)
downloaddevice_goldelico_gta04-20cfe471df22bc8b6a0dc1b224668364dc86c6c1.zip
device_goldelico_gta04-20cfe471df22bc8b6a0dc1b224668364dc86c6c1.tar.gz
device_goldelico_gta04-20cfe471df22bc8b6a0dc1b224668364dc86c6c1.tar.bz2
Manufacturer consistency
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--cm.mk3
-rw-r--r--full_gta04.mk4
-rwxr-xr-xrootdir/init.gta04.usb.rc2
3 files changed, 3 insertions, 6 deletions
diff --git a/cm.mk b/cm.mk
index 5b5c721..70ce8fc 100644
--- a/cm.mk
+++ b/cm.mk
@@ -28,6 +28,3 @@ $(call inherit-product, device/goldelico/gta04/full_gta04.mk)
PRODUCT_NAME := replicant_gta04
PRODUCT_DEVICE := gta04
-PRODUCT_BRAND := Goldelico
-PRODUCT_MODEL := GTA04
-PRODUCT_MANUFACTURER := goldelico
diff --git a/full_gta04.mk b/full_gta04.mk
index 2ea58f5..2607871 100644
--- a/full_gta04.mk
+++ b/full_gta04.mk
@@ -19,6 +19,6 @@ $(call inherit-product, device/goldelico/gta04/gta04.mk)
PRODUCT_NAME := full_gta04
PRODUCT_DEVICE := gta04
-PRODUCT_BRAND := goldelico
-PRODUCT_MANUFACTURER := goldelico
+PRODUCT_BRAND := Goldelico
PRODUCT_MODEL := GTA04
+PRODUCT_MANUFACTURER := Goldelico
diff --git a/rootdir/init.gta04.usb.rc b/rootdir/init.gta04.usb.rc
index 373cbf6..5a3216c 100755
--- a/rootdir/init.gta04.usb.rc
+++ b/rootdir/init.gta04.usb.rc
@@ -3,7 +3,7 @@ on boot
write /sys/class/android_usb/android0/iProduct ${ro.product.model}
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
- write /sys/class/android_usb/android0/f_rndis/manufacturer Goldelico
+ write /sys/class/android_usb/android0/f_rndis/manufacturer ${ro.product.manufacturer}
write /sys/class/android_usb/android0/f_rndis/vendorID 18d1
write /sys/class/android_usb/android0/f_rndis/wceis 1