OSDN Git Service

fix typos
authorScott Main <smain@google.com>
Tue, 17 Dec 2013 21:47:55 +0000 (13:47 -0800)
committerScott Main <smain@google.com>
Tue, 17 Dec 2013 21:55:02 +0000 (13:55 -0800)
bug: 11693951
bug: 12118617

Change-Id: I7a3ab4c6d7bc124ff9ed8779700e77c87409569d

core/java/android/text/format/Time.java
docs/html/training/run-background-service/send-request.jd

index 5ef86b1..f34e746 100644 (file)
@@ -512,7 +512,7 @@ public class Time {
      * <pre>
      * Time time = new Time();
      * time.set(4, 10, 2007);  // set the date to Nov 4, 2007, 12am
-     * time.normalize();       // this sets isDst = 1
+     * time.normalize(false);       // this sets isDst = 1
      * time.monthDay += 1;     // changes the date to Nov 5, 2007, 12am
      * millis = time.toMillis(false);   // millis is Nov 4, 2007, 11pm
      * millis = time.toMillis(true);    // millis is Nov 5, 2007, 12am
index 5b1114d..a9884c6 100644 (file)
@@ -28,7 +28,7 @@ trainingnavtop=true
     The previous lesson showed you how to create an {@link android.app.IntentService} class. This
     lesson shows you how to trigger the {@link android.app.IntentService} to run an operation by
     sending it an {@link android.content.Intent}. This {@link android.content.Intent} can
-    contain optionally contain data for the {@link android.app.IntentService} to process. You can
+    optionally contain data for the {@link android.app.IntentService} to process. You can
     send an {@link android.content.Intent} to an {@link android.app.IntentService} from any point
     in an {@link android.app.Activity} or {@link android.app.Fragment}
 </p>