Clean role manager adapter comment
Bug: 129778256
Test: Build
Merged-In: I810c30936180324e85992bfd777ec60ab6b384a0
Change-Id: I810c30936180324e85992bfd777ec60ab6b384a0
(cherry picked from commit 0fbd7ba4d424279b654bead639aca05a97f6dc20)
diff --git a/src/com/android/server/telecom/RoleManagerAdapter.java b/src/com/android/server/telecom/RoleManagerAdapter.java
index 647d7bf..f1eb455 100644
--- a/src/com/android/server/telecom/RoleManagerAdapter.java
+++ b/src/com/android/server/telecom/RoleManagerAdapter.java
@@ -65,15 +65,12 @@
void setTestDefaultCallScreeningApp(String packageName);
/**
- * Retrieves a list of package names of the app(s) which fill the
- * {@link android.app.role.RoleManager} companion device role.
- * @return List of package names filling the role, or empty list if there are none.
+ * @return List of package names of companion apps, or empty list if there are none.
*/
List<String> getCallCompanionApps();
/**
- * Set a package to be added to the list of the {@link android.app.role.RoleManager} companion
- * apps. Used for testing purposes only.
+ * Set a package to be added to the list of the companion apps. Used for testing purposes only.
* @param packageName Package name of the app to be added or removed as an override call
* companion app.
* @param isAdded {@code true} if the specified package should be added, {@code false} if it
@@ -82,17 +79,13 @@
void addOrRemoveTestCallCompanionApp(String packageName, boolean isAdded);
/**
- * Returns the package name of the app which fills the {@link android.app.role.RoleManager}
- * projection mode role.
- * @return Package name of the car more app or {@code null} if there are no apps that fill this
- * role.
+ * @return Package name of the car more app or {@code null} if there are no apps that match.
*/
String getCarModeDialerApp();
/**
- * Override the {@link android.app.role.RoleManager} automotive app with another value.
- * Used for testing purposes only.
- * @param packageName Package name of the app to fill the automotive app role. Where
+ * Override the automotive app with another value. Used for testing purposes only.
+ * @param packageName Package name of the automotive app. Where
* {@code null}, the override is removed.
*/
void setTestAutoModeApp(String packageName);