Fix NPE found in monkey test
Bug: 8383127 Change-Id: Ifd70acabe118b477f103937c7f1e99e38e210833
This commit is contained in:
parent
a38e14fd55
commit
0d5f214aa7
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ public final class SetupActivity extends Activity {
|
|||
@Override
|
||||
public void handleMessage(final Message msg) {
|
||||
final SetupActivity setupActivity = getOuterInstance();
|
||||
if (setupActivity == null) {
|
||||
return;
|
||||
}
|
||||
switch (msg.what) {
|
||||
case MSG_POLLING_IME_SETTINGS:
|
||||
if (SetupActivity.isThisImeEnabled(setupActivity)) {
|
||||
|
|
Loading…
Reference in a new issue