Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 099628bf authored by Mark Chien's avatar Mark Chien Committed by Android (Google) Code Review
Browse files

Merge "Remove no-op TetheringEventCallback default function" into rvc-dev

parents 517fffaa 14628e49
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@ public class HotspotControllerImpl implements HotspotController, WifiManager.Sof
            new TetheringManager.TetheringEventCallback() {
                @Override
                public void onTetheringSupported(boolean supported) {
                    super.onTetheringSupported(supported);
                    if (mIsTetheringSupported != supported) {
                        mIsTetheringSupported = supported;
                        fireHotspotAvailabilityChanged();
@@ -75,7 +74,6 @@ public class HotspotControllerImpl implements HotspotController, WifiManager.Sof
                @Override
                public void onTetherableInterfaceRegexpsChanged(
                        TetheringManager.TetheringInterfaceRegexps reg) {
                    super.onTetherableInterfaceRegexpsChanged(reg);
                    final boolean newValue = reg.getTetherableWifiRegexs().size() != 0;
                    if (mHasTetherableWifiRegexs != newValue) {
                        mHasTetherableWifiRegexs = newValue;