diff options
author | Craig Mautner <cmautner@google.com> | 2012-03-20 17:24:00 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2012-03-20 17:24:00 -0700 |
commit | 2fb98b147b58210604dfaf1482f635ce8d8a0575 (patch) | |
tree | 0c8f563852bc7f74a7264e88913ab8c4c0bebac6 /services/java/com/android/server/wm/AppWindowToken.java | |
parent | d3ae220286c2f98ec7739d228a85a24987759506 (diff) | |
download | frameworks_base-2fb98b147b58210604dfaf1482f635ce8d8a0575.zip frameworks_base-2fb98b147b58210604dfaf1482f635ce8d8a0575.tar.gz frameworks_base-2fb98b147b58210604dfaf1482f635ce8d8a0575.tar.bz2 |
Minor refactoring prior to major refactoring.
Removal of blur layer.
Deferral of Surface actions in BlackFrame from ctor to first use.
Combine common test into single method okToDisplay().
Remove redundant logic in DimAnimator.
Change-Id: I43af0415794a8f142803ce94d7e17539aafac67d
Diffstat (limited to 'services/java/com/android/server/wm/AppWindowToken.java')
-rw-r--r-- | services/java/com/android/server/wm/AppWindowToken.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/wm/AppWindowToken.java b/services/java/com/android/server/wm/AppWindowToken.java index 3ae9f24..4b3d904 100644 --- a/services/java/com/android/server/wm/AppWindowToken.java +++ b/services/java/com/android/server/wm/AppWindowToken.java @@ -222,7 +222,7 @@ class AppWindowToken extends WindowToken { // This must be called while inside a transaction. boolean stepAnimationLocked(long currentTime, int dw, int dh) { - if (!service.mDisplayFrozen && service.mPolicy.isScreenOnFully()) { + if (service.okToDisplay()) { // We will run animations as long as the display isn't frozen. if (animation == WindowManagerService.sDummyAnimation) { |