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

Commit 5e91a150 authored by Haoran Zhang's avatar Haoran Zhang Committed by Android (Google) Code Review
Browse files

Merge "[Autofill Framework] Add a new key for specifying virtual structure...

Merge "[Autofill Framework] Add a new key for specifying virtual structure type in ViewStructure extra." into main
parents 7d969dbe 5eb07f37
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -75,6 +75,21 @@ public abstract class ViewStructure {
    public static final String EXTRA_FIRST_ACTIVE_POSITION =
            "android.view.ViewStructure.extra.FIRST_ACTIVE_POSITION";

    /**
     * Key used for writing the type of the view that generated the virtual structure of its
     * children.
     *
     * For example, if the virtual structure is generated by a webview, the value would be
     * "WebView". If the virtual structure is generated by a compose view, then the value would be
     * "ComposeView". The value is of type String.
     *
     * This value is added to mainly help with debugging purpose.
     *
     * @hide
     */
    public static final String EXTRA_VIRTUAL_STRUCTURE_TYPE =
            "android.view.ViewStructure.extra.VIRTUAL_STRUCTURE_TYPE";

    /**
     * Set the identifier for this view.
     *