Dialer: cmcc bringup

Dialer: Move CAF strings

Change-Id: I7c75824fff4794a9fbf0d7a746ff163330297c1c
Dialer: Don't show voicemail layout in stats

Change-Id: I18f1bdf27a026486e79f307caf15fc57804d2548
Sync call_detail and call_stats_detail layouts.

Move the header controls into a common layout so the same controls are
present for both cases. This essentially reverts
d8ebf219d7716a9da16abc2bad9e5cb5c12e1d56 and replaces it with a better
solution.
Also properly hide/show secondary icon divider.

Change-Id: Ibafeededfde293128599becfab93c17dd84c1391
Dialer: Display action bar title for stats

Change-Id: I574b97a2c16a1d93f2c21fabf82f3e87122fe123
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	src/com/android/dialer/callstats/CallStatsDetailActivity.java
Fix call stats NPE

* There is already code to handle the case where thirdIntent is null
  without potentially derefering a null UI element. Use it.

Change-Id: I51e373d8108ba50f3843b42d188f2ad26ca3fb60
Rewrite speed dial feature.

Change-Id: I346bcf4552cdf2ddfd3c9b1219bc07c20332d1a2
Automatic translation import

Change-Id: I492f42644ec808b33187de8d2eaafded51db981b
Improve search UI.

Make highlighting color consistent to what is used elsewhere, and fix up
action bar layout theme.

Change-Id: Id4f7d2817e39d1721b96b4a2840a472271317eb2
Improve strings.

Change-Id: I852e220586d41f7c1f6b945a1efd2132fc615c5b
Fix call stats fragment layout.

Change-Id: I10bf2603a982f11f8e031db0dffa3f7039fa11ea
Fix menu don't display problem when input digits

- when inputs digit,the menu item was not initial,so it can't
  display

CRs-Fixed; 681096

Change-Id: I234beff4bd33547646c01303926a02238d1f99e5
Fix can't make call problem

- when comes a call from sub1,then transfer this card to sub2 and
  make call from dialpad,it will still uses slot1 to make call,so
  it is failed.

CRs-Fixed: 676027

Change-Id: I07eb57f3276a30fdc46324499e487122b03f1484
Dialer: Start VoiceMail interface directly when click voice mail

Start SelectSubscription when click voicemail in SpeedDialListActivity.

Make an intent to start CallFeaturesSetting add a sub to decide
which sim card's setting to start.

CRs-Fixed: 671167

Change-Id: I13689cd8a2f399a9abbe297d2be7ac3f0b54e493
Dialer: Add long click listener to support long press * or #

Do not support long press * or # to input ,(pause) or ;(wait).

Add long click listener to support long press * or #
to input ,(pause) or ;(wait).

CRs-Fixed: 641551

Conflicts:
	src/com/android/dialer/dialpad/DialpadFragment.java

Change-Id: I24d0e299984a80546d70a744580e2b093d3a95ae
Dialer: Don't delete '+' for number when enter select contact interface

The number we get from adapter has been formatted, so the '+' is
deleted.

Use the original number that we input When entering the select
contact interface.

CRs-Fixed: 662672

Conflicts:
	src/com/android/dialer/DialtactsActivity.java

Change-Id: I8fd5774be4ae03abf249409b4f869bd9adaed29c
Dialer: Show option menu items if phone number is empty

When the phone number is empty, there is no option menu items.

Show option menu items if phone number is empty.

CRs-Fixed: 649302

Change-Id: I1871a3d638a3ff1d389560703179a9df1c50bb0e
Dialer: Do not convert the number when it is a SIP number

Delete the character '@' and '.' from SIP number.

Do not convert the number when it is a SIP number.

CRs-Fixed: 639592

Conflicts:
	src/com/android/dialer/calllog/IntentProvider.java
	src/com/android/dialer/list/AllContactsActivity.java

Change-Id: I5c5c2cd4d29bb6de9f9c278627e891513af7d9c5
Dialer: Set the duration view visible when the call type is CSVT

The duration view is set gone when the call type is CSVT.

Set the duration view visible when the call type is CSVT.

CRs-Fixed: 640933

Change-Id: Ic4dd767ab57f0850d3197cf53a26a24931308932
Support to delete multi call log

- original design only support to detele all call log,so add the
  support to delete multi select call log.

Conflicts:
	src/com/android/dialer/calllog/CallLogActivity.java

Change-Id: I74a56b7666876207753e1349fd77920b32b500d0
Dialer: Send broadcast to cancel missed vtcalls notification

