From a7768ad4a11293497080ce721e082417561d5391 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Wed, 2 Jun 2021 10:10:15 -0700 Subject: [PATCH] Clarify 'phoneCall' foreground service type Bug: 182543747 Test: m offline-sdk-docs Change-Id: I25a7140722699870f4d9c440252c64daa7bed62d --- core/java/android/content/pm/ServiceInfo.java | 3 ++- core/res/res/values/attrs_manifest.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/java/android/content/pm/ServiceInfo.java b/core/java/android/content/pm/ServiceInfo.java index d3f9e2486a643..7fc242c4045c2 100644 --- a/core/java/android/content/pm/ServiceInfo.java +++ b/core/java/android/content/pm/ServiceInfo.java @@ -121,7 +121,8 @@ public class ServiceInfo extends ComponentInfo /** * Constant corresponding to phoneCall in * the {@link android.R.attr#foregroundServiceType} attribute. - * Ongoing phone call or video conference. + * Ongoing operations related to phone calls, video conferencing, + * or similar interactive communication. */ public static final int FOREGROUND_SERVICE_TYPE_PHONE_CALL = 1 << 2; diff --git a/core/res/res/values/attrs_manifest.xml b/core/res/res/values/attrs_manifest.xml index ed0d8c838d060..d052d70442c4d 100644 --- a/core/res/res/values/attrs_manifest.xml +++ b/core/res/res/values/attrs_manifest.xml @@ -1549,7 +1549,8 @@ - +