Skip to content

Commit 7dadf50

Browse files
committed
[DIA-2026] This line is responsible for upgrade all the way from Android 6.1.3 to 6.9.2
1 parent 420effe commit 7dadf50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/ConsentManagementProvider/Scripts/wrapper/Android/SpClientProxy.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ void onUIFinished(AndroidJavaObject view)
3333

3434
void onAction(AndroidJavaObject view, AndroidJavaObject actionType)
3535
{
36-
CONSENT_ACTION_TYPE unwrappedType = (CONSENT_ACTION_TYPE)actionType.Call<int>("getCode");
36+
AndroidJavaObject wrapper = actionType.Call<AndroidJavaObject>("getActionType");
37+
CONSENT_ACTION_TYPE unwrappedType = (CONSENT_ACTION_TYPE)wrapper.Call<int>("getCode");
3738
CmpDebugUtil.Log("I've reached the C# onAction: " + unwrappedType);
3839
ConsentMessenger.Broadcast<IOnConsentAction>(unwrappedType);
3940
}

0 commit comments

Comments
 (0)