diff options
author | Romain Guy <romainguy@google.com> | 2013-08-16 18:38:29 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-08-16 18:38:29 -0700 |
commit | 46bfc4811094e5b1e3196246e457d4c6b58332ec (patch) | |
tree | 10644c6a2e5dc6714be21a974fb86ce977d5bdf5 /core/java/android/view/WindowManagerGlobal.java | |
parent | b0a41ed3dcc34a2b4026f6cc8336796f3523aa21 (diff) | |
download | frameworks_base-46bfc4811094e5b1e3196246e457d4c6b58332ec.zip frameworks_base-46bfc4811094e5b1e3196246e457d4c6b58332ec.tar.gz frameworks_base-46bfc4811094e5b1e3196246e457d4c6b58332ec.tar.bz2 |
Fix hardware layers lifecycle
Bug #10075732
Hardware layers could survive across EGL terminate events.
Change-Id: Ie8565d55cb29fe6625fa1584d695edfecd37ab5e
Diffstat (limited to 'core/java/android/view/WindowManagerGlobal.java')
-rw-r--r-- | core/java/android/view/WindowManagerGlobal.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/view/WindowManagerGlobal.java b/core/java/android/view/WindowManagerGlobal.java index b183bb6..3dd96f5 100644 --- a/core/java/android/view/WindowManagerGlobal.java +++ b/core/java/android/view/WindowManagerGlobal.java @@ -21,7 +21,6 @@ import android.app.ActivityManager; import android.content.ComponentCallbacks2; import android.content.res.Configuration; import android.opengl.ManagedEGLContext; -import android.os.Debug; import android.os.IBinder; import android.os.RemoteException; import android.os.ServiceManager; @@ -29,7 +28,6 @@ import android.os.SystemProperties; import android.util.AndroidRuntimeException; import android.util.ArraySet; import android.util.Log; -import android.util.Slog; import android.view.inputmethod.InputMethodManager; import com.android.internal.util.FastPrintWriter; @@ -385,7 +383,7 @@ public final class WindowManagerGlobal { // known windows synchronized (mLock) { for (int i = mRoots.size() - 1; i >= 0; --i) { - mRoots.get(i).terminateHardwareResources(); + mRoots.get(i).destroyHardwareResources(); } } // Force a full memory flush |