Merge "Make sure egl context is valid for the onTrimMemory call"