ActivityManagerNative: catch OutOfMemory exception at getTaskTopThumbnail

Change-Id: I0d4f5fcdae16d20ba6a0e96889d99a94b5b6175c
Freeing frame map

FileMap memory is never released until application exit

Release it now as the texture is already loaded and the memory
used for the packed resource can be released.

Change-Id: Id08a1e466337b3a0179684eb6a444e18147ee343
base: remove gradle configuration

Change-Id: Ib02b17b911444c9b186582c08abca3736ae82a4e
add iml files for opening projects in android studio

way faster and less messy

Change-Id: Ifb46a90c0f5eddd62cef719a445fbd9e67ca75d1