mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-26 17:06:56 +00:00
added logging when context null in onPrefTreeClick
This commit is contained in:
parent
9ede7a3c42
commit
e33cdca1ef
@ -94,6 +94,8 @@ public class ContentSettingsFragment extends BasePreferenceFragment {
|
|||||||
Context context = getContext();
|
Context context = getContext();
|
||||||
if (context != null) {
|
if (context != null) {
|
||||||
DownloaderImpl.getInstance().updateAgeRestrictedContentCookies(context);
|
DownloaderImpl.getInstance().updateAgeRestrictedContentCookies(context);
|
||||||
|
} else {
|
||||||
|
Log.w(TAG, "onPreferenceTreeClick: null context");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user