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

Commit 7284fa63 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Adds TODO for removing WindowRootView#isRoot" into udc-qpr-dev

parents 8474e780 c6d23c4b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ open class WindowRootView(
     * Please see the class-level documentation to understand why this is possible.
     */
    private fun isRoot(): Boolean {
        // TODO(b/283300105): remove this check once there's only one subclass of WindowRootView.
        return parent.let { it !is View || it.id == android.R.id.content }
    }
}