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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user