summaryrefslogtreecommitdiff
path: root/aidl
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2019-11-05 08:54:07 +0900
committerDaichi Hirono <hirono@google.com>2019-12-23 02:12:33 +0000
commitf474d3dba899ec315113b79e6baa2d4fe24c3e53 (patch)
treefee459dd59e758ade958f9f1995da2c39dc3ef81 /aidl
parentc58d6be0cd51f07aaeac8702355b8500dd6a2ffd (diff)
Add AIDL for LayerMetadtaKey
to share the same definition between C++ and Java code Bug: 143912669 Test: make Change-Id: I7f2a189f134f1f924906a22dfc30ccf221cfd2d7
Diffstat (limited to 'aidl')
-rw-r--r--aidl/gui/android/view/LayerMetadataKey.aidl26
1 files changed, 26 insertions, 0 deletions
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,
+}