am 0d5f214a: Fix NPE found in monkey test

* commit '0d5f214aa774ab0ab7c17521984caae11c9f4c2b':
  Fix NPE found in monkey test
main
Tadashi G. Takaoka 2013-03-14 03:39:38 +00:00 committed by Android Git Automerger
commit 1ab33383f9
1 changed files with 3 additions and 0 deletions

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