diff options
author | Amy Zhang <amyjojo@google.com> | 2021-02-24 17:53:14 -0800 |
---|---|---|
committer | Amy Zhang <amyjojo@google.com> | 2021-02-24 17:53:14 -0800 |
commit | ea05b4b86f6ae62848b31b09fea7c6319c5a30ee (patch) | |
tree | bcc9ddaa9d8cb8ae4640055e874f1e5b8a2f0126 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 075cee61d4c8b83c94921ad2fd13093c4519e6bf (diff) |
Allow filter configurations to have NULL filterSettings
In Tuner java, we mark Settings in all the FilterConfiguration
as nullable. It could even be set null for the filter subtypes
that could have filter settings, for example, the clients could
config TS AV filter with a null settings or a non-null AvSettings.
In tuner JNI, we read settings by default, which could cause crash
Changing the implementation to allow the filter configurations to
have null settings
Test: atest android.media.tv.tuner.cts
Bug: 181152149
Change-Id: I7c1d8721aae6da8e557138537e65966628584a9a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions