commit | 20b1414fe002df2d8aeb584dc1227f2962dfa17f | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Fri Feb 23 17:03:55 2018 -0800 |
committer | Jerry Zhang <zhangjerry@google.com> | Sat Feb 24 02:19:16 2018 +0000 |
tree | e4947cf5ace2dce7fb060e12a18922215c8862a1 | |
parent | 4e056c8bfacc2be6d36e47305df4a85f87d02bc4 [diff] |
Initialize functions as NONE in legacy handler. Since adb is being removed from the functions read from sys.usb.config anyway, it makes more sense to set it to NONE on boot. This prevents errors with devices that already have oem functions in the config. Bug: 73010922 Test: Power test passes Change-Id: I855ba228dbdd9f8c8a91842a8beb68a789fdf1e9