Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de39a2b6 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

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

parents 9a86663f a7768ad4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;

+2 −1
Original line number Diff line number Diff line
@@ -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" />