java.lang.IllegalStateException: Pid 19445 has exceeded the number of permissible registered listeners. Ignoring request to add
java.lang.IllegalStateException: Pid 19445 has exceeded the number of permissible registered listeners. Ignoring request to add. at android.os.Parcel.createExceptionOrNull(Parcel.java:2384) at android.os.Parcel.createException(Parcel.java:2360) at android.os.Parcel.readException(Parcel.java:2343) at android.os.Parcel.readException(Parcel.java:2285) at com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy.listenForSubscriber(ITelephonyRegistry.java:1140) at android.telephony.TelephonyRegistryManager.listenForSubscriber(TelephonyRegistryManager.java:231) at android.telephony.TelephonyManager.listen(TelephonyManager.java:5617)
public static int getStrength(final Context context)
这个方法每调用一次就多注册一个listener是不是有点问题
+1
+1
+1
+1
how can i remove this listener?
+1
telManager.listen(mMobilePhoneStateListener, PhoneStateListener.LISTEN_NONE)