* By default hal_lineage_livedisplay_default does not
have permissions to write to /data/misc.
Change-Id: I5599a5e6602ea326322328aeda1c6eb0411a5568
static constexpr const char* kModePath = "/sys/class/mdnie/mdnie/mode";
static constexpr const char* kModeMaxPath = "/sys/class/mdnie/mdnie/mode_max";
-static constexpr const char* kDefaultPath = "/data/misc/.displaymodedefault";
+static constexpr const char* kDefaultPath = "/data/vendor/display/.displaymodedefault";
const std::map<int32_t, std::string> DisplayModes::kModeMap = {
{0, "Dynamic"},
+on post-fs-data
+ mkdir /data/vendor/display 0770 system system
+
service livedisplay-hal-2-0-samsung-exynos /system/bin/hw/lineage.livedisplay@2.0-service.samsung-exynos
class hal
user system
+on post-fs-data
+ mkdir /data/vendor/display 0770 system system
+
service livedisplay-hal-2-0-samsung-qcom /system/bin/hw/lineage.livedisplay@2.0-service.samsung-qcom
class late_start
user system
+on post-fs-data
+ mkdir /data/vendor/display 0770 system system
+
service vendor.livedisplay-hal-2-0-samsung-exynos /vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.samsung-exynos
class hal
user system
+on post-fs-data
+ mkdir /data/vendor/display 0770 system system
+
service vendor.livedisplay-hal-2-0-samsung-qcom /vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.samsung-qcom
class late_start
user system