From 3fa450061e1e8420a840473d2d31a0a23ab5cff1 Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Mon, 31 Oct 2022 19:43:20 +0000 Subject: 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 --- core/java/android/app/IntentService.java | 3 +-- 1 file changed, 1 insertion(+), 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 * background execution limits * 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 { -- cgit v1.2.3-59-g8ed1b