[fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21102: Set compileSdkVersion to 31.

pull/600/head
Sebastian Kaspari 3 years ago committed by mergify[bot]
parent c9d8e826ca
commit a4e21f4fbb

@ -81,6 +81,7 @@ fun String.toShortUrl(publicSuffixList: PublicSuffixList): String {
}
// impl via FFTV https://searchfox.org/mozilla-mobile/source/firefox-echo-show/app/src/main/java/org/mozilla/focus/utils/FormattedDomain.java#129
@Suppress("DEPRECATION")
fun String.isIpv4(): Boolean = Patterns.IP_ADDRESS.matcher(this).matches()
// impl via FFiOS: https://github.com/mozilla-mobile/firefox-ios/blob/deb9736c905cdf06822ecc4a20152df7b342925d/Shared/Extensions/NSURLExtensions.swift#L292

@ -448,6 +448,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
if (!dialogHandledAction) {
val imm =
requireContext().getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
@Suppress("DEPRECATION")
imm.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY, 0)
}
}

@ -109,6 +109,7 @@ class AddLoginFragment : Fragment(R.layout.fragment_add_login) {
binding.hostnameText.requestFocus()
val imm =
requireContext().getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
@Suppress("DEPRECATION")
imm.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0)
binding.clearHostnameTextButton.setOnClickListener {

@ -13,7 +13,7 @@ import java.util.Locale
object Config {
// Synchronized build configuration for all modules
const val compileSdkVersion = 30
const val compileSdkVersion = 31
const val minSdkVersion = 21
const val targetSdkVersion = 30

Loading…
Cancel
Save