Merge "Clarify 'phoneCall' foreground service type" into sc-dev

This commit is contained in:
Jeff Sharkey
2021-06-03 20:30:28 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 2 deletions

View File

@@ -121,7 +121,8 @@ public class ServiceInfo extends ComponentInfo
/**
* Constant corresponding to <code>phoneCall</code> 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;

View File

@@ -1549,7 +1549,8 @@
<flag name="dataSync" value="0x01" />
<!-- Music, video, news or other media play. -->
<flag name="mediaPlayback" value="0x02" />
<!-- Ongoing phone call or video conference. -->
<!-- Ongoing operations related to phone calls, video conferencing,
or similar interactive communication. -->
<flag name="phoneCall" value="0x04" />
<!-- GPS, map, navigation location update. -->
<flag name="location" value="0x08" />