Quiet Hours (3/3)

Change-Id: Ib1cbcb0ac3f0c0c2152d9539c73f5e4c0cb57c0c
Signed-off-by: sethyx <sethyx@gmail.com>
Using SystemVibrator in the cases other than Ringer.java

In ICS, Phone app was creating separate Vibrator instances in
Ringer.java and CallNotifier.java, while in Jellybean they started
relying on one single Vibrator Service.
See also Id928ffef9a87e2563198240e91184cf59ecebbb1.

It means vibrate()/cancel() calls from two files interfere with each
other. When "Emergency tone" is set to "Vibrate" in Sound Setting
(which is only available with CDMA devices), this causes unexpected
trouble; the "Emergency tone" vibration is canceled immediately by
Ringer's Vibrator#cancel() call. onPhoneStateChanged() is indirectly
calling the method.

This change stops using the Vibrator Service in the emergency vibration
case, so that two Vibrator objects won't interfere with each other.

TESTED (use CDMA phone):
- Set "Emergency tone" to "Vibrate", and make a phone call to "911"
-> The device should vibrate for hundreds of mills (even without a
   fix, it may vibrate for an instant, so need to check how long)

Bug: 6794250
Change-Id: I69e6c3d99b14b3c50c57ff5d59ca42f4ea18024f
Phone: implement noise suppression for phone calls (2/2)

Change-Id: I59720958e4cdd1c432ccd0a7dd51a4fb3ae9b848
Phone: Add Ring Delay feature

This allows the user to set the number of seconds
before the ringer goes off. This is useful when
vibrate is enabled to get "vibrate before ring".

Change-Id: If9e72333cc5ce8203bc764e918ad8082312dccb7
Turkis Translations Update for Phone

Change-Id: I298633fe2cf685cc994011a785996b43f4957528
Signed-off-by: Faatih Erdem <fatiherdem@outlook.com>
Phone: Updated czech translation

  Patch Set 2: Remove 2g/3g toggle translations from
  Ic59668716f735bab491df9905bfe99bae90afa31 they are
  added in that commit too.

Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
Change-Id: Ifc2e154e8a1d1af2d07b22ff8836734f009cb006
2G/3G toggle for applications

Allow applications (like Tasker) to change Network mode.

Patch-set 3: I don't know what is wrong with this commit, for me is working well.

Change-Id: Ic59668716f735bab491df9905bfe99bae90afa31
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
Support GSM AT commands for SMS over bluetooth (2/2)

Modifications required to support the older GSM "AT+" commands for SMS over
the bluetooth transport for use with car radios, etc. This must piggy back
on the existing handsfree code as the spec uses that channel for the commands.
(2 parts: frameworks/base and packages/apps/Phone)

packages/apps/Phone:
hooks into BluetoothHandsfree for watching/sending AT commands via
BluetoothSMSAccess, and also for the special PDU handler done at the JNI
level (see frameworks/base changes.) BluetoothSMSAccess contains all the
functional code for handling the actual SMS related AT commands and the
contentObserver for the SMS database.

Change-Id: Ia3e8d28e4676c7b5bf1b9afd828ab5e8ca05464a
Signed-off-by: Gary Dezern <garyd9@gmail.com>
Make call screen transparent

Make the background of multiview 25% black.
It allows to at least see whole image of incoming caller
Add national data roaming and make it optional (2/2)

    by Robin Morawetz (Rdlgrmpf) and Davor Bertovic (LorD ClockaN)

Change-Id: I9fccddf4d9081d228540d5e62f132383b9579c52
PhoneToggler: Fix toggler on LTE+GSM phones

NT_MODE_LTE_GSM_WCDMA was missing from the lists of acceptable
network modes

Change-Id: I6c3c38d63902c1c59cfa2e61ed5d8bcdd5bcb5f0
packages/apps/Phone: Dismiss previous dialog before updating network list

* After the network list is updated, the previous
"searching" dialog needs to be dismissed
even if the activity is paused.

* Manual network search query and responses are not synchronous.
This leads to multiple responses being processed consecutively.
A dialog is cleared on receiving the first response
and subsequent responses through exception when attempting to dismiss
the same dialog. Ignore the exception thrown by
dialogs as it is not benign.

Change-Id: Icc092b093af04ddfb15b2e5b30ac123577eab05c
Crs-Fixed: 319580, 326736
Remove  stale DELAYED_CLEANUP_AFTER_DISCONNECT

During phone switch due to RAT change,
any pending DELAYED_CLEANUP_AFTER_DISCONNECT
message in InCallScreen should be dropped.
If they are not dropped they will be accessing destroyed
phone objects even after phone switch.

Change-Id: Iec801f4150fbbcd36aaa3e207eb116c9597ba2c2
CRs-Fixed: 370584
Phone: Shows the list of the status PLMNs

Shows all the list of the PLMNs available but does not
highlight the status (unknown,available,current,forbidden)
PLMNs amongst them.

Shows the list of status (unknown,available,current,forbidden)
PLMNs.

Change-Id: If9986634116d3ebea8bf4a12882ac0b7adb8e420
Phone: Ignore touch during network operators search

When network search is in progress, the progress dialog is
dismissed if user taps the screen. This in-turn cancels
manual search and switches to the previous screen.
This behavior can be avoided if the dialog property is set
to ignore user touch events.
If required BACK key can be used to cancel search and move
to previous screen.

Change-Id: I00da1dfec78498d2f35f6bb5d49e42bb3ad43cc2
CRs-Fixed: 367631
Phone: Handle NullPointerException for Call Waiting functionality.

Display the processing dialog as soon as user enters "Additional
Call Settings" screen.This will avoid the user from clicking
on the checkbox, which is resulting in null pointer exception.

Change-Id: Ia5f22faf60ba3c680587f1376d0245ba400f6d46
CRs-Fixed: 303517
Phone: Fix to answer MT call when USSD session is on progress.

On receiving MMI Complete event for USSD cancel operation, InCallScreen
session was being ended. Changes done to move InCallScreen to
foreground after cancelling an USSD session if the call state is
not IDLE.

Change-Id: Id4c44152b64a6ff3334df31d27ccb64b303055a9
CRs-Fixed: 304191
Phone: Fix for emergency call display issue.

The callerInfo is not updated with connection address in case of
emergency and voice mail numbers.

Change-Id: If7187b5667dd469b96b4d30c25a2638e865d628c
packages/apps/Phone: Set initial focus for SimContacts.

Unable to navigate the contacts stored in SIM card thru keypad due to there is no intial focus.
Add mInitialSelection to zero, which is used to set the initial focus.

Change-Id: I97b7f5f085cdb97470a21171f00bde44a3ac73d3
Display IncallScreen when calling using AT command

Change-Id: Ia5cf3a54eebcc75677c8acdd4a21505ef0c86faf