OSDN Git Service

Crop window input region to stack bounds.
authorWale Ogunwale <ogunwale@google.com>
Mon, 16 Nov 2015 22:27:21 +0000 (14:27 -0800)
committerWale Ogunwale <ogunwale@google.com>
Mon, 16 Nov 2015 22:27:21 +0000 (14:27 -0800)
commit053c8e4ef4a8cbc89506b661dd6ef51a301a895c
treeb187740a37bd53117c5377471e9eb4ae434c813c
parent3cd48043a32a9406980dd0daf49d90704a9ab4dc
Crop window input region to stack bounds.

Prevents the input region of a window from extending outside
the stack bounds. For example, if you have a non-sizeable
activity in docked mode you don't want the app getting touchs
when you tap on the side occupied by the other app.

Bug: 25710884
Change-Id: I044b4e87448fbd3eb51822e6d71e8ed8d06f55ec
services/core/java/com/android/server/wm/InputMonitor.java
services/core/java/com/android/server/wm/WindowState.java