-
- // Populate the domain settings database ID.
- this.domainSettingsDatabaseId = domainSettingsDatabaseId;
- }
-
- // `onPreExecute()` operates on the UI thread.
- @Override
- protected void onPreExecute() {
- // Get a handle for the activity.
- Activity activity = activityWeakReference.get();
-
- // Abort if the activity is gone.
- if ((activity == null) || activity.isFinishing()) {
- return;
- }
-
- // Set the getting IP addresses tracker.
- MainWebViewActivity.gettingIpAddresses = true;
+ fragmentManagerWeakReference = new WeakReference<>(fragmentManager);
+ nestedScrollWebViewWeakReference = new WeakReference<>(nestedScrollWebView);