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

Commit fd2e603f authored by Jiaming Cheng's avatar Jiaming Cheng
Browse files

[QSDetailedView] Add the entry backgroud for single item

in the internet details view

Bug:378514300
Flag: com.android.systemui.qs_tile_detailed_view
Test: InternetDetailsContentManagerTest

Change-Id: I0e0371bdfeb718fee661121f6b3e95d449901ac1
parent fe339d38
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -326,6 +326,7 @@ constructor(
                        val entryView = child.requireViewById<LinearLayout>(R.id.wifi_list)
                        val background =
                            when {
                                itemCount == 1 -> entryBackgroundInactive
                                adapterPosition == 0 -> entryBackgroundStart
                                adapterPosition == itemCount - 1 && !hasMoreWifiEntries ->
                                    entryBackgroundEnd