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

Commit 4074b463 authored by Muyuan Li's avatar Muyuan Li
Browse files

sysui: refactor for extensibility.

Make setDetailRecord in QSPanel protected.

Bug: 28638510
Change-Id: I8f88c9c346314b55078f5fa0c3c5316da6688b3f
(cherry picked from commit 5c1eca539ea7c67481f5beaf99e8468152030e56)
parent 66df39df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ public class QSPanel extends LinearLayout implements Tunable, Callback {
        fireShowingDetail(show ? r.detailAdapter : null, x, y);
    }

    private void setDetailRecord(Record r) {
    protected void setDetailRecord(Record r) {
        if (r == mDetailRecord) return;
        mDetailRecord = r;
        final boolean scanState = mDetailRecord instanceof TileRecord