diff options
| author | Brad Fitzpatrick <bradfitz@android.com> | 2010-12-13 15:25:09 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-12-13 15:25:09 -0800 |
| commit | 0927c9026537166cec36b2f9bb8a764ef8a7c606 (patch) | |
| tree | c172a0b9fd74775704fdbce58fd1fd4eec886488 /core/java | |
| parent | 9dbef975f0f4370dfe48a0fb040e3d8d1eb91d87 (diff) | |
| parent | 320274c5f17057a3a823fed50b7027cbd46fc025 (diff) | |
| download | frameworks_base-0927c9026537166cec36b2f9bb8a764ef8a7c606.zip frameworks_base-0927c9026537166cec36b2f9bb8a764ef8a7c606.tar.gz frameworks_base-0927c9026537166cec36b2f9bb8a764ef8a7c606.tar.bz2 | |
Merge "Fix StrictMode javadoc copy/paste error." into gingerbread
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 { |
