Dialer: Fix possible crash in call details

* VOIP calling when multi-SIM is active can result in subscription being
  -1 at this point, resulting in array out of bounds when fetching the
  SIM icon.

Change-Id: I1ce2c3bb0b27b26b61967dfe90b38cc9740a1f54
Automatic translation import

Change-Id: Iae8421885752f7bf0bb985b8f74971ed347959a9
Dialer: do not assume which subscription to use in call detail header

This subscription is the last one used to make a call, and it is being
forwarded to the call intent. Let the receiver handle the logic of
picking which SIM (or whether to prompt) to use.

Change-Id: Ibed0b0b8faabb7ac20cc590a3dd327269b71b4f4
Signed-off-by: Roman Birg <roman@cyngn.com>
Dialer: fix last call card not initiating dial on click for multi sim

If we're not handling a SIP number, the intent/behavior should be the
same as with single sim devices.

Change-Id: Ib932dbd766c54c72caa39ebaf8540495aac202f7
Signed-off-by: Roman Birg <roman@cyngn.com>
Dialer: Use global settings name for MSIM

Change-Id: Ic2bc74b5d957ec43a7d7100dc0f724b922df5b5e
Dialer: Add config for IP call settings on dialpad

Change-Id: Ifc735504afeecc8c5eca00045bdaf20fa64e642b
Dialer: Filter IP call from call log context menu if config is false

Change-Id: I3b8852894d91aae8ef1bbdeffaea5077047f4c5e
Call recording encoder/format choice 1/3

PS1: Adds a user option between WB AMR (the default) or HE-AAC for the encoding
 of call recording audio. Also changes the output format of the file
 appropriately (WB AMR now uses the WB_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

PS3: Fixed whitespace, finally!

Change-Id: I95620bf944e18491652c716890396c3da4be70c4
Dialer : Add ability to delete from blacklist

Change-Id: I364cd26d178fb84eea314a2cd0d8f6ec23010857
Blacklist : Strip extension from number

Contacts with extensions in their numbers, fail to be blacklisted.
This resolves the issue.

Depends on : http://review.cyanogenmod.org/#/c/76298/1

Change-Id: I94f848e64972083ef8ddb728379953f788f418f3
Dialer: Move IP prefix call setting config to system property

Change-Id: Ie184c9ef0019e345848ba33cce45b88a485444ae
Merge branch 'cm-11.0' of https://www.github.com/CyanogenMod/android_packages_apps_Dialer into HEAD