+ // Declare the class variables.
+ private int currentThemeStatus;
+ private String defaultUserAgent;
+ private ArrayAdapter<CharSequence> userAgentNamesArray;
+ private String[] translatedUserAgentNamesArray;
+ private String[] userAgentDataArray;
+ private String[] appThemeEntriesStringArray;
+ private String[] appThemeEntryValuesStringArray;
+ private String[] webViewThemeEntriesStringArray;
+ private String[] webViewThemeEntryValuesStringArray;
+ private SharedPreferences.OnSharedPreferenceChangeListener sharedPreferenceChangeListener;
+
+ // Declare the class views.
+ private Preference javaScriptPreference;
+ private Preference cookiesPreference;
+ private Preference domStoragePreference;
+ private Preference formDataPreference; // The form data preference can be removed once the minimum API >= 26.
+ private Preference userAgentPreference;
+ private Preference customUserAgentPreference;
+ private Preference incognitoModePreference;
+ private Preference allowScreenshotsPreference;
+ private Preference easyListPreference;
+ private Preference easyPrivacyPreference;
+ private Preference fanboyAnnoyanceListPreference;
+ private Preference fanboySocialBlockingListPreference;
+ private Preference ultraListPreference;
+ private Preference ultraPrivacyPreference;
+ private Preference blockAllThirdPartyRequestsPreference;
+ private Preference googleAnalyticsPreference;
+ private Preference facebookClickIdsPreference;
+ private Preference twitterAmpRedirectsPreference;
+ private Preference searchPreference;
+ private Preference searchCustomURLPreference;
+ private Preference proxyPreference;
+ private Preference proxyCustomUrlPreference;
+ private Preference fullScreenBrowsingModePreference;
+ private Preference hideAppBarPreference;
+ private Preference clearEverythingPreference;
+ private Preference clearCookiesPreference;
+ private Preference clearDomStoragePreference;
+ private Preference clearFormDataPreference; // The clear form data preference can be removed once the minimum API >= 26.
+ private Preference clearLogcatPreference;
+ private Preference clearCachePreference;
+ private Preference homepagePreference;
+ private Preference fontSizePreference;
+ private Preference openIntentsInNewTabPreference;
+ private Preference swipeToRefreshPreference;
+ private Preference downloadWithExternalAppPreference;
+ private Preference scrollAppBarPreference;
+ private Preference bottomAppBarPreference;
+ private Preference displayAdditionalAppBarIconsPreference;
+ private Preference appThemePreference;
+ private Preference webViewThemePreference;
+ private Preference wideViewportPreference;
+ private Preference displayWebpageImagesPreference;