From d12fb6810ff1fd0b39bea637d52b24d8364818be Mon Sep 17 00:00:00 2001 From: Fabian Kozynski Date: Thu, 16 Feb 2023 10:36:58 -0500 Subject: [PATCH] Improve doc for TileService Test: no test Fixes: 236246229 Change-Id: Ie583857ec4fa194240ac329e798063aac06fa031 --- core/java/android/service/quicksettings/TileService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/service/quicksettings/TileService.java b/core/java/android/service/quicksettings/TileService.java index d957029f42ed6..94384b0c466d7 100644 --- a/core/java/android/service/quicksettings/TileService.java +++ b/core/java/android/service/quicksettings/TileService.java @@ -70,8 +70,8 @@ import java.util.Objects; *
  • {@link #onTileAdded()} and {@link #onTileRemoved()} may be called outside of the * {@link #onCreate()} - {@link #onDestroy()} window
  • * - *

    TileService will be detected by tiles that match the {@value #ACTION_QS_TILE} - * and require the permission "android.permission.BIND_QUICK_SETTINGS_TILE". + *

    TileService will resolve against services that match the {@value #ACTION_QS_TILE} action + * and require the permission {@code android.permission.BIND_QUICK_SETTINGS_TILE}. * The label and icon for the service will be used as the default label and * icon for the tile. Here is an example TileService declaration.

    *