语言

Menu
Sites
Language
lock CPU - Permission denied

Hello,

i want to lock the CPU on my Samsung Gear S3. I used the command  

device_power_request_lock(POWER_LOCK_CPU,0);

I included the Privileges power.

But it didn't work. The return value says 'DEVICE_ERROR_PERMISSION_DENIED'


How can i fix this? I'm thankful for every advice.

 

响应

2 回复
Shaswati Saha

Would you please try adding the privilege below:

<privilege>http://tizen.org/privilege/display</privilege>

 

burn

Thanks. Now it works.