From 9febda8e05bbd924d14682454fdc7a846c38f954 Mon Sep 17 00:00:00 2001 From: Adithya Srinivasan Date: Mon, 19 Oct 2020 10:49:41 -0700 Subject: 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 -` Change-Id: Ib1cd9b6239501b0b92283dca19d7de3916fff604 --- aidl/gui/android/view/LayerMetadataKey.aidl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'aidl') 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, } -- cgit v1.2.3-59-g8ed1b