summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2018-04-25 12:53:04 -0700
committerNathan Harold <nharold@google.com>2018-04-25 18:58:32 -0700
commitc9bad6ef7aa2448c58d94791032c0b66fdbd9120 (patch)
treee07fc08d6382b7fe7a44269dfd96b9866116f056 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent336076b2a20bfc0defaf46c83ecb52157e2b1d8b (diff)
Use Empty List for Default PhysicalChannelConfig
If a caller registers to listen() for a physical channel config message, the beavior is to immediately trigger an unsol. In the case that a list hasn't been sent from the modem, we should send a default empty list rather than a null. This is the preferred approach for Android APIs because it reduces the reliance on null checks by callers. Bug: 78536847 Test: ¯\_(ツ)_/¯ Change-Id: I9e59195f5d64264ab473b2fd7e4f7eb6446c4829
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions