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