Fix animations status on LinphoneActivity

This commit is contained in:
Sylvain Berfini 2012-10-05 11:40:49 +02:00
parent 9d0855d2f5
commit beec675a90

View file

@ -288,7 +288,7 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
private void updateAnimationsState() {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
isAnimationDisabled = getApplicationContext().getResources().getBoolean(R.bool.disable_animations) || !prefs.getBoolean(getString(R.string.pref_animation_enable_key), true);
isAnimationDisabled = getApplicationContext().getResources().getBoolean(R.bool.disable_animations) || !prefs.getBoolean(getString(R.string.pref_animation_enable_key), false);
}
public boolean isAnimationDisabled() {