mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix NPE found in monkey test
Bug: 8383127 Change-Id: Ifd70acabe118b477f103937c7f1e99e38e210833
This commit is contained in:
parent
a38e14fd55
commit
0d5f214aa7
@ -62,6 +62,9 @@ public final class SetupActivity extends Activity {
|
|||||||
@Override
|
@Override
|
||||||
public void handleMessage(final Message msg) {
|
public void handleMessage(final Message msg) {
|
||||||
final SetupActivity setupActivity = getOuterInstance();
|
final SetupActivity setupActivity = getOuterInstance();
|
||||||
|
if (setupActivity == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
switch (msg.what) {
|
switch (msg.what) {
|
||||||
case MSG_POLLING_IME_SETTINGS:
|
case MSG_POLLING_IME_SETTINGS:
|
||||||
if (SetupActivity.isThisImeEnabled(setupActivity)) {
|
if (SetupActivity.isThisImeEnabled(setupActivity)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user