Merge "Make sure WebView get notified before the EGL context destroyed."

This commit is contained in:
Teng-Hui Zhu
2012-01-25 16:53:05 -08:00
committed by Android (Google) Code Review

View File

@@ -3741,7 +3741,6 @@ public final class ActivityThread {
}
final void handleTrimMemory(int level) {
WindowManagerImpl.getDefault().trimMemory(level);
ArrayList<ComponentCallbacks2> callbacks;
synchronized (mPackages) {
@@ -3752,6 +3751,7 @@ public final class ActivityThread {
for (int i=0; i<N; i++) {
callbacks.get(i).onTrimMemory(level);
}
WindowManagerImpl.getDefault().trimMemory(level);
}
private void setupGraphicsSupport(LoadedApk info) {