If activity is finishing or destroyed, getting activity context will return null results in settings app force close. Directly return if network select activity is finishing or destroyed when handling network scan callback. Bug: 372123288 Change-Id: Ia8c89569761b66da58cafd0140ceda29ac7d678c