docs: add info to SharedPreferences.Editor.putString

am: fb48521f41

Change-Id: I948c8091a70180e29a601d6cba40d7fb0cf2d76a
This commit is contained in:
Mark Lu
2016-08-08 22:49:08 +00:00
committed by android-build-merger

View File

@@ -72,7 +72,9 @@ public interface SharedPreferences {
* {@link #commit} or {@link #apply} are called. * {@link #commit} or {@link #apply} are called.
* *
* @param key The name of the preference to modify. * @param key The name of the preference to modify.
* @param value The new value for the preference. * @param value The new value for the preference. Passing {@code null}
* for this argument is equivalent to calling {@link #remove(String)} with
* this key.
* *
* @return Returns a reference to the same Editor object, so you can * @return Returns a reference to the same Editor object, so you can
* chain put calls together. * chain put calls together.