TRDS: Darker Gallery

Change-Id: I632b252280118f61f356f4a6dae1039e02b82241
jni: fix C99 inline linking

Clang builds C code according to the C99 standard,
which provides different semantics for the inline
keyword than GCC's default behavior. This is the
correct behavior without any gnu extensions.

See here:
http://clang.llvm.org/compatibility.html#inline

Change-Id: I831a5189e027a2f0cb3c7d9cda56bd3701502863
Add WRITE_MEDIA_STORAGE permission

This fixes the issue where the images/pics are not
deleted from the android external 'SD Card' as android does not
allow writing to the external 'SD Card' with just the
WRITE_EXTERNAL_STORAGE permission.

Requires : https://gerrit.slimroms.net/#/c/2723

Change-Id: I34377160b8b8677abc3506d8aca72166b4129425
Optimized images

Change-Id: Ic4766618d4b5dd24b20e8761a1f9c56440844e15
Optipng -nc -nb -o7

Change-Id: I1df1f2fbb25d0835ba942e8dfdf4415bb2b83c0d