Camera button support 2/2

ported from: https://github.com/CyanogenMod/android_frameworks_base/commit/e0749499766be45165b912d0c6400f4c69982fe4

credit: CM