commit | 12fc50ca3bf53a39ef60d4974a66e9248b43bb60 | [log] [tgz] |
---|---|---|
author | Hieu Dang <thebestguy@google.com> | Thu Mar 30 06:16:03 2023 +0000 |
committer | Hieu Dang <thebestguy@google.com> | Fri Mar 31 05:30:44 2023 +0000 |
tree | 4cc103140e2a6488fa7e342f14287095b455b736 | |
parent | 5e8769bcc5f54d7b285ba3869e7665cc2f021dcd [diff] |
Check availability on start for TetherSettings mUnavailable variable is only assigned when creating the activity. This make the app crash when we disable tethering and then resume + toggle on the Bluetooth Tethering. This cl remove the variable and directly check whenever the app start. Bug: 270285631 Test: manual Change-Id: I0dff1d11cbcc06816a69985f96eee828bb83e87c