Merge "init.usb.rc: set sys.usb.config to none before changing it" into jb-mr1.1-dev

This commit is contained in:
Benoit Goby 2012-12-06 11:59:54 -08:00 committed by Android (Google) Code Review
commit a2411eedb2
1 changed files with 1 additions and 0 deletions

View File

@ -88,4 +88,5 @@ on property:sys.usb.config=accessory,audio_source,adb
# Used to set USB configuration at boot and to switch the configuration
# when changing the default configuration
on property:persist.sys.usb.config=*
setprop sys.usb.config none
setprop sys.usb.config ${persist.sys.usb.config}