commit | a9002d157caed26b3e746ff382d6f702c200827f | [log] [tgz] |
---|---|---|
author | hoffc <quic_hoffc@quicinc.com> | Tue Oct 22 09:27:35 2024 +0800 |
committer | Hoff Cheng <quic_hoffc@quicinc.com> | Tue Oct 22 06:25:37 2024 +0000 |
tree | 923d45ac69d91b136934ba8ef44716e84d942924 | |
parent | 0583090e98ba8f937cf2cf62173867ecded2c37f [diff] |
Fix force close for updating UI after activity destroyed. If activity is finishing or destroyed, getting activity context will return null results in settings app force close. Do not call scan callback if network select activity is finishing or destroyed. Test: build pass and run NetworkSelectSettingsTest unit test pass. Bug: 372123288 Change-Id: I28307490c75fe04d54dcf1637f33f4b9ba1fe635