From f474d3dba899ec315113b79e6baa2d4fe24c3e53 Mon Sep 17 00:00:00 2001 From: Daichi Hirono Date: Tue, 5 Nov 2019 08:54:07 +0900 Subject: Add AIDL for LayerMetadtaKey to share the same definition between C++ and Java code Bug: 143912669 Test: make Change-Id: I7f2a189f134f1f924906a22dfc30ccf221cfd2d7 --- aidl/gui/android/view/LayerMetadataKey.aidl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 aidl/gui/android/view/LayerMetadataKey.aidl (limited to 'aidl/gui') diff --git a/aidl/gui/android/view/LayerMetadataKey.aidl b/aidl/gui/android/view/LayerMetadataKey.aidl new file mode 100644 index 0000000000..7026ca8fad --- /dev/null +++ b/aidl/gui/android/view/LayerMetadataKey.aidl @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.view; + +/** @hide */ +@Backing(type="int") +enum LayerMetadataKey { + METADATA_OWNER_UID = 1, + METADATA_WINDOW_TYPE = 2, + METADATA_TASK_ID = 3, + METADATA_MOUSE_CURSOR = 4, +} -- cgit v1.2.3-59-g8ed1b