Bug 1130030 - Make EditorBranch implement apply. r=nalexander

This commit is contained in:
Richard Newman 2015-02-05 18:12:22 -08:00
parent 0194905b1b
commit fd6fa8cbea

View File

@ -22,9 +22,9 @@ public class EditorBranch implements Editor {
this.editor = prefs.edit();
}
@Override
public void apply() {
// Android <=r8 SharedPreferences.Editor does not contain apply() for overriding.
this.editor.commit();
this.editor.apply();
}
@Override