power: Reduce log level of setBoost() method to VERBOSE.
This avoids flooding the log, when using the device. I android.hardware.power-service-qti: Power setBoost: 0, duration: 351 I android.hardware.power-service-qti: Power setBoost: 1, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 0 I android.hardware.power-service-qti: Power setBoost: 1, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 1119 I android.hardware.power-service-qti: Power setBoost: 1, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 0 I android.hardware.power-service-qti: Power setBoost: 1, duration: 0 I android.hardware.power-service-qti: Power setBoost: 0, duration: 1492 I android.hardware.power-service-qti: Power setBoost: 1, duration: 0 Change-Id: I4e3c9ba79412875947593ea49739c3c30eabc429
This commit is contained in:
committed by
Michael Bestas
parent
da09e1ea1e
commit
b5dbefb18a
@@ -144,7 +144,8 @@ ndk::ScopedAStatus Power::isModeSupported(Mode type, bool* _aidl_return) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ndk::ScopedAStatus Power::setBoost(Boost type, int32_t durationMs) {
|
ndk::ScopedAStatus Power::setBoost(Boost type, int32_t durationMs) {
|
||||||
LOG(INFO) << "Power setBoost: " << static_cast<int32_t>(type) << ", duration: " << durationMs;
|
LOG(VERBOSE) << "Power setBoost: " << static_cast<int32_t>(type)
|
||||||
|
<< ", duration: " << durationMs;
|
||||||
return ndk::ScopedAStatus::ok();
|
return ndk::ScopedAStatus::ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user