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

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

Merge "Add WeaklyReferencedCallback to DisplayTracker" into main

parents 51085f46 94b51108
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.systemui.settings

import android.view.Display
import com.android.systemui.util.annotations.WeaklyReferencedCallback
import java.util.concurrent.Executor

/**
@@ -52,6 +53,7 @@ interface DisplayTracker {
    fun getDisplay(displayId: Int): Display

    /** Ćallback for notifying of changes. */
    @WeaklyReferencedCallback
    interface Callback {

        /** Notifies that a display has been added. */