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

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

Merge "[Framework] Add a key in view structure to specify version number" into main

parents ae648c05 9ec051c4
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -90,6 +90,19 @@ public abstract class ViewStructure {
    public static final String EXTRA_VIRTUAL_STRUCTURE_TYPE =
            "android.view.ViewStructure.extra.VIRTUAL_STRUCTURE_TYPE";


    /**
     * Key used for specifying the version of the view that generated the virtual structure for
     * itself and its children
     *
     * For example, if the virtual structure is generated by a webview of version "104.0.5112.69",
     * then the value should be "104.0.5112.69"
     *
     * @hide
     */
    public static final String EXTRA_VIRTUAL_STRUCTURE_VERSION_NUMBER =
            "android.view.ViewStructure.extra.VIRTUAL_STRUCTURE_VERSION_NUMBER";

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