commit | 87a5411e04929045b27e8e89fab5f394992a09cb | [log] [tgz] |
---|---|---|
author | Sundeep Ghuman <sghuman@google.com> | Thu Feb 15 14:49:15 2018 -0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Feb 16 04:54:56 2018 +0000 |
tree | 12220afcc9d3f51782129f64cc03cc1688da03a8 | |
parent | 51ab22fe7b6114a610c603aa8a7af39d7ecdb345 [diff] |
Safeguard against NPE race condition. It is possible for the main activity to be quit before the posted message is executed, safeguard against NPEs in this scenario. Bug: 73484470 Test: runtest --path frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.jav Change-Id: I34b40089ef2eae213c804e4e379d6ab7825bbceb (cherry picked from commit 5d14fd7b657c9cc2ece5507b96d47a2a0e5b3e25)