From e9904f499d6e12d9d5d4ced914ec6799b53b8ca3 Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray Date: Mon, 25 Mar 2024 14:06:10 +0300 Subject: [PATCH] feat: pr changes --- CHANGELOG.md | 3 ++- .../java/ly/count/sdk/java/internal/ModuleDeviceIdCore.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 */