Use telephony-common

Change-Id: I1710418850040fc20afff4795ee4a85027203fc9
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
Merge "Using SystemVibrator in the cases other than Ringer.java" into jb-dev
am 50f832ae: Merge "Using SystemVibrator in the cases other than Ringer.java" into jb-dev

* commit '50f832ae3bade1bf464554eb8dbf402eb5957b63':
  Using SystemVibrator in the cases other than Ringer.java
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
merge in jb-mr0-release history after reset to jb-dev
am 086249ce: (-s ours) Use telephony-common - DO NOT MERGE

* commit '086249ce77a15d7a98857cadef39287c6e53e56f':
  Use telephony-common - DO NOT MERGE
Reconcile with jb-mr0-release jb-release

Change-Id: Id70d5c0ab02f7a667b7d266dc433b20cab95e3b1
am d4313692: Merge "Unnessary LOCAL_MODULE_TAGS"

* commit 'd4313692974eaf957ee07b4ef9d2b1a24a07ac0e':
  Unnessary LOCAL_MODULE_TAGS
am a627e853: Merge "Telephony: Fix alpha tag being overwritten by number"

* commit 'a627e85324936f2159a964e6d3658c39f376e3e0':
  Telephony: Fix alpha tag being overwritten by number
Merge branch 'master' of https://android.googlesource.com/platform/packages/apps/Phone into jb-aosp