Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a34eb91a authored by Teng-Hui Zhu's avatar Teng-Hui Zhu
Browse files

Make sure WebView get notified before the EGL context destroyed.

bug:5639899

Change-Id: Id778cf3dac1d2f6d6b8014b7a911b51dc14fcc8a
parent 30f1312b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {