[FP4T-89][2] mfg_util
* Comment
There is no "USB Preference" notification after run command "adb shell mfg_util --do_factoryreset"
* Root Cause
Set persist.vendor.usb.config as "mfg" in --do_factoryreset
* Solution
Use persist.sys.usb.config in place of persist.vendor.usb.config and set persist.sys.usb.config as "none".
* Test Steps
1. Set inproduction flag
2. do factory reset in MMITest
3. Run "adb shell mfg_util --do_factoryreset" and "adb shell mfg_util --clear_inproductionflag"
4. DUT reboot
5. The USB Preference notification should be found when the USB cable is plugged in.
* Test Result
Pass
Change-Id: Ia0032189bbd8c61e1677ad83f169490d11bfdfb1
diff --git a/etc/init.qcom.usb.sh b/etc/init.qcom.usb.sh
index 08ab294..70d464c 100644
--- a/etc/init.qcom.usb.sh
+++ b/etc/init.qcom.usb.sh
@@ -133,7 +133,7 @@
inproductionflag=`getprop ro.boot.inproductionflag`
if [ "$inproductionflag" == "true" ];then
- setprop persist.vendor.usb.config diag,serial_cdev,rmnet,adb
+ setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb
fi
# This check is needed for GKI 1.0 targets where QDSS is not available