forked from cory/tildefriends
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:
parent
efdd046ef8
commit
c8c8cb305e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user