Merge "Allow rapid request/release of pointer capture" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-29 16:58:10 +00:00
committed by Android (Google) Code Review

View File

@@ -5035,9 +5035,6 @@ public final class ViewRootImpl implements ViewParent,
}
void requestPointerCapture(boolean enabled) {
if (mPointerCapture == enabled) {
return;
}
final IBinder inputToken = getInputToken();
if (inputToken == null) {
Log.e(mTag, "No input channel to request Pointer Capture.");