When entering the call log fragment, it only cancels missed voice
calls notification but ignores the video calls notification.

Send broadcast to let VideoCall app cancel the missed vtcalls.
notification.

CRs-Fixed: 636302

Change-Id: I00517dd627bcfe52446509e935fac96372539ce4
CSVT IMS: fix the csvt & ims call log display in call history.

Groups the incoming, outgoing and missed call together for the same number.

Change-Id: If12ec1f2dbc83e4136551f16a93ea10962cc6ca7
Dialer: Get SIM2 alias name with the correct keyword

Get SIM2 alias name with the incorrect keyword,
so the default name "SIM2" is displayed.

Get SIM2 alias name with the correct keyword.

CRs-Fixed: 626570

Change-Id: I7e25b50bba7f98686291388ef96d2e649be25e99
Add the duration type for call time in call log

- use a config to control whether need to display call duration
  type in call log.

Conflicts:
	res/values/config.xml
	src/com/android/dialer/CallDetailActivity.java
	src/com/android/dialer/PhoneCallDetails.java
	src/com/android/dialer/calllog/CallLogAdapter.java
	tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java

Change-Id: I8346aa8006dc48c541a859152cdb7097dfd6f5fe
IMS: add ims call log type in Dialer app .

Change-Id: I4b8bd9a13e917dc662464de3a7511aaa55309c00
Add call log search in dialer

- add the support to search call log by name and number in
  dialer for dsds and ssss

Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	src/com/android/dialer/calllog/CallLogActivity.java
	src/com/android/dialer/calllog/CallLogAdapter.java
	src/com/android/dialer/calllog/CallLogListItemHelper.java
	tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java

Change-Id: I963be0a96e06bf36ba47d042987144b25e8af7d4

Conflicts:
	src/com/android/dialer/calllog/CallLogAdapter.java
CSVT: when in videocall case, click dialer should go to video call screen.

Change-Id: Ice1647f8a287242c564eac88cc6bfceeca9ac31f
Correct the interface of fetch calls

- when fetch call log,the sub parmeter is wrong,correct the interface

Change-Id: I86f359df3d497c4514bbe94cc08af06e3de59ead
Dialer: Add IP call support in dialer

 - Add IP call option in dialer tab.
 - Add menu including "IP call","Edit number before call","Send
   text message","Add to contacts" in call log tab.

Conflicts:
	src/com/android/dialer/calllog/CallLogAdapter.java
	src/com/android/dialer/dialpad/DialpadFragment.java

Change-Id: Ib368c284c6196f00e356476a3b059d4f65122545
CSVT: fix "Missed Calls Only" tab.

Change-Id: Idfc66c07f0aa803e3aa2badcff1ddebda63a9fdf
CSVT: Hide the "Video call" option for non-CU mode.

Change-Id: I0a2f9f307fc297e906f0f749f6b39c07e8b9b980
CSVT: add CSVT calltype in calllog and CSVT entry in calllog details

Conflicts:
	src/com/android/dialer/CallDetailActivity.java

Change-Id: I1453e9740207607ddfb76493ce02f5bebc786be3
CSVT: CSVT entry in Dialer App.

Conflicts:
	res/values/strings.xml

Change-Id: If42e66fb490875e635648178da939249c318efdf
Catch the SQLiteFullException when updaing the call log database

SQLiteFullException happened when updating the call log database.

so catch the SQLiteFullException.

CRs-Fixed: 590692
Change-Id: I7ca093bbcae17852729ba5517676b9e801807962
Dialer: Add the subscription info for call log.

Add the subscription info on the call log and call detail activity.

 - add spinner to select "ALL SIMS","SIM1","SIM2" to filter call log
 - add spinner to select "ALL CALLS","INCOMING CALLS ONLY",
   "OUTGOING CALLS ONLY","MISSED CALLS ONLY"

Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	res/layout/call_log_list_item.xml
	res/values-zh-rCN/strings.xml
	res/values/strings.xml
	src/com/android/dialer/CallDetailActivity.java
	src/com/android/dialer/DialtactsActivity.java
	src/com/android/dialer/PhoneCallDetails.java
	src/com/android/dialer/PhoneCallDetailsHelper.java
	src/com/android/dialer/calllog/CallDetailHistoryAdapter.java
	src/com/android/dialer/calllog/CallLogActivity.java
	src/com/android/dialer/calllog/CallLogAdapter.java
	src/com/android/dialer/calllog/CallLogListItemViews.java
	tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
	tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java

