decouple SW FLP and HW FLP overlay flags

currently there is only overlay flag shared by SW FLP and HW FLP. This
change allows having different overlay setting for sw / hw FLPs.

Change-Id: I643fa70380e7568ae851d23e87917a5b4b599fe8
CRs-Fixed: 622338
Fix very long app_name crash.

http://ibrahimbalic.com/2014/android-os-memory-corruption-bug/ found an stack overflow bug.
The very long app_name make libandroid_runtime allocate a very large array on stack, the stack may overflow to other data areas in this situation.
This patch allocate large array on heap instead of on stack to avoid segment fault when doing memcpy.

Change-Id: I99999569b852d43a9c7a6eb1fa80e9f1a1f4e2b2
frameworks/base: add "Accept all files" option for incoming files via Bluetooth [2/3]

This patch defines a key to store the option value in Settings Provider db.

Use together with https://gerrit.omnirom.org/6782/
 and https://gerrit.omnirom.org/6784/

Change-Id: I31275e3a88841891b9cd7c3109941821797cbab8
Fix API by adding hide declaration to BLUETOOTH_ACCEPT_ALL_FILES

Otherwise this will cause errors about API changes with make checkapi

Change-Id: I6275282630cd582aafd587adf81d50500f1ba844