commit | 191084fc41f7e18d676a12d93a7770d12271fad5 | [log] [tgz] |
---|---|---|
author | Hongguang <hgchen@google.com> | Thu Jun 10 10:52:39 2021 -0700 |
committer | Hongguang Chen <hgchen@google.com> | Thu Jun 10 23:21:56 2021 +0000 |
tree | 1917a32575e4b0bc7def88a86c896af67ef14d9e | |
parent | 61967de34fe97ca6c8c476b5712cb264200d10bd [diff] |
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