platform/android/Rhodes/src/com/rhomobile/rhodes/RhoActivity.java in rhodes-2.2.3 vs platform/android/Rhodes/src/com/rhomobile/rhodes/RhoActivity.java in rhodes-2.2.4.beta.1

- old
+ new

@@ -5,10 +5,12 @@ public class RhoActivity extends Activity { @Override protected void onStart() { super.onStart(); - RhodesService.getInstance().activityStarted(); + if (RhodesService.getInstance() != null) { + RhodesService.getInstance().activityStarted(); + } } @Override protected void onStop() { RhodesService.getInstance().activityStopped();