Remove unnecessary compat method calls.
This commit is contained in:
parent
212a413e93
commit
23c1fc3544
4 changed files with 8 additions and 11 deletions
|
|
@ -29,7 +29,6 @@ import androidx.appcompat.app.AppCompatActivity;
|
|||
import androidx.appcompat.content.res.AppCompatResources;
|
||||
import androidx.core.app.NotificationCompat;
|
||||
import androidx.core.app.ServiceCompat;
|
||||
import androidx.core.widget.TextViewCompat;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import androidx.preference.PreferenceManager;
|
||||
|
||||
|
|
@ -388,7 +387,7 @@ public class RouterActivity extends AppCompatActivity {
|
|||
for (final AdapterChoiceItem item : choices) {
|
||||
final RadioButton radioButton = ListRadioIconItemBinding.inflate(inflater).getRoot();
|
||||
radioButton.setText(item.description);
|
||||
TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds(radioButton,
|
||||
radioButton.setCompoundDrawablesRelativeWithIntrinsicBounds(
|
||||
AppCompatResources.getDrawable(themeWrapperContext, item.icon),
|
||||
null, null, null);
|
||||
radioButton.setChecked(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue