added logging when context null in onPrefTreeClick

This commit is contained in:
Vincent Nagel 2020-03-15 23:17:13 -05:00
parent 9ede7a3c42
commit e33cdca1ef
1 changed files with 2 additions and 0 deletions

View File

@ -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");
}
}