init : display: Add permission to camera bw node.
Allow surfaceflinger process to access fb0/mdp/bw_mode_bitmap, so that framework can hint the camera usage to limit the bw. Change-Id: I566010e1b988ab06f6618967f5b9c6d0cfb68890
This commit is contained in:
parent
4406b7b8d7
commit
77b2be061e
|
@ -226,6 +226,12 @@ void set_display_node_perms()
|
|||
snprintf(tmp, sizeof(tmp), "%sfb0/idle_time", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||
|
||||
// Set the permission for mdp/bw_mode_bitmap.
|
||||
snprintf(tmp, sizeof(tmp), "%sfb0/mdp/bw_mode_bitmap", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||
|
||||
// Set write permission for dynamic_fps node.
|
||||
snprintf(tmp, sizeof(tmp), "%sfb0/dynamic_fps", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
|
|
Loading…
Reference in New Issue