[3/3]Settings: add "Accept all files" option for incoming files via BT
* Adapted for CM12.
* PS2: empty line fix
* PS3: variable name fix
BT server in AOSP will check MIME type of incoming file. Only those with
explicitly allowed types will be accepted. The MIME type whitelist is in
packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
But this can be annoying when we want to transfer RAR, APK or conf files
etc which do not exist in the list.
This patch adds the option "Accept all files" in
Settings -> Bluetooth -> menu.
This option is disabled by default, which ensures security.
Change-Id: I76e008211429bf3bd28183713043bee5d326c21a
Loading
Please register or sign in to comment