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
This commit is contained in:
Leon Scroggins III
2022-08-25 12:36:24 -04:00
parent c6fbc786f8
commit f265c480b0

View File

@@ -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.
* <p>
* 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.
* <p>
* 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.
* <p>
* 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.
* <p>
* 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;