sdm845-common: Move LiveDisplay HAL default profile path to /data/misc/display

* /data/display does not exist and we are unable to allow
  writing to /data/system since it's a neverallow. Instead
  we are creating /data/misc/display which coredomain is
  allowed to write to.

Change-Id: I1198c61177b75fd2ad460aafab5f2d5010b2ca63
This commit is contained in:
LuK1337
2019-06-17 11:31:36 +02:00
committed by Łukasz Patron
parent 4875e13d6a
commit f0e0e8184e
5 changed files with 9 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ namespace implementation {
static constexpr const char* kModePath =
"/sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/display_mode";
static constexpr const char* kDefaultPath = "/data/system/default_display_mode";
static constexpr const char* kDefaultPath = "/data/misc/display/default_display_mode";
const std::map<int32_t, DisplayModes::ModeInfo> DisplayModes::kModeMap = {
{0, {"Standard", "default"}},