Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
change default UsbPortSecurity mode to CHARGING_ONLY_WHEN_LOCKED
Browse files Browse the repository at this point in the history
  • Loading branch information
muhomorr authored and thestinger committed Jun 6, 2024
1 parent c5767a0 commit 92655af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/java/android/ext/settings/UsbPortSecurity.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ public class UsbPortSecurity {

// keep in sync with USB HAL implementations that check this sysprop during init
public static final IntSysProperty MODE_SETTING = new IntSysProperty(
"persist.security.usb_mode", MODE_CHARGING_ONLY_WHEN_LOCKED_AFU);
"persist.security.usb_mode", MODE_CHARGING_ONLY_WHEN_LOCKED);
}

0 comments on commit 92655af

Please sign in to comment.