diff options
author | markchien <markchien@google.com> | 2020-02-06 14:34:08 +0800 |
---|---|---|
committer | markchien <markchien@google.com> | 2020-02-06 17:18:39 +0800 |
commit | faa3728ab80dce592beec78837f802342878e430 (patch) | |
tree | 7232276f1901b0f6afb83d98dcea6f58a3df4059 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 497afcff0ca3bfd60de4c5647ad7bb0167e6abb9 (diff) |
Always report non-null TetherStatesParcel
Before this change, tetherStatesParcel may be null when there is no
avaialbe tethering interface yet. TetheringManager should handle null
case. But it is annoy to check null case each time and easy to have error.
Report non-null empty TetherStatesParcel object instead.
Bug: 148874619
Test: -build, flash, boot
-atest TetheringTests
-OFF/ON hotspot
Change-Id: I0717e7958c9409648170498d5e76322207856de3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions