merge in jb-mr1-factory-release history after reset to jb-mr1-dev
merge in jb-mr1-factory-release history after reset to jb-mr1-dev
Make sure to move InCallScreen to back on disconnect

... even when the activity has been paused.

This fixes the issue where the display won't turn on when:
1. Get a phone call when the display is off.
2. Silence the call by pressing power.
3. Wait until the call is hung up.
4. Get another call.

If the activity is not in background at step 4, FLAG_TURN_SCREEN_ON won't
take effect.

TESTED:
11. have the screen off when the 1st call ends
  -> make outgoing call

12. have the screen on when the 1st call ends
  -> make outgoing call

211. have the screen off when the 1st call ends
  -> while the screen is still off, get another incoming call (screen turns on)
  -> while the screen is still on, hang up
  -> make outgoing call

212. have the screen off when the 1st call ends
  -> while the screen is still off, get another incoming call (screen turns on)
  -> turn the screen off and hang up
  -> make outgoing call

221. have the screen off when the 1st call ends
  -> turn the screen on, get another incoming call
  -> while the screen is still on, hang up
  -> make outgoing call

222. have the screen off when the 1st call ends
  -> turn the screen on, get another incoming call
  -> turn the screen off and hang up
  -> make outgoing call

- Repeat 211-222 with the screen initially on.

bug 7438025

Change-Id: Ib0315c6e1e943c422d29b0037444854a14718c1c
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: If0f2bbab52fa0d4c4f1b49042deda6fe5722dc80
Force emergency dialer to portrait mode

Bug: 7366835
Change-Id: I5d86d38436c7f3309ca56c6fb20c86b0e67d0585
Hit area for End Call changed from percent to deadzone.

Changed the implementation of SmallerHitTargetTouchListener from having
a percent based dead zone to having a pixel-defined dead zone.
Only affects the Secondary calling card and end-call button.

bug: 7416993
Change-Id: I92366380a22ff1c76a8fba043baa898eb8d41049
Adding "ABSENTNUMBER" to the list of known constants from network.

CDMA networks can sometimes send "ABSENT NUMBER" or "ABSENTNUMBER" as
the return number for incoming calls.  This gets converted to a better,
localized string within Phone.

Previously we were only recognizing the format with space.  This CL adds
"ABSENTNUMBER" to that list.

bug: 7226799
Change-Id: I1f4d65f2035ce207bce966f9829282e440af9610
When answering a call, stop ringing even if network takes too long to connect.

When answering a call, we tell the Ringer to stop ringing. However,
CallNotifier receives a continuous stream of PHONE_INCOMING_CALL events
which restarts the ringer.  The result is that the phone will start
ringing again if RIL takes too long to actually connect the call. Instead
of stopping the ringer once, this CL changes the code to "silence" the
ringer indefinitely for the current call. This piggy backs the same code
which silences the ringer when the user opts to silence the call instead
of answering it.

bug: 7439536
Change-Id: Ie2a1c83e147435821fca4d314414075c305d6aa3
Merge "Adding "ABSENTNUMBER" to the list of known constants from network." into jb-mr1.1-dev
Merge "When answering a call, stop ringing even if network takes too long to connect." into jb-mr1.1-dev
Import translations. DO NOT MERGE

Change-Id: Id3bcb43be8e5c13b1303e65f17df42283be3007e
Auto-generated-cl: translation import
Merge "Force emergency dialer to portrait mode" into jb-mr1.1-dev
Rename Ringtone category header in call settings

Bug: 7633821
Change-Id: I3f4b136e8f6aaa0bea27875183b9c880e2c17e0d
Import translations. DO NOT MERGE

Change-Id: I64fa30a5ea085680866f638a15ea0fba3961420b
Auto-generated-cl: translation import
Remove unused IExtendedNetworkService support

It was used in the cupcake era for docomo, and not used anymore.

Bug 7633569

Change-Id: I658bd5bd2f4d8d298a81d31a6b0b97ed1ccb7337
Change accessibility code to a timed dmtf signal instead of shortDtmfTone.

Only CDMA device RIL code supports sendBurstDtmfTone but the
accessibility code relied on that for sending dtmf tones. Add a 'timed
dtmf' function to perform a similar function without reliance on
burstDtmfTone code.

original CL adding this change: I85be84c5978d7580e58913ab0c8659a6a1ab7586
bug: 7553176

Change-Id: I1416e72bf497ce0706a0148606a44ad7c9445f5d
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Change notification settings in Phone

Add ringtone summary for Voicemail notification setting
Change Voicemail notification vibrate setting to checkbox

Bug: 7633821
Change-Id: Ifa10eb1989146ab10dc0e4b0218ff85906a7ae8f
Merge "Change notification settings in Phone" into jb-mr1.1-dev
Merge "Change accessibility code to a timed dmtf signal instead of shortDtmfTone." into jb-mr1.1-dev