Fix animations status on LinphoneActivity
This commit is contained in:
parent
9d0855d2f5
commit
beec675a90
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
||||||
|
|
||||||
private void updateAnimationsState() {
|
private void updateAnimationsState() {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
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() {
|
public boolean isAnimationDisabled() {
|
||||||
|
|
Loading…
Reference in a new issue