Call recording encoder/format choice 1/3

PS1: Adds a user option between NB AMR (the default) or HE-AAC for the encoding of call recording audio. Also changes the output format of the file appropriately (NB AMR now uses the NB_AMR output format and HE_AAC chooses the MPEG_4 output. File extensions are adjust accordingly as well).

This was in reponse to people complaining the quality of call recording audio is poor. It's noticibly better using HE-AAC, but filesizes are larger.

PS2: Removed unnecessary code in DialtactsActivity (see Teleservice patch). Removed whitespace and changed coding style to meet the standard

PS: Imported from kitkat and made working for lollipop
Signed-off-by: BlackDragon <blackdragon.fusionteam@gmail.com>

Change-Id: I2e55120966a9d788f15077c830f9313d0641f8ab
2 files changed
tree: 7b97d5fcb2883abd7207027071690796998eaf2c
  1. assets/
  2. res/
  3. src/
  4. tests/
  5. Android.mk
  6. AndroidManifest.xml
  7. proguard.flags