| commit | 80828af3def1f37eff1d483520df79ebe4238d55 | [log] [tgz] |
|---|---|---|
| author | Benoit Goby <benoit@android.com> | Wed Dec 05 18:04:01 2012 -0800 |
| committer | Benoit Goby <benoit@android.com> | Wed Dec 05 18:04:01 2012 -0800 |
| tree | 63281fdc8d0699fa7cbaecd56e9f3ce071e8322c | |
| parent | b20fa762b515b5e96c158959d8c8d0c2ff1bf46b [diff] |
init.usb.rc: set sys.usb.config to none before changing it
On encrypted devices, persistent properties are loaded after the device
is decrypted. To properly change sys.usb.config to its persistent value,
it must first be set to "none" and then to ${persist.sys.usb.config}.
Bug: 7678835
Change-Id: I4f91245cedc04e3178ce9cee21390f5b657733c9