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

Skip to content
Commit 3d248489 authored by Xiao Huang's avatar Xiao Huang
Browse files

Add a boolean for peek enabled

Peek state is always changed to kEnabledNoBuffer after start()
and flush(), if it was not in legacy mode. This requires app
to always disable peek after start or flush if it wants to.

The fix is Adding a boolean to indicate if peek is enabled and
set the state accordingly in start() and flush().

Test: atest DecodeOnlyTest
Bug: 287456023
Change-Id: I5b4f0ea1c1740ba94f59eaf869bd31ae049127c0
parent d49d1480
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment