diff --git a/src/com/android/grafika/ScheduledSwapActivity.java b/src/com/android/grafika/ScheduledSwapActivity.java index 18d40204..b801533f 100644 --- a/src/com/android/grafika/ScheduledSwapActivity.java +++ b/src/com/android/grafika/ScheduledSwapActivity.java @@ -262,7 +262,10 @@ public void onItemSelected(AdapterView parent, View view, int pos, long id) { throw new RuntimeException("Unknown spinner"); } - if (updated) { + if (mRenderThread == null) { + // huh + Log.d(TAG, "In onItemSelected while the activity is paused"); + } else if (updated) { RenderHandler rh = mRenderThread.getHandler(); if (rh != null) { rh.sendSetParameters(mUpdatePatternIndex, mFramesAheadIndex);