Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0ba9182 authored by Hakjun Choi's avatar Hakjun Choi
Browse files

[Internal cleanup] remove warning message for resource ID

Currently we are seeing Drawable com.android.settings:drawable/ic_check_circle_24px has unresolved theme attributes! error
To address this, use Context.getDrawable(int) to provide theme info when using the icon

Bug: 356149221
Flag: EXEMPT bugfix
Test: manually run Satellite setting menu and check the log whether the waring is shown or not
Change-Id: I55fd1bd4cbaf07e7433cdd286e71f88dacc3e1b5
parent 92e46317
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ public class SatelliteSetting extends RestrictedDashboardFragment {
            /* In case satellite is allowed by carrier's entitlement server, the page will show
               the check icon with guidance that satellite is included in user's mobile plan */
            preference.setTitle(R.string.title_have_satellite_plan);
            icon = getResources().getDrawable(R.drawable.ic_check_circle_24px);
            icon = getContext().getDrawable(R.drawable.ic_check_circle_24px);
        } else {
            /* Or, it will show the blocked icon with the guidance that satellite is not included
               in user's mobile plan */