OSDN Git Service

Crop application windows to their stack bounds.
authorFilip Gruszczynski <gruszczy@google.com>
Tue, 15 Sep 2015 01:16:19 +0000 (18:16 -0700)
committerFilip Gruszczynski <gruszczy@google.com>
Tue, 15 Sep 2015 16:00:28 +0000 (09:00 -0700)
commit4b8eea7d106293c9bc96d4875e195a9d413d76cf
tree2077605636f4a03c65b3961da217f67d1ef0b968
parentca9f413b701e38929345a71515a2da2338f4a8dc
Crop application windows to their stack bounds.

We don't want applications to put their content outside of the area
designated by their stacks. However, we don't want to affect their
frames or task bounds. Instead, we crop their surfaces to the bounds
so they don't extend outside of the stack.

Change-Id: I7231c4baa437eefaa6bd7ba89dbc3d5038496c46
services/core/java/com/android/server/wm/WindowStateAnimator.java