Change-Id: Ib4ad371af61e9473dfe1b10e83abd2b1acaa7ef7

Conflicts:
	src/com/android/dialer/CallDetailHeader.java
Dialer: shows deviceinfo when input *#0000#

- it will start DeviceInfo.apk to display phone's deviceinfo
  after input *#0000#

Refer to https://review-android.quicinc.com/#/c/403996/1

Change-Id: Ia8b76774d6107e930f7eb1c2f7ab4991d783a536
Dialer: Hide "Add 2-sec pause" and "Add wait" if phone number is empty

There is no operation to hide "Add 2-sec pause" and
"Add wait" options.

When the phone number is empty, hide "Add 2-sec
pause" and "Add wait" options.

CRs-Fixed: 537440

Change-Id: Ia799e11808e57919f471437021e7d6d62edea07c
Dialer: Contact photo in call log can not change in time

When user changed contact's photo, call log will firstly use
cached photo.

Clear cache when data is changed.

CRs-Fixed: 525851

Conflicts:
	src/com/android/dialer/calllog/CallLogAdapter.java

Change-Id: I1c7c4ba34b3995371b478b2e8994d4fa56e54b68
Dialer: show all device IDs for multiple SIM devices

Show all device IDs for multiple SIM cards when dial "*#06#"

Conflicts:
	res/values-zh-rCN/strings.xml

Change-Id: I06c1e7a60d9a745d56c2b5382d53b5964c548aa9
Contacts: add speed dial support

allow user to set speed dial number from 2~9,when long click
these numbers,it will pop up a screen to set speed number
or dial out directly if you have been set it.

Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	res/values-zh-rCN/strings.xml
	res/values/strings.xml
	src/com/android/dialer/dialpad/DialpadFragment.java

Change-Id: I1537d77c8c9533822b17310ee73e7ebc18aedabf

Conflicts:
	src/com/android/dialer/dialpad/DialpadFragment.java
Dialer: remove obsolete values-en-rXX

We have a dedicated selector for search language,
so there's no more need to keep this.

Change-Id: I47bf4fb6dbe7881fb54949de4542ffe42331a009
Refine regexes for Das Telefonbuch.

Looks like private and business numbers have a slightly differing
format.

Change-Id: I7eae982fe81cf890686f49b88417e604ba0171a0
Automatic translation import

Change-Id: Ice20157d2b3cd7b0e13563b464f344c80567772f
Add reverse lookup provider "Das Telefonbuch" (DE).

Change-Id: I0ad72bb3e57da3d27fb1c50c58c112234c39b585
Automatic translation import

Change-Id: I0b1caecf09fe5cb0c8fa796d65dadaed5b1f1414
Dialer: Blacklist call recording for Australia.

Same as European/US laws as regards to this therefore
to protect CM I think we should disable this. .
Feel free to check with lawyers though.

http://review.cyanogenmod.org/#/c/70497/

Change-Id: I81db0d4aee4753dfecadec2961d094b1a98bafc3
blacklist call recording for US/EU mccs, remove sysprop flag for enabling

Change-Id: If3b7606a4457c30d8ea76f11e8cafb9fdd9a737a
Call recording service implementation, show recordings and allow playback in call history

Change-Id: I56bf6857d87260e20b6a84c4db6e463b0fd87dcc
Automatic translation import

Change-Id: Ie9fac7e47b7eb94cf7cd04a60ea897788ff781e3
Dialer: Fix T9 for Hebrew

Change-Id: I1c8be92acc1fc29b557eb7cda0d910cf036f3aea
Automatic translation import

Change-Id: I9c4094926226878690fc92bfbe05645b6dc1e70c
Return match positions to enable highlighting for CN smart dial

Change-Id: I9255c582708c2fbfe22e7a2bf3ad971da692e2a9
Read option for t9 search input locale and refresh smart dial db when locale changes

Change-Id: I3cd942741310f16678ed9eb675bbba2cbc72d5e8
Automatic translation import

Change-Id: I5d2b0efde2e10ec2043f198b92ebe3ebed5fd418
Dialer: Refactor SmartDial for additional languages

Adds Chinese support and improved Korean support.

p4: Refactor for transliterating the displayName.

Change-Id: Id3175c6f4eda4962be9d25bd43c24a834c3c5ff1
Add Korean smart dial map

Change-Id: I93b8efa9093fce4f125e6ebe5b02b5fd581cd01a

---------------------------------------------------------
Change-Id: I2f225138771da6bd6b2a468ad616b90c2c0a9d35