summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/Service.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-01-29 19:03:06 -0800
committerDianne Hackborn <hackbod@google.com>2010-01-29 19:11:26 -0800
commitab8a8ed2eb068b696f6b5519c55a03546a5927ef (patch)
tree65931852a6e4c9bbda2c03882c3e3b612afbbf5a /core/java/android/app/Service.java
parentdfe4ec0eab5196d869e57fdb93582be4dcf5d350 (diff)
downloadframeworks_base-ab8a8ed2eb068b696f6b5519c55a03546a5927ef.zip
frameworks_base-ab8a8ed2eb068b696f6b5519c55a03546a5927ef.tar.gz
frameworks_base-ab8a8ed2eb068b696f6b5519c55a03546a5927ef.tar.bz2
Fix sample code insertion.
Diffstat (limited to 'core/java/android/app/Service.java')
-rw-r--r--core/java/android/app/Service.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java
index c4e1877..8ec5bd4 100644
--- a/core/java/android/app/Service.java
+++ b/core/java/android/app/Service.java
@@ -292,8 +292,8 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
* callback in that case. The <code>handleCommand</code> method is implemented by
* you as appropriate:
*
- * <pre>{@include development/samples/ApiDemos/src/com/example/android/apis/app/ForegroundService.java
- * start_compatibility}</pre>
+ * {@sample development/samples/ApiDemos/src/com/example/android/apis/app/ForegroundService.java
+ * start_compatibility}
*
* @param intent The Intent supplied to {@link android.content.Context#startService},
* as given. This may be null if the service is being restarted after
@@ -474,8 +474,8 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
* level 5, you can use the following model to call the the older {@link #setForeground}
* or this modern method as appropriate:
*
- * <pre>{@include development/samples/ApiDemos/src/com/example/android/apis/app/ForegroundService.java
- * foreground_compatibility}</pre>
+ * {@sample development/samples/ApiDemos/src/com/example/android/apis/app/ForegroundService.java
+ * foreground_compatibility}
*
* @param id The identifier for this notification as per
* {@link NotificationManager#notify(int, Notification)