commit | df50b6caacdb04612d2bea2c919b55c04fdd693b | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Thu Jul 20 08:52:22 2023 -0700 |
committer | Patrick Rohr <prohr@google.com> | Thu Jul 20 15:57:52 2023 +0000 |
tree | a18407f0a79fb1b4431a340180d07eb46ebfdfc9 | |
parent | fe4fcecbc18f440365d165b023cbf7d7bd099f71 [diff] |
ethernet: add null check before reporting server interface state If the tethering interface disappears while in server mode (i.e. tethering is enabled), registering a new InterfaceStateListener will trigger an NPE. Test: TH Bug: 290971780 Change-Id: I1d10575e80e68c77ec4771ac37e5fbc07e03c708