Loading core/java/android/app/appfunctions/AppFunctionService.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.annotation.FlaggedApi; import android.annotation.MainThread; import android.annotation.MainThread; import android.annotation.NonNull; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.Nullable; import android.annotation.SdkConstant; import android.app.Service; import android.app.Service; import android.content.Context; import android.content.Context; import android.content.Intent; import android.content.Intent; Loading Loading @@ -59,6 +60,7 @@ public abstract class AppFunctionService extends Service { * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * applications can not abuse it. * applications can not abuse it. */ */ @SdkConstant(SdkConstant.SdkConstantType.SERVICE_ACTION) @NonNull @NonNull public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; Loading libs/appfunctions/java/com/android/extensions/appfunctions/AppFunctionService.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -22,6 +22,7 @@ import static com.android.extensions.appfunctions.SidecarConverter.getPlatformEx import android.annotation.MainThread; import android.annotation.MainThread; import android.annotation.NonNull; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.Nullable; import android.annotation.SdkConstant; import android.app.Service; import android.app.Service; import android.content.Intent; import android.content.Intent; import android.os.Binder; import android.os.Binder; Loading Loading @@ -64,6 +65,7 @@ public abstract class AppFunctionService extends Service { * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * applications can not abuse it. * applications can not abuse it. */ */ @SdkConstant(SdkConstant.SdkConstantType.SERVICE_ACTION) @NonNull @NonNull public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; Loading Loading
core/java/android/app/appfunctions/AppFunctionService.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.annotation.FlaggedApi; import android.annotation.MainThread; import android.annotation.MainThread; import android.annotation.NonNull; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.Nullable; import android.annotation.SdkConstant; import android.app.Service; import android.app.Service; import android.content.Context; import android.content.Context; import android.content.Intent; import android.content.Intent; Loading Loading @@ -59,6 +60,7 @@ public abstract class AppFunctionService extends Service { * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * applications can not abuse it. * applications can not abuse it. */ */ @SdkConstant(SdkConstant.SdkConstantType.SERVICE_ACTION) @NonNull @NonNull public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; Loading
libs/appfunctions/java/com/android/extensions/appfunctions/AppFunctionService.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -22,6 +22,7 @@ import static com.android.extensions.appfunctions.SidecarConverter.getPlatformEx import android.annotation.MainThread; import android.annotation.MainThread; import android.annotation.NonNull; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.Nullable; import android.annotation.SdkConstant; import android.app.Service; import android.app.Service; import android.content.Intent; import android.content.Intent; import android.os.Binder; import android.os.Binder; Loading Loading @@ -64,6 +65,7 @@ public abstract class AppFunctionService extends Service { * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * service must also require the {@link BIND_APP_FUNCTION_SERVICE} permission so that other * applications can not abuse it. * applications can not abuse it. */ */ @SdkConstant(SdkConstant.SdkConstantType.SERVICE_ACTION) @NonNull @NonNull public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; public static final String SERVICE_INTERFACE = "android.app.appfunctions.AppFunctionService"; Loading