From f265c480b0750a645273ec703927e251b142b1c1 Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Thu, 25 Aug 2022 12:36:24 -0400 Subject: [PATCH] Update docs for location of matching native flags These flags have moved. Update the documentation stating which file to keep the flag in sync with. Bug: NA Test: NA - documentation-only change Change-Id: I679ee6534d697a9f2ba452a83258569688100707 --- core/java/android/view/DisplayEventReceiver.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/java/android/view/DisplayEventReceiver.java b/core/java/android/view/DisplayEventReceiver.java index 3a74b2ed63a7c..169c8c51bb537 100644 --- a/core/java/android/view/DisplayEventReceiver.java +++ b/core/java/android/view/DisplayEventReceiver.java @@ -44,7 +44,7 @@ public abstract class DisplayEventReceiver { * When retrieving vsync events, this specifies that the vsync event should happen at the normal * vsync-app tick. *

- * Needs to be kept in sync with frameworks/native/include/gui/ISurfaceComposer.h + * Keep in sync with frameworks/native/libs/gui/aidl/android/gui/ISurfaceComposer.aidl */ public static final int VSYNC_SOURCE_APP = 0; @@ -52,21 +52,21 @@ public abstract class DisplayEventReceiver { * When retrieving vsync events, this specifies that the vsync event should happen whenever * Surface Flinger is processing a frame. *

- * Needs to be kept in sync with frameworks/native/include/gui/ISurfaceComposer.h + * Keep in sync with frameworks/native/libs/gui/aidl/android/gui/ISurfaceComposer.aidl */ public static final int VSYNC_SOURCE_SURFACE_FLINGER = 1; /** * Specifies to generate mode changed events from Surface Flinger. *

- * Needs to be kept in sync with frameworks/native/include/gui/ISurfaceComposer.h + * Keep in sync with frameworks/native/libs/gui/aidl/android/gui/ISurfaceComposer.aidl */ public static final int EVENT_REGISTRATION_MODE_CHANGED_FLAG = 0x1; /** * Specifies to generate frame rate override events from Surface Flinger. *

- * Needs to be kept in sync with frameworks/native/include/gui/ISurfaceComposer.h + * Keep in sync with frameworks/native/libs/gui/aidl/android/gui/ISurfaceComposer.aidl */ public static final int EVENT_REGISTRATION_FRAME_RATE_OVERRIDE_FLAG = 0x2;