dizzymonkey/titanium_mobile — comment on commit 97754711f9089bc4ea764d2c7e13706c914f1cc4
File: android/titanium/src/java/org/appcelerator/titanium/TiApplication.java line 162
By marshall:

This should also check the underlying object, not just the weak reference itself (in both situations), i.e..

`if (tiApp.rootActivity != null) {
TiRootActivity rootActivity = tiApp.rootActivity.get();
if (rootActivity != null) {
return rootActivity;
}
}`