commit | b73302ecf06dd928c9da212619abbf3f4703492c | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Mon Jun 11 10:23:20 2018 -0700 |
committer | Tyler Gunn <tgunn@google.com> | Mon Jun 11 10:23:20 2018 -0700 |
tree | a031845a116037ec712e870f09eff911b4108bba | |
parent | 1d36da10610408b826f691805022b18889ffdfb3 [diff] |
Move receiver registration to onPause/onResume for MobileNetworkSettings. Moving registration and unregistration of receivers on the MobileNetworkSettings page to the onPause/onResume methods. Previously this was done in onCreate and onDestroy. Also, adding null checks in the receivers to ensure that they won't try to update the UI when the activity is null. Test: Manual Bug: 109899326 Change-Id: Ic5a23c33d8162152e99e033eab9046cd70051482