am 1ab33383: am 0d5f214a: Fix NPE found in monkey test

* commit '1ab33383f983082621084a65a168101e5fb526e0':
  Fix NPE found in monkey test
This commit is contained in:
Tadashi G. Takaoka 2013-03-13 20:41:31 -07:00 committed by Android Git Automerger
commit 3153863f04

View file

@ -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)) {