9436677538
lmkd.reinit property allows vendors to trigger lmkd reinitialization. Add lmkd_prop to support lmkd.* properties inlcuding lmkd.reinit. Bug: 155149944 Test: setprop lmkd.reinit 1 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Merged-In: I6ba598bad7ebb40fd6f23de473f25f32e53c996d Change-Id: I6ba598bad7ebb40fd6f23de473f25f32e53c996d
11 lines
243 B
Text
11 lines
243 B
Text
typeattribute lmkd coredomain;
|
|
|
|
init_daemon_domain(lmkd)
|
|
|
|
# Set sys.lmk.* properties.
|
|
set_prop(lmkd, system_lmk_prop)
|
|
|
|
# Set lmkd.* properties.
|
|
set_prop(lmkd, lmkd_prop)
|
|
|
|
neverallow { -init -lmkd -vendor_init } lmkd_prop:property_service set;
|