commit | faa3728ab80dce592beec78837f802342878e430 | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Thu Feb 06 14:34:08 2020 +0800 |
committer | markchien <markchien@google.com> | Thu Feb 06 17:18:39 2020 +0800 |
tree | 7232276f1901b0f6afb83d98dcea6f58a3df4059 | |
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