diff --git a/core/src/main/java/com/rudderstack/android/sdk/core/RudderClient.java b/core/src/main/java/com/rudderstack/android/sdk/core/RudderClient.java
index 056ee063..cb525665 100644
--- a/core/src/main/java/com/rudderstack/android/sdk/core/RudderClient.java
+++ b/core/src/main/java/com/rudderstack/android/sdk/core/RudderClient.java
@@ -471,18 +471,17 @@ public void alias(String newId) {
}
public void alias(@NonNull String newId, @Nullable RudderOption option) {
- alias(newId, option, null);
+ alias(newId, null, option);
}
/**
* Alias call
*
- * Segment compatible API
- *
* @param newId New userId for the user
+ * @param previousId Previous userId for the user
* @param option RudderOptions for this event
*/
- public void alias(@NonNull String newId, @Nullable RudderOption option, @Nullable String previousId) {
+ public void alias(@NonNull String newId, @Nullable String previousId, @Nullable RudderOption option) {
RudderContext context = getRudderContext();
Map traits = null;
if (context != null) {