Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 17 | #define LOG_TAG "WindowInfo" |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 18 | #define LOG_NDEBUG 0 |
| 19 | |
Dominik Laskowski | 2f01d77 | 2022-03-23 16:01:29 -0700 | [diff] [blame] | 20 | #include <type_traits> |
| 21 | |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 22 | #include <binder/Parcel.h> |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 23 | #include <gui/WindowInfo.h> |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 24 | |
| 25 | #include <log/log.h> |
| 26 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 27 | namespace android::gui { |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 28 | |
Dominik Laskowski | 2f01d77 | 2022-03-23 16:01:29 -0700 | [diff] [blame] | 29 | void WindowInfo::setInputConfig(ftl::Flags<InputConfig> config, bool value) { |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 30 | if (value) { |
| 31 | inputConfig |= config; |
| 32 | return; |
| 33 | } |
| 34 | inputConfig &= ~config; |
| 35 | } |
| 36 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 37 | void WindowInfo::addTouchableRegion(const Rect& region) { |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 38 | touchableRegion.orSelf(region); |
| 39 | } |
| 40 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 41 | bool WindowInfo::touchableRegionContainsPoint(int32_t x, int32_t y) const { |
| 42 | return touchableRegion.contains(x, y); |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 43 | } |
| 44 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 45 | bool WindowInfo::frameContainsPoint(int32_t x, int32_t y) const { |
Chavi Weingarten | 7f01919 | 2023-08-08 20:39:01 +0000 | [diff] [blame] | 46 | return x >= frame.left && x < frame.right && y >= frame.top && y < frame.bottom; |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 47 | } |
| 48 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 49 | bool WindowInfo::supportsSplitTouch() const { |
Prabir Pradhan | 76bdecb | 2022-01-31 11:14:15 -0800 | [diff] [blame] | 50 | return !inputConfig.test(InputConfig::PREVENT_SPLITTING); |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 51 | } |
| 52 | |
Prabir Pradhan | 07e05b6 | 2021-11-19 03:57:24 -0800 | [diff] [blame] | 53 | bool WindowInfo::isSpy() const { |
Prabir Pradhan | 51e7db0 | 2022-02-07 06:02:57 -0800 | [diff] [blame] | 54 | return inputConfig.test(InputConfig::SPY); |
Prabir Pradhan | 07e05b6 | 2021-11-19 03:57:24 -0800 | [diff] [blame] | 55 | } |
| 56 | |
Prabir Pradhan | d65552b | 2021-10-07 11:23:50 -0700 | [diff] [blame] | 57 | bool WindowInfo::interceptsStylus() const { |
Prabir Pradhan | 51e7db0 | 2022-02-07 06:02:57 -0800 | [diff] [blame] | 58 | return inputConfig.test(InputConfig::INTERCEPTS_STYLUS); |
Prabir Pradhan | d65552b | 2021-10-07 11:23:50 -0700 | [diff] [blame] | 59 | } |
| 60 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 61 | bool WindowInfo::overlaps(const WindowInfo* other) const { |
Chavi Weingarten | 7f01919 | 2023-08-08 20:39:01 +0000 | [diff] [blame] | 62 | return !frame.isEmpty() && frame.left < other->frame.right && frame.right > other->frame.left && |
| 63 | frame.top < other->frame.bottom && frame.bottom > other->frame.top; |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 64 | } |
| 65 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 66 | bool WindowInfo::operator==(const WindowInfo& info) const { |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 67 | return info.token == token && info.id == id && info.name == name && |
Chavi Weingarten | 7f01919 | 2023-08-08 20:39:01 +0000 | [diff] [blame] | 68 | info.dispatchingTimeout == dispatchingTimeout && info.frame == frame && |
| 69 | info.surfaceInset == surfaceInset && info.globalScaleFactor == globalScaleFactor && |
| 70 | info.transform == transform && info.touchableRegion.hasSameRects(touchableRegion) && |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 71 | info.touchOcclusionMode == touchOcclusionMode && info.ownerPid == ownerPid && |
| 72 | info.ownerUid == ownerUid && info.packageName == packageName && |
Prabir Pradhan | 51e7db0 | 2022-02-07 06:02:57 -0800 | [diff] [blame] | 73 | info.inputConfig == inputConfig && info.displayId == displayId && |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 74 | info.replaceTouchableRegionWithCrop == replaceTouchableRegionWithCrop && |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 75 | info.applicationInfo == applicationInfo && info.layoutParamsType == layoutParamsType && |
chaviw | 8577ea8 | 2022-06-01 16:32:26 -0500 | [diff] [blame] | 76 | info.layoutParamsFlags == layoutParamsFlags; |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 77 | } |
| 78 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 79 | status_t WindowInfo::writeToParcel(android::Parcel* parcel) const { |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 80 | if (parcel == nullptr) { |
| 81 | ALOGE("%s: Null parcel", __func__); |
| 82 | return BAD_VALUE; |
| 83 | } |
Robert Carr | 2984b7a | 2020-04-13 17:06:45 -0700 | [diff] [blame] | 84 | if (name.empty()) { |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 85 | parcel->writeInt32(0); |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 86 | return OK; |
| 87 | } |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 88 | parcel->writeInt32(1); |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 89 | |
Prabir Pradhan | 8a5c41d | 2023-06-08 19:13:46 +0000 | [diff] [blame] | 90 | // Ensure that the size of custom types are what we expect for writing into the parcel. |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 91 | static_assert(sizeof(inputConfig) == 4u); |
Prabir Pradhan | aeebeb4 | 2023-06-13 19:53:03 +0000 | [diff] [blame] | 92 | static_assert(sizeof(ownerPid.val()) == 4u); |
Prabir Pradhan | 8a5c41d | 2023-06-08 19:13:46 +0000 | [diff] [blame] | 93 | static_assert(sizeof(ownerUid.val()) == 4u); |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 94 | |
Vishnu Nair | 47074b8 | 2020-08-14 11:54:47 -0700 | [diff] [blame] | 95 | // clang-format off |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 96 | status_t status = parcel->writeStrongBinder(token) ?: |
| 97 | parcel->writeInt64(dispatchingTimeout.count()) ?: |
| 98 | parcel->writeInt32(id) ?: |
| 99 | parcel->writeUtf8AsUtf16(name) ?: |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 100 | parcel->writeInt32(layoutParamsFlags.get()) ?: |
| 101 | parcel->writeInt32( |
| 102 | static_cast<std::underlying_type_t<WindowInfo::Type>>(layoutParamsType)) ?: |
Chavi Weingarten | 7f01919 | 2023-08-08 20:39:01 +0000 | [diff] [blame] | 103 | parcel->write(frame) ?: |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 104 | parcel->writeInt32(surfaceInset) ?: |
| 105 | parcel->writeFloat(globalScaleFactor) ?: |
Bernardo Rufino | ea97d18 | 2020-08-19 14:43:14 +0100 | [diff] [blame] | 106 | parcel->writeFloat(alpha) ?: |
chaviw | 1ff3d1e | 2020-07-01 15:53:47 -0700 | [diff] [blame] | 107 | parcel->writeFloat(transform.dsdx()) ?: |
| 108 | parcel->writeFloat(transform.dtdx()) ?: |
| 109 | parcel->writeFloat(transform.tx()) ?: |
| 110 | parcel->writeFloat(transform.dtdy()) ?: |
| 111 | parcel->writeFloat(transform.dsdy()) ?: |
| 112 | parcel->writeFloat(transform.ty()) ?: |
Bernardo Rufino | ea97d18 | 2020-08-19 14:43:14 +0100 | [diff] [blame] | 113 | parcel->writeInt32(static_cast<int32_t>(touchOcclusionMode)) ?: |
Prabir Pradhan | aeebeb4 | 2023-06-13 19:53:03 +0000 | [diff] [blame] | 114 | parcel->writeInt32(ownerPid.val()) ?: |
Prabir Pradhan | 8a5c41d | 2023-06-08 19:13:46 +0000 | [diff] [blame] | 115 | parcel->writeInt32(ownerUid.val()) ?: |
Bernardo Rufino | ea97d18 | 2020-08-19 14:43:14 +0100 | [diff] [blame] | 116 | parcel->writeUtf8AsUtf16(packageName) ?: |
Prabir Pradhan | 4d5c52f | 2022-01-31 08:52:10 -0800 | [diff] [blame] | 117 | parcel->writeInt32(inputConfig.get()) ?: |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 118 | parcel->writeInt32(displayId) ?: |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 119 | applicationInfo.writeToParcel(parcel) ?: |
| 120 | parcel->write(touchableRegion) ?: |
| 121 | parcel->writeBool(replaceTouchableRegionWithCrop) ?: |
chaviw | e0ba4e9 | 2021-08-11 11:38:41 -0500 | [diff] [blame] | 122 | parcel->writeStrongBinder(touchableRegionCropHandle.promote()) ?: |
chaviw | 8577ea8 | 2022-06-01 16:32:26 -0500 | [diff] [blame] | 123 | parcel->writeStrongBinder(windowToken); |
Chavi Weingarten | 847e851 | 2023-03-29 00:26:09 +0000 | [diff] [blame] | 124 | parcel->writeStrongBinder(focusTransferTarget); |
Vishnu Nair | 47074b8 | 2020-08-14 11:54:47 -0700 | [diff] [blame] | 125 | // clang-format on |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 126 | return status; |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 127 | } |
| 128 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 129 | status_t WindowInfo::readFromParcel(const android::Parcel* parcel) { |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 130 | if (parcel == nullptr) { |
| 131 | ALOGE("%s: Null parcel", __func__); |
| 132 | return BAD_VALUE; |
| 133 | } |
| 134 | if (parcel->readInt32() == 0) { |
| 135 | return OK; |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 136 | } |
Robert Carr | 5c8a026 | 2018-10-03 16:30:44 -0700 | [diff] [blame] | 137 | |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 138 | token = parcel->readStrongBinder(); |
Michael Wright | 44753b1 | 2020-07-08 13:48:11 +0100 | [diff] [blame] | 139 | dispatchingTimeout = static_cast<decltype(dispatchingTimeout)>(parcel->readInt64()); |
| 140 | status_t status = parcel->readInt32(&id) ?: parcel->readUtf8FromUtf16(&name); |
| 141 | if (status != OK) { |
| 142 | return status; |
| 143 | } |
| 144 | |
chaviw | 1ff3d1e | 2020-07-01 15:53:47 -0700 | [diff] [blame] | 145 | float dsdx, dtdx, tx, dtdy, dsdy, ty; |
Prabir Pradhan | aeebeb4 | 2023-06-13 19:53:03 +0000 | [diff] [blame] | 146 | int32_t lpFlags, lpType, touchOcclusionModeInt, inputConfigInt, ownerPidInt, ownerUidInt; |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 147 | sp<IBinder> touchableRegionCropHandleSp; |
| 148 | |
Vishnu Nair | 47074b8 | 2020-08-14 11:54:47 -0700 | [diff] [blame] | 149 | // clang-format off |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 150 | status = parcel->readInt32(&lpFlags) ?: |
| 151 | parcel->readInt32(&lpType) ?: |
Chavi Weingarten | 7f01919 | 2023-08-08 20:39:01 +0000 | [diff] [blame] | 152 | parcel->read(frame) ?: |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 153 | parcel->readInt32(&surfaceInset) ?: |
| 154 | parcel->readFloat(&globalScaleFactor) ?: |
Bernardo Rufino | ea97d18 | 2020-08-19 14:43:14 +0100 | [diff] [blame] | 155 | parcel->readFloat(&alpha) ?: |
chaviw | 1ff3d1e | 2020-07-01 15:53:47 -0700 | [diff] [blame] | 156 | parcel->readFloat(&dsdx) ?: |
| 157 | parcel->readFloat(&dtdx) ?: |
| 158 | parcel->readFloat(&tx) ?: |
| 159 | parcel->readFloat(&dtdy) ?: |
| 160 | parcel->readFloat(&dsdy) ?: |
| 161 | parcel->readFloat(&ty) ?: |
Bernardo Rufino | ea97d18 | 2020-08-19 14:43:14 +0100 | [diff] [blame] | 162 | parcel->readInt32(&touchOcclusionModeInt) ?: |
Prabir Pradhan | aeebeb4 | 2023-06-13 19:53:03 +0000 | [diff] [blame] | 163 | parcel->readInt32(&ownerPidInt) ?: |
Prabir Pradhan | 8a5c41d | 2023-06-08 19:13:46 +0000 | [diff] [blame] | 164 | parcel->readInt32(&ownerUidInt) ?: |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 165 | parcel->readUtf8FromUtf16(&packageName) ?: |
| 166 | parcel->readInt32(&inputConfigInt) ?: |
| 167 | parcel->readInt32(&displayId) ?: |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 168 | applicationInfo.readFromParcel(parcel) ?: |
| 169 | parcel->read(touchableRegion) ?: |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 170 | parcel->readBool(&replaceTouchableRegionWithCrop) ?: |
| 171 | parcel->readNullableStrongBinder(&touchableRegionCropHandleSp) ?: |
Chavi Weingarten | 847e851 | 2023-03-29 00:26:09 +0000 | [diff] [blame] | 172 | parcel->readNullableStrongBinder(&windowToken) ?: |
| 173 | parcel->readNullableStrongBinder(&focusTransferTarget); |
| 174 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 175 | // clang-format on |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 176 | |
Michael Wright | 44753b1 | 2020-07-08 13:48:11 +0100 | [diff] [blame] | 177 | if (status != OK) { |
| 178 | return status; |
| 179 | } |
| 180 | |
Dominik Laskowski | 2f01d77 | 2022-03-23 16:01:29 -0700 | [diff] [blame] | 181 | layoutParamsFlags = ftl::Flags<Flag>(lpFlags); |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 182 | layoutParamsType = static_cast<Type>(lpType); |
chaviw | 9eaa22c | 2020-07-01 16:21:27 -0700 | [diff] [blame] | 183 | transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 184 | touchOcclusionMode = static_cast<TouchOcclusionMode>(touchOcclusionModeInt); |
Dominik Laskowski | 2f01d77 | 2022-03-23 16:01:29 -0700 | [diff] [blame] | 185 | inputConfig = ftl::Flags<InputConfig>(inputConfigInt); |
Prabir Pradhan | aeebeb4 | 2023-06-13 19:53:03 +0000 | [diff] [blame] | 186 | ownerPid = Pid{ownerPidInt}; |
Prabir Pradhan | 8a5c41d | 2023-06-08 19:13:46 +0000 | [diff] [blame] | 187 | ownerUid = Uid{static_cast<uid_t>(ownerUidInt)}; |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 188 | touchableRegionCropHandle = touchableRegionCropHandleSp; |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 189 | |
Prabir Pradhan | 032141e | 2022-02-15 05:30:01 -0800 | [diff] [blame] | 190 | return OK; |
Robert Carr | 1cc7867 | 2018-07-31 14:25:57 -0700 | [diff] [blame] | 191 | } |
| 192 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 193 | WindowInfoHandle::WindowInfoHandle() {} |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 194 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 195 | WindowInfoHandle::~WindowInfoHandle() {} |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 196 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 197 | WindowInfoHandle::WindowInfoHandle(const WindowInfoHandle& other) : mInfo(other.mInfo) {} |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 198 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 199 | WindowInfoHandle::WindowInfoHandle(const WindowInfo& other) : mInfo(other) {} |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 200 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 201 | status_t WindowInfoHandle::writeToParcel(android::Parcel* parcel) const { |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 202 | return mInfo.writeToParcel(parcel); |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 203 | } |
| 204 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 205 | status_t WindowInfoHandle::readFromParcel(const android::Parcel* parcel) { |
Chris Ye | 0783e99 | 2020-06-02 21:34:49 -0700 | [diff] [blame] | 206 | return mInfo.readFromParcel(parcel); |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 207 | } |
| 208 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 209 | void WindowInfoHandle::releaseChannel() { |
Robert Carr | 5c8a026 | 2018-10-03 16:30:44 -0700 | [diff] [blame] | 210 | mInfo.token.clear(); |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 211 | } |
| 212 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 213 | sp<IBinder> WindowInfoHandle::getToken() const { |
Robert Carr | 5c8a026 | 2018-10-03 16:30:44 -0700 | [diff] [blame] | 214 | return mInfo.token; |
Robert Carr | 3720ed0 | 2018-08-08 16:08:27 -0700 | [diff] [blame] | 215 | } |
| 216 | |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 217 | void WindowInfoHandle::updateFrom(sp<WindowInfoHandle> handle) { |
Garfield Tan | bd0fbcd | 2018-11-30 12:45:03 -0800 | [diff] [blame] | 218 | mInfo = handle->mInfo; |
| 219 | } |
chaviw | 3277faf | 2021-05-19 16:45:23 -0500 | [diff] [blame] | 220 | } // namespace android::gui |