mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 04:25:33 -04:00
universal7885: SamsungParts: Match latest source changes
This commit is contained in:
parent
1206a2fb55
commit
1d39eb76e8
10 changed files with 29 additions and 122 deletions
|
|
@ -13,7 +13,7 @@ extern "C"
|
|||
JNIEXPORT void JNICALL
|
||||
Java_com_eurekateam_samsungextras_interfaces_GPU_setGPU(JNIEnv *env, jclass clazz, jint enable) {
|
||||
android::sp<IGpu> service = IGpu::getService();
|
||||
if (enable == 1){
|
||||
if (enable == 1){
|
||||
service->setGpuWritable(Enable::ENABLE);
|
||||
}else{
|
||||
service->setGpuWritable(Enable::DISABLE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue