Commit 4fb30887 authored by Ehimare Okoyomon's avatar Ehimare Okoyomon Committed by Commit Bot

Fix split screen crash on incognito ntp

Add check to update CookieControlsService if necessary when the toggle
is clicked on android.

Bug: 1061383
Change-Id: I8b7a759ec2e149a20b133f76e221f757660659c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2105338Reviewed-by: default avatarChristian Dullweber <dullweber@chromium.org>
Commit-Queue: Ehimare Okoyomon <eokoyomon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750647}
parent 66a839cc
......@@ -34,6 +34,7 @@ void CookieControlsServiceBridge::UpdateServiceIfNecessary() {
void CookieControlsServiceBridge::HandleCookieControlsToggleChanged(
JNIEnv* env,
jboolean checked) {
UpdateServiceIfNecessary();
service_->HandleCookieControlsToggleChanged(checked);
}
......
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