diff options
| author | Brad Fitzpatrick <bradfitz@android.com> | 2010-12-13 14:07:39 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@android.com> | 2010-12-13 14:07:39 -0800 |
| commit | 320274c5f17057a3a823fed50b7027cbd46fc025 (patch) | |
| tree | b9507162eb65b56a11109a12534139efab29bec3 /core/java | |
| parent | e3f6336bcffc250da90ec864bccfa73ad1d016b9 (diff) | |
| download | frameworks_base-320274c5f17057a3a823fed50b7027cbd46fc025.zip frameworks_base-320274c5f17057a3a823fed50b7027cbd46fc025.tar.gz frameworks_base-320274c5f17057a3a823fed50b7027cbd46fc025.tar.bz2 | |
Fix StrictMode javadoc copy/paste error.
Change-Id: Idd49111f0a1af6f331cffa0972191b2d4e25a385
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/os/StrictMode.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/os/StrictMode.java b/core/java/android/os/StrictMode.java index e912089..b9b0549 100644 --- a/core/java/android/os/StrictMode.java +++ b/core/java/android/os/StrictMode.java @@ -207,7 +207,7 @@ public final class StrictMode { } /** - * Creates ThreadPolicy instances. Methods whose names start + * Creates {@link ThreadPolicy} instances. Methods whose names start * with {@code detect} specify what problems we should look * for. Methods whose names start with {@code penalty} specify what * we should do when we detect a problem. @@ -218,11 +218,11 @@ public final class StrictMode { * * <p>For example, detect everything and log anything that's found: * <pre> - * StrictMode.VmPolicy policy = new StrictMode.VmPolicy.Builder() + * StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder() * .detectAll() * .penaltyLog() * .build(); - * StrictMode.setVmPolicy(policy); + * StrictMode.setThreadPolicy(policy); * </pre> */ public static final class Builder { |
