diff options
author | yifan.bai <yifan.bai@unisoc.com> | 2018-08-21 13:42:58 +0800 |
---|---|---|
committer | Yifan Bai <yifan.bai@spreadtrum.com> | 2018-08-31 05:38:42 +0000 |
commit | 257be4778a716279f49d2db6e52703101fb8a4d9 (patch) | |
tree | 18cc9139f73684e8e00002236d73c966cc12466f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 657650eaf0cbd142d94787cd812fc7a9c1d61c2a (diff) |
Fix oldMergedSS is altered to OUT_OF_SERVICE.
ServiceState.copyFrom would throw NPE if s.mCellBandwidths is null.
To fix, if s.mCellBandwidths is null, init mCellBandwidths to be null.
Test: Build pass;
Test: atest FrameworksTelephonyTests:ServiceStateTrackerTest
Bug: 112714563
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions