summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
authorsgopal1 <saranya.gopal@intel.com>2018-07-10 09:31:33 +0530
committersgopal1 <saranya.gopal@intel.com>2018-07-10 09:54:03 +0530
commit58484d7c6995ae57dfd8265e7a568af87d09a72d (patch)
tree4d3009aa0e722483f6ed148fa5a7957045c2c43b /libs/hwui/ProgramCache.cpp
parentff801e5fd719c9aa797edd14e13562727b0e1236 (diff)
UsbDescriptor: Add finite timeout to control transfer
Using "0" as value for USB control transfer timeout results in an unlimited timeout in case of bad USB devices. In host kernels where hung task panic is enabled, this results in device reboot. So, add a finite timeout for USB control transfer. Test: manual run and test with bad USB devices. Change-Id: Ibc13ca4d8259a08ae7419bb3bcac9c161b1d3693 Signed-off-by: sgopal1 <saranya.gopal@intel.com>
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions