summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Alsharifi <bilal.alsharifi@gmail.com>2019-07-24 11:43:17 -0400
committerBilal Alsharifi <bilal.alsharifi@gmail.com>2019-07-24 11:43:17 -0400
commita87746e512250856f42cba95eb4ea282f4dbe593 (patch)
tree98e1d60a6e33f08bd7e70b83b3af1be5066e9986
parent4edc3cf809dbcdab37032cf02942cc4ba274669e (diff)
downloadsdl_android-a87746e512250856f42cba95eb4ea282f4dbe593.tar.gz
Update setButtonId() javadoc
-rw-r--r--base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java b/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java
index cc1bc814e..ec6429b4d 100644
--- a/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java
+++ b/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java
@@ -267,7 +267,8 @@ public class SoftButtonObject {
/**
* Sets the id of the SoftButtonObject <br>
- * <strong>Note: This may be overridden by the Screen Manager</strong>
+ * <strong>Note: If the developer did not set buttonId, the manager will automatically assign an id before the SoftButtons are sent to the head unit.
+ * Please note that the manager may reuse ids from previous batch of SoftButtons that were already sent to the head unit</strong>
* @param buttonId an int value that represents the id of the SoftButtonObject
*/
public void setButtonId(int buttonId) {