init: Set permissions for dynamic partial update node
Set file permissions for dynamic partial update system node to control the feature at runtime. Change-Id: Icd4799907d168c2606c8811c73f4fedd847d55f0
This commit is contained in:
parent
82dc6e4db6
commit
7591884b64
|
@ -179,6 +179,10 @@ void set_display_node_perms()
|
||||||
snprintf(tmp, sizeof(tmp), "%sfb0/dynamic_fps", sys_fb_path);
|
snprintf(tmp, sizeof(tmp), "%sfb0/dynamic_fps", sys_fb_path);
|
||||||
setPerms(tmp, 0664);
|
setPerms(tmp, 0664);
|
||||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||||
|
// Set permissions for dynamic partial update
|
||||||
|
snprintf(tmp, sizeof(tmp), "%sfb0/dyn_pu", sys_fb_path);
|
||||||
|
setPerms(tmp, 0664);
|
||||||
|
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int check_rlim_action()
|
static int check_rlim_action()
|
||||||
|
|
Loading…
Reference in New Issue