Commit 947c7890 authored by Side Yilmaz's avatar Side Yilmaz Committed by Commit Bot

Replace deprecated getLastUsedProfile function in ConsentAuditorBridge.

|Profile#getLastUsedProfile| is deprecated and replaced with
|Profile#getLastUsedRegularProfile|. This CL updates
ConsentAuditorBridge class.

Note: This change is only code clean-up, does not change any behavior.

Bug: 1041781
Change-Id: I5b4908a03d576ebfccfeb83bae4ac84baf455daa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107488Reviewed-by: default avatarMartin Šrámek <msramek@chromium.org>
Reviewed-by: default avatarBoris Sazonov <bsazonov@chromium.org>
Reviewed-by: default avatarRamin Halavati <rhalavati@chromium.org>
Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751975}
parent 379305ed
......@@ -32,7 +32,7 @@ public final class ConsentAuditorBridge {
consentDescriptionArray[i] = consentDescription.get(i);
}
ConsentAuditorBridgeJni.get().recordConsent(ConsentAuditorBridge.this,
Profile.getLastUsedProfile(), accountId, feature, consentDescriptionArray,
Profile.getLastUsedRegularProfile(), accountId, feature, consentDescriptionArray,
consentConfirmation);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment