update gradle/libs and use Perference.Editor.apply() instead of commit()

This commit is contained in:
Christian Schabesberger 2015-11-26 19:36:14 +01:00
parent e41c46c075
commit 71bb59dbb8
4 changed files with 6 additions and 6 deletions

View file

@ -348,6 +348,6 @@ public class PlayVideoActivity extends AppCompatActivity {
}
SharedPreferences.Editor editor = prefs.edit();
editor.putBoolean(PREF_IS_LANDSCAPE, isLandscape);
editor.commit();
editor.apply();
}
}