1 userdebug_or_eng(` 2 allow surfaceflinger diag_device:chr_file rw_file_perms; 3 ') 4 5 # misc 6 allow surfaceflinger display_data_file:dir create_dir_perms; 7 allow surfaceflinger display_data_file:file create_file_perms; 8 9 # persist 10 allow surfaceflinger persist_file:dir search; 11 12 # persist/display 13 allow surfaceflinger persist_display_file:dir r_dir_perms; 14 allow surfaceflinger persist_display_file:file create_file_perms; 15