summaryrefslogtreecommitdiff
path: root/aidl/gui
diff options
context:
space:
mode:
author Adithya Srinivasan <adsrini@google.com> 2020-10-19 10:49:41 -0700
committer Adithya Srinivasan <adsrini@google.com> 2020-11-02 18:32:24 -0800
commit9febda8e05bbd924d14682454fdc7a846c38f954 (patch)
treef3db8c2be3e1d716aa236244cc2f62a7b7392b26 /aidl/gui
parent854e1b9538adf3aac0f1ce012a2d3b532880f4ca (diff)
Plumb owner pid into Layer
For shared timeline visualization, the pid of the process owning the layer is needed to show the information in the respective process tracks. This change stores the newly added METADATA_OWNER_PID information sent as a part of the Layer creation args Bug: 170911969 Test: pid section of `adb shell dumpsys SurfaceFlinger --frametimeline -<all/jank>` Change-Id: Ib1cd9b6239501b0b92283dca19d7de3916fff604
Diffstat (limited to 'aidl/gui')
-rw-r--r--aidl/gui/android/view/LayerMetadataKey.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/aidl/gui/android/view/LayerMetadataKey.aidl b/aidl/gui/android/view/LayerMetadataKey.aidl
index 7026ca8fad..491c629278 100644
--- a/aidl/gui/android/view/LayerMetadataKey.aidl
+++ b/aidl/gui/android/view/LayerMetadataKey.aidl
@@ -23,4 +23,6 @@ enum LayerMetadataKey {
METADATA_WINDOW_TYPE = 2,
METADATA_TASK_ID = 3,
METADATA_MOUSE_CURSOR = 4,
+ METADATA_ACCESSIBILITY_ID = 5,
+ METADATA_OWNER_PID = 6,
}