usb: add disable_contanimant_detection
This patch adds the disable_contaminant_detection script, providing a command-based method to bypass moisture detection. Bug: 295127978 Test: disable moisture detection by 'setprop vendor.usb.contaminantdisable true' Change-Id: I035d656401aedf11a9a5390504bec46b3c4e2634 Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
This commit is contained in:
parent
4461b53174
commit
453a29320a
4 changed files with 21 additions and 0 deletions
|
@ -34,3 +34,10 @@ license {
|
|||
"NOTICE",
|
||||
],
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "disable_contaminant_detection.sh",
|
||||
src: "disable_contaminant_detection.sh",
|
||||
vendor: true,
|
||||
sub_dir: "hw",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue