summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrew Solovay <asolovay@google.com> 2022-10-31 19:43:20 +0000
committer Andrew Solovay <asolovay@google.com> 2022-11-16 18:18:07 +0000
commit3fa450061e1e8420a840473d2d31a0a23ab5cff1 (patch)
treeeb5488f6c3af538d0463dd724b859c0ac3bb29b1
parent35d6d4fa31f870ad07c69f90398f5b109360550a (diff)
docs: Removed suggestion to use deprecated API
IntentService is deprecated, and had suggested devs use WorkManager or JobIntentService instead, but IntentService is now deprecated too. Per communication with WorkManager owner, just deleted the reference to JobIntentService. Per Bart, it's okay to submit docs-only changes to tm-dev so they go live before the U preview. Change-Id: I57aacc8f55f93edf0a1d76bf6fa3fc73974a50af Test: [go/abtd docs build] Bug: 256197684
-rw-r--r--core/java/android/app/IntentService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/app/IntentService.java b/core/java/android/app/IntentService.java
index 2e833084641c..99f864c32803 100644
--- a/core/java/android/app/IntentService.java
+++ b/core/java/android/app/IntentService.java
@@ -57,8 +57,7 @@ import android.os.Message;
* @deprecated IntentService is subject to all the
* <a href="{@docRoot}about/versions/oreo/background.html">background execution limits</a>
* imposed with Android 8.0 (API level 26). Consider using {@link androidx.work.WorkManager}
- * or {@link androidx.core.app.JobIntentService}, which uses jobs
- * instead of services when running on Android 8.0 or higher.
+ * instead.
*/
@Deprecated
public abstract class IntentService extends Service {