Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08b5b645 authored by Andy Hung's avatar Andy Hung Committed by android-build-merger
Browse files

Merge "Remove powerlog from audio hal" into oc-dev am: 1631d1c5

am: 3272ac8a

Change-Id: Ib6b1037e57ae5c5f271cdcf1d5e0a855a572f4ad
parents 643bd3d0 3272ac8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3693,7 +3693,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev,

    // power_log may be null if the format is not supported
    // or not a userdebug or eng build.
    if (is_userdebug_or_eng_build()) {
    if (false /* is_userdebug_or_eng_build() */) {
        const size_t POWER_LOG_FRAMES_PER_ENTRY =
                (long long)config->sample_rate * POWER_LOG_SAMPLING_INTERVAL_MS / 1000;