@@ -307,8+301,8 @@ class AboutVersionFragment : Fragment() {
val serialNumberLabel = getString(R.string.serial_number)
val signatureAlgorithmLabel = getString(R.string.signature_algorithm)
val serialNumberLabel = getString(R.string.serial_number)
val signatureAlgorithmLabel = getString(R.string.signature_algorithm)
- // Get the current WebView package info. This can be replaced by the direct call once the minimum API >= 26. <https://developer.android.com/reference/android/webkit/WebView#getCurrentWebViewPackage()>
- val webViewPackageInfo = WebViewCompat.getCurrentWebViewPackage(requireContext())!!
+ // Get the current WebView package info.
+ val webViewPackageInfo = WebView.getCurrentWebViewPackage()!!
// Get the device's information and store it in strings.
val brand = Build.BRAND
// Get the device's information and store it in strings.