summaryrefslogtreecommitdiff
path: root/tools/stringslint/stringslint.py
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2021-01-22 14:49:57 -0800
committerPeter Collingbourne <pcc@google.com>2021-01-22 14:50:01 -0800
commitb3e68491e3965eb22ca5ace65c446da3e6a6f5c0 (patch)
tree4f1d59dca44ab4ec1ee190c600b947af8579affb /tools/stringslint/stringslint.py
parentc7906266c5fd42ca4febaaf4a2bccab5eb45ddcc (diff)
Don't crash if the MediaCodecList is null.
We need to avoid calling the JavaMediaCodecListWrapper constructor if the MediaCodecList is null because the constructor assumes its argument to be non-null. Since throwing a JNI exception does not implicitly return we need to return null to avoid entering the constructor. Change-Id: If473d2f6f219719ff81c29307637f28b7e31af77
Diffstat (limited to 'tools/stringslint/stringslint.py')
0 files changed, 0 insertions, 0 deletions