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

Skip to content
Commit 2e129510 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

Codec2: make C2Status into an enumeration

This is to distinguish it from android::status_t and to avoid implicit
conversions.

As part of this change move status_t return values to C2Status, rename
the old C2Error to the new C2Status name to better reflect its purpose.

Kept block::error() method names as those are to be used to
check for any errors after an implicit bool cast, e.g. if (view.error)...

Bug: 64121714
Test: unittest
Change-Id: I09d8e28cf63cdd9d0ac9fd29a8da502b89c52f81
parent cce43761
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