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

Commit 7f18b10b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix IllustrationPreferenceTest failed" into main

parents 55efeb24 7c9b801f
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -138,8 +138,12 @@ public class IllustrationPreference extends Preference implements GroupSectionDi
        ImageView backgroundViewTablet =
                (ImageView) holder.findViewById(R.id.background_view_tablet);

        if (backgroundView != null) {
            backgroundView.setVisibility(mIsTablet ? View.GONE : View.VISIBLE);
        }
        if (backgroundViewTablet != null) {
            backgroundViewTablet.setVisibility(mIsTablet ? View.VISIBLE : View.GONE);
        }
        if (mIsTablet) {
            backgroundView = backgroundViewTablet;
        }