diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2019-11-06 13:58:23 -0800 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@google.com> | 2019-11-22 22:39:57 +0000 |
commit | c6dd53b3672fdbabb46f1dcc30a7d3a2acde8b0f (patch) | |
tree | 4e8d7b7f4ffc02e6b226aada9fa5f02eaaa40992 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 153f66fb91ef8f75d6fa4a3bf611c537b3e4d919 (diff) |
Allow null TransmitPowerRange ctor argument for ModemActivityInfo
There are existing usages in other Android code that pass null here,
causing a crash. Instead of fixing these other places (ctor is already
annotated as NonNull), let's just be graceful here as there is already
logic to handle empty input.
Bug: 143565652
Test: it builds
Change-Id: I86544bc47ff05f19a86e211fb1af87585ea68bd5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions