+ } else if (userAgentArrayPosition == MainWebViewActivity.UNRECOGNIZED_USER_AGENT || currentUserAgentName.equals(getString(R.string.custom_user_agent))) {
+ // A custom user agent is stored in the current user agent name. The second check is necessary in case the user did not change the default custom text.