Allow vold to get the DSU status

Currently, the vold detects the factory reset by checking the
metadata encryption key. This logic is only valid when the
device is not in DSU mode. This CL allows vold to get the DSU
status.

Test: run DSU installation on a Pixel device
Bug: 199222795
Change-Id: Ia6ca3b27afd52347b132d7e2d8be244fb9f15e7d
This commit is contained in:
Howard Chen 2021-09-16 09:55:50 +08:00
parent e17b985e1c
commit 8720492f2e

View file

@ -22,6 +22,7 @@ type_transition vold mnt_media_rw_file:dir mnt_media_rw_stub_file;
get_prop(vold, vold_config_prop)
get_prop(vold, storage_config_prop);
get_prop(vold, incremental_prop);
get_prop(vold, gsid_prop);
set_prop(vold, vold_post_fs_data_prop)
set_prop(vold, vold_prop)