OSDN Git Service

Exclude system decor area from tap detection.
authorChong Zhang <chz@google.com>
Thu, 5 Nov 2015 21:18:33 +0000 (13:18 -0800)
committerChong Zhang <chz@google.com>
Thu, 5 Nov 2015 21:20:36 +0000 (13:20 -0800)
commit73c3fcf576e3df3fc503788fc118d82d39e89f02
treec969c83c891389602c5e5b19c34af19352fa5839
parentd564792383b4b8c243e1b63ecb0c7de02aead3b7
Exclude system decor area from tap detection.

If we have system decor (status bar/ navigation bar), we want to
exclude that from the tap detection. Otherwise, if the app is partially
placed under some system button (eg. Recents, Home), pressing that
button would cause a full series of unwanted transfer focus/resume/pause,
before we could go home.

Change-Id: Idd408bd69f5064f906bb9f8e2b2385c26a6a6929
services/core/java/com/android/server/wm/DisplayContent.java