Make clipboard overlay always nonfocusable

Interim fix while we determine how to handle the focus correctly
for CTS tests.

Bug: 219067941
Bug: 218534156
Fix: 219067941
Fix: 218534156
Test: manual
Change-Id: If9f2d3801c77731b606ff9ce7af731e3dec2e04e
This commit is contained in:
Miranda Kephart
2022-02-14 10:48:46 -05:00
parent e3c9ab73cf
commit 95a7270364

View File

@@ -151,11 +151,7 @@ public class ClipboardOverlayController {
mWindow = FloatingWindowUtil.getFloatingWindow(mContext);
mWindow.setWindowManager(mWindowManager, null, null);
if (!mAccessibilityManager.isTouchExplorationEnabled()) {
setWindowFocusable(true);
} else {
setWindowFocusable(false);
}
setWindowFocusable(false);
mContainer = (FrameLayout)
LayoutInflater.from(mContext).inflate(R.layout.clipboard_overlay, null);