summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Roy Luo <royluo@google.com> 2024-12-04 11:06:19 +0000
committer Roy Luo <royluo@google.com> 2024-12-11 00:20:34 +0000
commit5e49cc0c4c87a129e67871292a1d3fd5dfdebebe (patch)
tree1c9fa0ccd797f60cf2324e0ac5700e20026eb6e4 /libs/androidfw/Util.cpp
parentfb23f3fa92f890c0cf49b671e94bfe4fa66d542f (diff)
Guard uevent migration with genfs label version
android.hardware.usb.flags.enable_udc_sysfs_usb_state_update introduces a new way to detect usb state update, however, it depends on system server having access to sysfs_udc fs context, which is only guaranteed in genfs label version later than 202404. Guard the feature enablement with genfs label version check. Bug: 339241080 Test: Tested on shiba Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update Change-Id: Ib7de2e780c8046a7745e650c1dc6c04eaca1b4f5
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions