diff --git a/CHANGELOG.md b/CHANGELOG.md index d670e916..7a269cee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## XX.XX.XX -* Added a new function "setID(newDeviceId)" for managing device id changes. + +* Added a new function "setID(newDeviceId)" for managing device id changes according to the device ID Type. ## 24.1.0 diff --git a/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleDeviceIdCore.java b/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleDeviceIdCore.java index 2474f7c5..e77f93c5 100644 --- a/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleDeviceIdCore.java +++ b/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleDeviceIdCore.java @@ -249,7 +249,8 @@ public String getID() { } /** - * Sets current device id to the new one. + * Sets device ID according to the device ID Type. + * If previous ID was Developer Supplied sets it without merge, otherwise with merge. * * @param newDeviceID device id to set */