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

Commit 638ae6d1 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Fix layer metadata key for a11y ID.

Index 4 has already been used for METADATA_MOUSE_CURSOR.
The CL fixes the index for a11y ID from 4 to 5.

Bug: 143734779
Test: None
Change-Id: I295f8d327101c58c0034cf2a39d428d2bb397d0b
parent 7252d993
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -440,11 +440,17 @@ public final class SurfaceControl implements Parcelable {
     */
    public static final int METADATA_TASK_ID = 3;

    /**
     * The style of mouse cursor and hotspot.
     * @hide
     */
    public static final int METADATA_MOUSE_CURSOR = 4;

    /**
     * Accessibility ID to allow association between surfaces and accessibility tree.
     * @hide
     */
    public static final int METADATA_ACCESSIBILITY_ID = 4;
    public static final int METADATA_ACCESSIBILITY_ID = 5;

    /**
     * A wrapper around GraphicBuffer that contains extra information about how to