Phone: Ignore restart ringer once silent requested when incoming call

Issue: When incall coming, press volume key can make the ringing silent, but
after you select SMS and cancel the dialog box, the ringer re-started.

Solution: Once silent requested when incoming call, keep ringer tone silent
until the call end.

Change-Id: I7261a9b39c7d0965c96971fda7031b385c7a084f
Author: Zhuangzhi Li <zhuangzhi.li@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 32156
Merge "Phone: Ignore restart ringer once silent requested when incoming call"
am 1033d6e0: Merge "Phone: Ignore restart ringer once silent requested when incoming call"

* commit '1033d6e019d448040ed385ae6919efa735ad0e1a':
  Phone: Ignore restart ringer once silent requested when incoming call
am 3fe04dc9: Fix for bug #8146846 Phone App should be mirrored for RTL languages

* commit '3fe04dc9e04ea15b5545169c3c54af9f133d6fe6':
  Fix for bug #8146846 Phone App should be mirrored for RTL languages
am a1be3780: Fix for bug #8146846 Phone App should be mirrored for RTL languages

* commit 'a1be3780fc3660de09fa6f15be2b0e5a6e9344f6':
  Fix for bug #8146846 Phone App should be mirrored for RTL languages
am e77e1dcc: Add FW support for CellInfo RIL commands.

* commit 'e77e1dcc6d15ed53dc505c84ddd0f8f97ec51940':
  Add FW support for CellInfo RIL commands.
am a058f12d: Remove random DISCONNECT bug fix.

* commit 'a058f12de274bc651842a262c87309ae1789e4d1':
  Remove random DISCONNECT bug fix.
PhoneApp: Initialize ToneGenerator when needed

Whenever there is a radio tech change, mSignalInfoToneGenerator
is released and never created. This leads to phone app crash later
when it is accessed for toneplay. This is fixed by creating the
instance (if null) before calling the APIs.

Bug: 8609102
Change-Id: I2f2513624b66892018dc3191daf3e48c63f744a1
Merge "PhoneApp: Initialize ToneGenerator when needed"
am bf79aa2b: Merge "PhoneApp: Initialize ToneGenerator when needed"

* commit 'bf79aa2b3cdb32edca629cac59c9a0e5b29fba86':
  PhoneApp: Initialize ToneGenerator when needed
Fix a Cursor leak

When cursor is done, the cursor must be closed to avoid cursor leak.

Change-Id: I627cf2c8a64a220d6fd104505b852daca0928190
Fix a Cursor leak

When cursor is done, the cursor must be closed to avoid cursor leak.

Change-Id: I5f750a6bb499f86d4c76da40d171e9edfe6981d2
Fix a Cursor leak

When cursor is done, the cursor must be closed to avoid cursor leak.

Change-Id: I05181f426e7c2f21722838b1297591f0cf556495
am fff2f9bb: Secure some telephony broadcasts.

* commit 'fff2f9bbf6b448f47fcfef78c516030fda9bf580':
  Secure some telephony broadcasts.
am d745858e: Merge "Close inputstream for contact photo." into jb-mr2-dev

* commit 'd745858e8251c846df4b9d86ee3e3bee2b4ce186':
  Close inputstream for contact photo.
resolved conflicts for merge of 9a653728 to jb-mr2-dev-plus-aosp

Change-Id: I2853e53051a2c72e067e0bfb88a7f5d1a15bf920
am 946d8a7f: Display regulatory info from "*#07#".

* commit '946d8a7fd0d2cc34b4b8198c3c6d92d6c992ad1c':
  Display regulatory info from "*#07#".
am 4cba4c00: Merge "Stop showing incoming glowpad on outgoing call." into jb-mr2-dev

* commit '4cba4c0064207754944cba9df748ae17e9e76e35':
  Stop showing incoming glowpad on outgoing call.
Phone: Display toast message for blank USSD request

As per spec 24.080, ussd response string should be
between 1 - 160.
When user requests SEND_USSD with blank/no
input, display toast message prompting user
to enter valid input.

Bug: 7471891
Change-Id: Ic7b7b89e8a683011048a19cabd1d36a27bbae953
Merge "Phone: Display toast message for blank USSD request"