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

Commit c6d23c4b authored by Ale Nijamkin's avatar Ale Nijamkin
Browse files

[flexiglass] Adds TODO for removing WindowRootView#isRoot

Bug: 283300105
Change-Id: I1335084ee9ca7983b93f0bd244393490d79b8b52
Test: N/A - TODO only
parent 80bd64a2
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 }
    }
}