mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 09:10:54 +00:00
支持rs快速自恢复
Signed-off-by: wugeyu <wugeyu@huawei.com> Change-Id: Ie210231e1b5e578205dcddd10e561359140864c0
This commit is contained in:
parent
6604e1f211
commit
1ac7c56004
16
graphic.cfg
16
graphic.cfg
@ -5,17 +5,29 @@
|
||||
"chmod 666 /dev/mali0",
|
||||
"chown system graphics /dev/mali0"
|
||||
]
|
||||
}, {
|
||||
"name": "services:restartrender_service",
|
||||
"cmds": [
|
||||
"reset foundation",
|
||||
"reset bootanimation",
|
||||
"reset gralloc_host",
|
||||
"reset hwc_host"
|
||||
]
|
||||
}
|
||||
],
|
||||
"services" : [{
|
||||
"name" : "render_service",
|
||||
"path" : ["/system/bin/render_service"],
|
||||
"critical" : [1, 1, 60],
|
||||
"critical" : [1, 5, 60],
|
||||
"importance" : -20,
|
||||
"uid" : "system",
|
||||
"gid" : ["system", "shell", "uhid", "root"],
|
||||
"caps" : ["SYS_NICE"],
|
||||
"secon" : "u:r:render_service:s0"
|
||||
"secon" : "u:r:render_service:s0",
|
||||
"jobs" : {
|
||||
"on-restart" : "services:restartrender_service"
|
||||
},
|
||||
"once" : 0
|
||||
}, {
|
||||
"name" : "bootanimation",
|
||||
"path" : ["/system/bin/bootanimation"],
|
||||
|
Loading…
Reference in New Issue
Block a user