OSDN Git Service

Make PhoneStateListeners not call TelephonyManager
authorRobert Greenwalt <robdroid@android.com>
Fri, 9 Oct 2009 04:15:52 +0000 (21:15 -0700)
committerRobert Greenwalt <robdroid@android.com>
Fri, 9 Oct 2009 07:54:31 +0000 (00:54 -0700)
commit98e0b146b80670b52805b4b210ef5582dad6bb68
treeea52741b3360ca06cd1d5697c38cd0c50be9e0f4
parent1184313cbea3b34a4596a90be7081551d36f251a
Make PhoneStateListeners not call TelephonyManager

Since the StatusBarPolicy is run in the System Process and shouldn't therefore call into
the Telephony process we decided to make sure all the needed info was passed along with the
original notifications.

bug: 2173053
services/java/com/android/server/TelephonyRegistry.java
services/java/com/android/server/status/StatusBarPolicy.java
telephony/java/android/telephony/PhoneStateListener.java
telephony/java/android/telephony/ServiceState.java
telephony/java/com/android/internal/telephony/DefaultPhoneNotifier.java
telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl
telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl
telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java