summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Edward Savage-Jones <edward.savage-jones@sony.com> 2024-10-09 09:20:09 +0200
committer Yurii Zubrytskyi <zyy@google.com> 2024-11-05 20:05:20 +0000
commit0c3ad80f2de7bfd6d8fb9bda73e96fd4026401b3 (patch)
tree25b80ec814d59896bef0ddad4e808c6de1ee2e5a /libs/input/PointerController.cpp
parent238801c3ab0ec5896bf8d7e2f2fc3cf03880c32b (diff)
Allow packages to be enabled depending on sku value
This change allows packages to be enabled on boot depending on the sku of the device. This enables the same product image to be used on different skus. Example: Packages are listed here in a disabled state: /product/etc/sysconfig/disabled-in-sku.xml <?xml version="1.0" encoding="utf-8"?> <config> <disabled-in-sku package="com.sony.product1.app"/> <disabled-in-sku package="com.sony.product2.app"/> </config> Then enabled depending on the sku values read from "ro.boot.hardware.sku" e.g. an sku of '00001': /product/etc/sysconfig/sku_00001/enabled-in-sku-override.xml <?xml version="1.0" encoding="utf-8"?> <config> <enabled-in-sku-override package="com.sony.product2.app"/> </config> Status of apps after customisation: product2 app - enabled product1 app - disabled and not visible to PackageManager Bug: 376275452 Test: atest FrameworksServicesTests:com.android.server.systemconfig.SystemConfigTest Change-Id: Id1418beda7e264cab90086836c32785341fb5aac
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions