ageRestrictedContent cookie only sent for youtube
Now the age restricted content cookie is only sent when sending a request to youtube. There's no need to remove the cookie when the service changes because whether to add the cookie is determined by looking at the url the request is being sent to.
This commit is contained in:
parent
de4d6037d3
commit
430d4e1ccd
3 changed files with 29 additions and 17 deletions
|
|
@ -92,7 +92,7 @@ public class ContentSettingsFragment extends BasePreferenceFragment {
|
|||
|
||||
if (preference.getKey().equals(showAgeRestrictedContentKey)) {
|
||||
Context context = getContext();
|
||||
if(context != null){
|
||||
if (context != null) {
|
||||
DownloaderImpl.getInstance().updateAgeRestrictedContentCookies(context);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue