Skip to content

Commit

Permalink
Merge "powerHAL: Removes the system call for reducing the refresh rat…
Browse files Browse the repository at this point in the history
…e when the device is in low power mode." into lmp-dev
  • Loading branch information
Ruchi Kandoi authored and Android (Google) Code Review committed Jul 23, 2014
2 parents e44e326 + 6afe544 commit d26ef8c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions power/power_hammerhead.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,6 @@ static void power_hint( __attribute__((unused)) struct power_module *module,
freq_set[cpu] = true;
}
}
// reduces the refresh rate
system("service call SurfaceFlinger 1016 i32 1");
} else {
low_power_mode = false;
for (cpu = 0; cpu < TOTAL_CPUS; cpu++) {
Expand All @@ -378,8 +376,6 @@ static void power_hint( __attribute__((unused)) struct power_module *module,
freq_set[cpu] = false;
}
}
// restores the refresh rate
system("service call SurfaceFlinger 1016 i32 0");
}
pthread_mutex_unlock(&low_power_mode_lock);
break;
Expand Down

0 comments on commit d26ef8c

Please sign in to comment.