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

Skip to content
Commit 191084fc authored by Hongguang's avatar Hongguang Committed by Hongguang Chen
Browse files

Check discriminator before accessing FrontendCapabilities information.

FrontendCapabilities field is safe_union. Before accessing it, use
discriminator to check if the field is filled or not.

Bug: 190734407
Fix: 190734407
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I744ededd2dfb775783c53279105951d8fdc028f7
parent 61967de3
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