commit | ba9b86b6257d98d3c1312ff188b22e0f6b785cad | [log] [tgz] |
---|---|---|
author | Ryuto Sawada <ryuto.x.sawada@sonymobile.com> | Mon Oct 03 14:03:16 2016 +0900 |
committer | Yoshiaki Naka <yoshiaki.naka@sonymobile.com> | Thu Oct 06 17:17:18 2016 +0900 |
tree | a61c79165d521d35fb0b5d736b20542d7fb016e1 | |
parent | a7e7124a9e4469e83c8f19899236d3ed55a3c8a5 [diff] |
Avoid NullPointerException when activity is automatically recreated Android system recreates activity with the saved Bundle object if it is unexpectedly destroyed. If the death of the phone process caused such unexpected destruction of activity, it is possible that StkAppService is not started yet when the activity is recreated. Bug: 31980334 Test: Confirmed NPE does not happen after the phone process is killed. Change-Id: I7aeb570a6d866ec4ae6c33c7cea309bf83080d0a