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

Commit 9ec051c4 authored by Haoran Zhang's avatar Haoran Zhang
Browse files

[Framework] Add a key in view structure to specify version number

Bug: b/341201836
Test: atest CtsAutoFillServiceTestCase
Change-Id: I8a8d3da76414c02802a94aea8ae7a38aea989cc1
parent f8e96bdd
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.
     *