Fix an android startup crash.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4534 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-10-18 16:58:11 +00:00
parent efdd046ef8
commit c8c8cb305e

View File

@ -109,7 +109,7 @@ public class MainActivity extends Activity {
});
}
}
if (!key.reset()) {
if (key != null && !key.reset()) {
Log.w("tildefriends", "watcher is no longer valid");
break;
}