summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-12-14 22:09:51 -0800
committerDianne Hackborn <hackbod@google.com>2010-12-14 22:19:03 -0800
commit4f3867e3ce92101224ad79b8f2ff446bb4f99108 (patch)
tree34fe1bf3f235ce5ae2ec4d66046ab7a0bbb439a7 /core/java
parent6866d6912b6b5cbaaf482857d279037135aeb45f (diff)
downloadframeworks_base-4f3867e3ce92101224ad79b8f2ff446bb4f99108.zip
frameworks_base-4f3867e3ce92101224ad79b8f2ff446bb4f99108.tar.gz
frameworks_base-4f3867e3ce92101224ad79b8f2ff446bb4f99108.tar.bz2
Time to remove some old APIs!
Change-Id: I73ca23b0d5c7971a00dfa05357f9b630d9b6ebc8
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/Activity.java1
-rw-r--r--core/java/android/app/Service.java4
2 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index 5f460a2..77cbe0a 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -1730,6 +1730,7 @@ public class Activity extends ContextThemeWrapper
/**
* @deprecated As of {@link android.os.Build.VERSION_CODES#GINGERBREAD}
* this is a no-op.
+ * @hide
*/
@Deprecated
public void setPersistent(boolean isPersistent) {
diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java
index 00063af..024c5f3 100644
--- a/core/java/android/app/Service.java
+++ b/core/java/android/app/Service.java
@@ -568,6 +568,8 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
* be killed when they would like to avoid it), vs allowing the performance
* of the entire system to be decreased, this method was deemed less
* important.
+ *
+ * @hide
*/
@Deprecated
public final void setForeground(boolean isForeground) {
@@ -585,7 +587,7 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
* would notice if their music stopped playing.
*
* <p>If you need your application to run on platform versions prior to API
- * level 5, you can use the following model to call the the older {@link #setForeground}
+ * level 5, you can use the following model to call the the older setForeground()
* or this modern method as appropriate:
*
* {@sample development/samples/ApiDemos/src/com/example/android/apis/app/ForegroundService.java