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

Commit 58353ee7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

parents 6f32218b 7284fa63
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 }
    }
}