Merge "docs: fixed five typos" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-09-18 18:38:16 +00:00
committed by Android (Google) Code Review
5 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> guide.</p>
<p>All backup and restore operations are controlled by the {@link <p>All backup and restore operations are controlled by the {@link
android.app.backup.BackupManager}. Each application that would android.app.backup.BackupManager}. Each application that would
like to enable backup and preserve its data on remote strage must implement a like to enable backup and preserve its data on remote storage must implement a
backup agent. A backup agent can be built by extending either {@link android.app.backup.BackupAgent} backup agent. A backup agent can be built by extending either {@link android.app.backup.BackupAgent}
or {@link android.app.backup.BackupAgentHelper}. The {@link or {@link android.app.backup.BackupAgentHelper}. The {@link
android.app.backup.BackupAgentHelper} class provides a wrapper around {@link android.app.backup.BackupAgentHelper} class provides a wrapper around {@link

View File

@@ -38,7 +38,7 @@ import java.nio.ByteOrder;
* <li>MIFARE Classic Mini are 320 bytes ({@link #SIZE_MINI}), with 5 sectors each of 4 blocks. * <li>MIFARE Classic Mini are 320 bytes ({@link #SIZE_MINI}), with 5 sectors each of 4 blocks.
* <li>MIFARE Classic 1k are 1024 bytes ({@link #SIZE_1K}), with 16 sectors each of 4 blocks. * <li>MIFARE Classic 1k are 1024 bytes ({@link #SIZE_1K}), with 16 sectors each of 4 blocks.
* <li>MIFARE Classic 2k are 2048 bytes ({@link #SIZE_2K}), with 32 sectors each of 4 blocks. * <li>MIFARE Classic 2k are 2048 bytes ({@link #SIZE_2K}), with 32 sectors each of 4 blocks.
* <li>MIFARE Classic 4k} are 4096 bytes ({@link #SIZE_4K}). The first 32 sectors contain 4 blocks * <li>MIFARE Classic 4k are 4096 bytes ({@link #SIZE_4K}). The first 32 sectors contain 4 blocks
* and the last 8 sectors contain 16 blocks. * and the last 8 sectors contain 16 blocks.
* </ul> * </ul>
* *

View File

@@ -17,7 +17,7 @@
package android.text; package android.text;
/** /**
* When an object of a type is attached to an Editable, its methods will * When an object of this type is attached to an Editable, its methods will
* be called when the text is changed. * be called when the text is changed.
*/ */
public interface TextWatcher extends NoCopySpan { public interface TextWatcher extends NoCopySpan {

View File

@@ -358,7 +358,7 @@ public abstract class CursorAdapter extends BaseAdapter implements Filterable,
* closed. * closed.
* *
* @param newCursor The new cursor to be used. * @param newCursor The new cursor to be used.
* @return Returns the previously set Cursor, or null if there wasa not one. * @return Returns the previously set Cursor, or null if there was not one.
* If the given new Cursor is the same instance is the previously set * If the given new Cursor is the same instance is the previously set
* Cursor, null is also returned. * Cursor, null is also returned.
*/ */

View File

@@ -268,7 +268,7 @@ public class ShareActionProvider extends ActionProvider {
* Intent shareIntent = new Intent(Intent.ACTION_SEND); * Intent shareIntent = new Intent(Intent.ACTION_SEND);
* shareIntent.setType("image/*"); * shareIntent.setType("image/*");
* Uri uri = Uri.fromFile(new File(getFilesDir(), "foo.jpg")); * Uri uri = Uri.fromFile(new File(getFilesDir(), "foo.jpg"));
* shareIntent.putExtra(Intent.EXTRA_STREAM, uri));</pre> * shareIntent.putExtra(Intent.EXTRA_STREAM, uri);</pre>
* *
* @param shareIntent The share intent. * @param shareIntent The share intent.
* *