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:
parent
4875e13d6a
commit
f0e0e8184e
5 changed files with 9 additions and 6 deletions
|
|
@ -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"}},
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
on post-fs-data
|
||||
mkdir /data/misc/display 0770 system graphics
|
||||
|
||||
on boot
|
||||
chmod 0660 /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/display_mode
|
||||
chmod 0660 /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/hbm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue