Teng-Hui Zhu 4a00ab2563 Make sure egl context is valid for the onTrimMemory call
It turns out that terminateHardwareResources can call into destroySurface
to make the current context 0, like in Gmail.

bug:6079959
Change-Id: I07b2f3e91d6276b6c8e1b48f72bc87d28337fe2f
2012-03-01 16:46:32 -08:00
..
2012-02-28 15:13:08 -08:00