mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
Fix SDK int check in TextInputLayout
am: bdb210a * commit 'bdb210a52ce1966368f534253822f15a8591a74f': Fix SDK int check in TextInputLayout Change-Id: I9a59cb7994f422c838a44ed4311da459d0f75203 GitOrigin-RevId=ebb9b8cfda9e643d77e3bf15ed10efd2ae55227e PiperOrigin-RevId: 140560726
This commit is contained in:
parent
5148bbcbd0
commit
ff6063c1db
@ -725,7 +725,7 @@ public class TextInputLayout extends LinearLayout {
|
||||
|
||||
private void ensureBackgroundDrawableStateWorkaround() {
|
||||
final int sdk = Build.VERSION.SDK_INT;
|
||||
if (sdk != 21 || sdk != 22) {
|
||||
if (sdk != 21 && sdk != 22) {
|
||||
// The workaround is only required on API 21-22
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user