Writing an upper threshold value of 35% for the battery level when
the device goes into retail demo mode.
Bug: 38105321
Change-Id: I21fd84cdd367914387749c4faa403cdeb50edd13
Signed-off-by: yihsiang_peng <yihsiang_peng@htc.com>
Signed-off-by: Yueyao Zhu <yueyao@google.com>
Loading process (e.g. walleye):
- rootdir/init.rc
|- /vendor/etc/init/hw/init.walleye.rc
|- /vendor/etc/init/hw/init.walleye.usb.rc
|- /vendor/etc/init/hw/init.wahoo.usb.rc
This CL moves the init.walleye.usb.rc to /vendor/etc/init/hw, and
imports init.wahoo.usb.rc from init.walleye.usb.rc.
Test: Build with related CLs and USB File Transfer works on muskie
Bug: 38301110
Change-Id: Iaae98854f70256e17460ee1caae0d43ea585588c
Signed-off-by: Yueyao Zhu <yueyao@google.com>
The following configuration files need to reside in vendor
partition to work with generic AOSP system image.
Move uevent.*.rc to /vendor
Move fstab.* to /vendor/etc
Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init.
Also the following two make file variables need to be set:
- BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
- PRODUCT_ENFORCE_RRO_TARGETS := framework-res
Comment out "import init.wahoo.usb.sh" in init.common.usb.rc
since /init will load all rc files under /vendor/etc/init.
Bug: 37927875
Test: These files are under /vendor instead of / or /system,
path in init.common.usb.rc is changed to vendor accordingly,
and the resulted system/vendor images work on the device.
Change-Id: I63e18860eed9330e0d7b53b3df09483f2bfce5ea
Gadget stack would be configured based on persist.sys.usb.config.
Reset the usb stack before configuring.
Test: Manually verify modem overlay functions for usbradio bootmode
Bug: 31947358
Change-Id: I9bf5c1ad1626bba90689d7abfeaa8c27e82a7ecb
Creating a common script for M/W which would copied into target's
root as init.muskie.usb.rc or init.walleye.usb.rc. We can extend
this another level deeper if required.
Bug: 31947358
Change-Id: Ie10248ac4ba0f97c32de8758c89bd9b893615cda