Remove unsupported Android versions

This commit is contained in:
Stefan Niedermann 2021-04-02 19:25:46 +02:00
parent 34e3bbeea2
commit 90e5472ba1

View file

@ -64,12 +64,6 @@ public class ImportAccountActivity extends AppCompatActivity {
AccountImporter.requestAndroidAccountPermissionsAndPickAccount(this);
}
});
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
Drawable wrapDrawable = DrawableCompat.wrap(binding.progressCircular.getIndeterminateDrawable());
DrawableCompat.setTint(wrapDrawable, ContextCompat.getColor(this, R.color.defaultBrand));
binding.progressCircular.setIndeterminateDrawable(DrawableCompat.unwrap(wrapDrawable));
}
}
@Override