Add input_device.config_file.apex property
This new property is to set an apex name when input configuration files are bundled in an apex. libinput checks the new sysprop when loading input configuration. This removes hard-coded apex name (com.android.input.config). Bug: 315080500 Test: adb shell dumpsys input # set "touch.orientationAware = 0" in Touchscreen_0.idc # build/install the input config apex # Observe the Input configuration # "Touch Input Mapper" shows "OrientationAware: false" Change-Id: Ie0bf30bff2ed7f983caa5b893994a5bd2759e192
This commit is contained in:
parent
9fca32695a
commit
c6d75293b9
4 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
hal_threadnetwork_service
|
||||
hidl_memory_prop
|
||||
hidraw_device
|
||||
input_device_config_prop
|
||||
virtual_camera_service
|
||||
ot_daemon_service
|
||||
ot_daemon_socket
|
||||
|
|
|
@ -288,6 +288,9 @@ persist.device_config.memory_safety_native_boot. u:object_r:device_config_mem
|
|||
persist.device_config.memory_safety_native. u:object_r:device_config_memory_safety_native_prop:s0
|
||||
persist.device_config.tethering_u_or_later_native. u:object_r:device_config_tethering_u_or_later_native_prop:s0
|
||||
|
||||
# Prop indicates the apex that bundles input configuration files (*.idc,*.kl,*.kcm)
|
||||
input_device.config_file.apex u:object_r:input_device_config_prop:s0 exact string
|
||||
|
||||
# Properties that is for staging
|
||||
next_boot. u:object_r:next_boot_prop:s0
|
||||
|
||||
|
|
|
@ -520,6 +520,7 @@ allow system_server apk_tmp_file:file create_file_perms;
|
|||
r_dir_file(system_server, vendor_keylayout_file)
|
||||
r_dir_file(system_server, vendor_keychars_file)
|
||||
r_dir_file(system_server, vendor_idc_file)
|
||||
get_prop(system_server, input_device_config_prop)
|
||||
|
||||
# Access /vendor/{app,framework,overlay}
|
||||
r_dir_file(system_server, vendor_app_file)
|
||||
|
|
|
@ -160,6 +160,7 @@ system_vendor_config_prop(hw_timeout_multiplier_prop)
|
|||
system_vendor_config_prop(hypervisor_prop)
|
||||
system_vendor_config_prop(hypervisor_restricted_prop)
|
||||
system_vendor_config_prop(incremental_prop)
|
||||
system_vendor_config_prop(input_device_config_prop)
|
||||
system_vendor_config_prop(keyguard_config_prop)
|
||||
system_vendor_config_prop(keystore_config_prop)
|
||||
system_vendor_config_prop(lmkd_config_prop)
|
||||
|
|
Loading…
Reference in a new issue