}
} else { // First-party cookies are disabled.
// Set the status of third-party cookies, but disable it.
if (thirdPartyCookiesEnabledInt == 1) { // Third-party cookies are enabled but first-party cookies are disabled.
thirdPartyCookiesEnabledSwitch.setChecked(true);
thirdPartyCookiesEnabledSwitch.setEnabled(false);
}
} else { // First-party cookies are disabled.
// Set the status of third-party cookies, but disable it.
if (thirdPartyCookiesEnabledInt == 1) { // Third-party cookies are enabled but first-party cookies are disabled.
thirdPartyCookiesEnabledSwitch.setChecked(true);
thirdPartyCookiesEnabledSwitch.setEnabled(false);