Loading src/java/com/android/internal/telephony/domainselection/DomainSelectionConnection.java +5 −3 Original line number Diff line number Diff line Loading @@ -341,9 +341,11 @@ public class DomainSelectionConnection { } private void onCancel(boolean resetScan) { if (mIsWaitingForScanResult) { mIsWaitingForScanResult = false; mPhone.cancelEmergencyNetworkScan(resetScan, null); } } /** * Cancels an ongoing selection operation. It is up to the {@link DomainSelectionService} Loading Loading @@ -390,7 +392,7 @@ public class DomainSelectionConnection { mPhone.unregisterForEmergencyNetworkScan(mHandler); mRegisteredRegistrant = false; } if (mIsWaitingForScanResult) onCancel(true); onCancel(true); mController.removeConnection(this); if (mLooper != null) mLooper.quitSafely(); mLooper = null; Loading Loading
src/java/com/android/internal/telephony/domainselection/DomainSelectionConnection.java +5 −3 Original line number Diff line number Diff line Loading @@ -341,9 +341,11 @@ public class DomainSelectionConnection { } private void onCancel(boolean resetScan) { if (mIsWaitingForScanResult) { mIsWaitingForScanResult = false; mPhone.cancelEmergencyNetworkScan(resetScan, null); } } /** * Cancels an ongoing selection operation. It is up to the {@link DomainSelectionService} Loading Loading @@ -390,7 +392,7 @@ public class DomainSelectionConnection { mPhone.unregisterForEmergencyNetworkScan(mHandler); mRegisteredRegistrant = false; } if (mIsWaitingForScanResult) onCancel(true); onCancel(true); mController.removeConnection(this); if (mLooper != null) mLooper.quitSafely(); mLooper = null; Loading