only update volkeys pref after pref window's gone away rather than on

every focus gain.
This commit is contained in:
eehouse 2010-04-17 04:15:57 +00:00
parent 98d4da136e
commit afcf669be3

View file

@ -295,10 +295,10 @@ public class BoardActivity extends Activity implements UtilCtxt {
if ( m_firingPrefs ) {
m_firingPrefs = false;
m_view.prefsChanged();
m_volKeysZoom = CommonPrefs.getVolKeysZoom();
m_view.setUseZoomControl( !m_volKeysZoom );
m_jniThread.handle( JNIThread.JNICmd.CMD_PREFS_CHANGE );
}
m_volKeysZoom = CommonPrefs.getVolKeysZoom();
m_view.setUseZoomControl( !m_volKeysZoom );
// onContentChanged();
}
}