Calls are not rejected
I use this app to block all incoming calls on a data-only SIM. Single rule: *
I recently switched to a newer phone (and therefore newer Android version), and since then it hasn't worked. When a call comes in, I get a notification from NoPhoneSpam that the call has been rejected, but the call continues to ring until it times out or I reject it manually. In Settings -> Apps -> NoPhoneSpam -> Permissions, I see only "Telephone" and it is granted.
- App version: 0.2.1 (from F-Droid)
- Model: Pixel
- Android version: 8.1.0
- LineageOS version: 15.1-20180510-UNOFFICIAL-sailfish
logcat
output:
05-15 11:02:16.973 768 14639 I Telecom : : Adding new incoming call with phoneAccountHandle ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [****], UserHandle{0}: TSI.aNIC@E9Q
05-15 11:02:16.977 768 14639 I Telecom : PhoneAccountRegistrar: SimCallManager queried, returning: null: TSI.aNIC@E9Q
05-15 11:02:16.977 768 14639 I Telecom : Call: CallerInfo lookup returned null, skipping update: TSI.aNIC@E9Q
05-15 11:02:16.978 768 14639 I Telecom : LogUtils: EventRecord added as Call: [TC@6, NEW, null, null, A, childs(0), has_parent(false), [Capabilities:], [Properties:]]: TSI.aNIC@E9Q
05-15 11:02:16.978 768 14639 I Telecom : Event: RecordEntry TC@6: CREATED, null: TSI.aNIC@E9Q
05-15 11:02:16.982 768 14639 I Telecom : PhoneAccountRegistrar: SimCallManager queried, returning: null: TSI.aNIC@E9Q
05-15 11:02:16.983 768 14639 I Telecom : CreateConnectionProcessor: Trying attempt CallAttemptRecord(ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [****], UserHandle{0},ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [****], UserHandle{0}): TSI.aNIC@E9Q
05-15 11:02:16.983 768 14639 I Telecom : Event: RecordEntry TC@6: BIND_CS, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}: TSI.aNIC@E9Q
05-15 11:02:17.001 768 768 I Telecom : ServiceBinderConnection: Service bound ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}: SBC.oSC@E9U
05-15 11:02:17.001 768 768 I Telecom : Event: RecordEntry TC@6: CS_BOUND, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}: SBC.oSC@E9U
05-15 11:02:17.002 768 768 I Telecom : Event: RecordEntry TC@6: START_CONNECTION, null: SBC.oSC@E9U
05-15 11:02:17.007 768 3269 I Telecom : PhoneAccountRegistrar: SimCallManager queried, returning: null: (...->CS.aCSA->H.CS.aCSA)->CSW.qRCS@E-E-E9U
05-15 11:02:17.008 1613 1613 I Telephony: TelephonyConnectionService: onCreateIncomingConnection, request: ConnectionRequest Bundle[mParcelledData.dataSize=256]: (SBC.oSC)->CS.crCo->H.CS.crCo->H.CS.crCo.pICR@E-E9U
05-15 11:02:17.017 768 3269 I Telecom : Call: CallerInfo lookup returned null, skipping update: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.018 768 3269 I Telecom : Event: RecordEntry TC@6: CAPABILITY_CHANGE, Current: [[ sup_hld mut !v2a spd_aud]], Removed [[]], Added [[ sup_hld mut !v2a spd_aud]]: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.019 768 3269 I Telecom : Event: RecordEntry TC@6: FILTERING_INITIATED, null: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.019 768 3269 I Telecom : Event: RecordEntry TC@6: DIRECT_TO_VM_INITIATED, null: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.019 768 3269 I Telecom : Event: RecordEntry TC@6: DIRECT_TO_VM_FINISHED, [Allow, logged, notified]: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.020 768 3269 I Telecom : Event: RecordEntry TC@6: SCREENING_SENT, null: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.020 768 3269 I Telecom : CallScreeningServiceFilter: There are no call screening services installed on this device.: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.021 768 14705 I Telecom : Event: RecordEntry TC@6: BLOCK_CHECK_INITIATED, null: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.dIB@E-E-E9U
05-15 11:02:17.021 768 3269 I Telecom : CallScreeningServiceFilter: Could not bind to call screening service: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.021 768 3269 I Telecom : Event: RecordEntry TC@6: SCREENING_COMPLETED, [Allow, logged, notified]: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC@E-E-E9U
05-15 11:02:17.024 1613 1613 I Telephony: TelephonyConnectionService: notifyCreateConnectionComplete TC@6_1: (...->CSW.hCCC)->CS.crCoC->H.CS.crCoC@E-E-E-E9U
05-15 11:02:17.034 768 768 I Telecom : Event: RecordEntry TC@6: BLOCK_CHECK_FINISHED, [Allow, logged, notified]: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE@E-E-E9U
05-15 11:02:17.035 768 768 I Telecom : Event: RecordEntry TC@6: FILTERING_COMPLETED, [Allow, logged, notified]: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.035 768 768 I Telecom : CallsManager: setCallState NEW -> RINGING, call: [TC@6, NEW, com.android.phone/com.android.services.telephony.TelephonyConnectionService, null, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO CAPABILITY_SPEED_UP_MT_AUDIO],
[Properties:]]: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.036 768 768 I Telecom : Event: RecordEntry TC@6: SET_RINGING, successful incoming call: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.036 768 768 I Telecom : InCallController: onCallAdded: [TC@6, RINGING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, null, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO CAPABILITY_SPEED_UP_MT_AUDIO], [Properties:]]
; not bound or connected.: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.037 768 768 I Telecom : InCallController: defaultDialer: null: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.037 768 768 I Telecom : InCallController: defaultDialer: null: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.038 768 768 I Telecom : CarSwappingInCallServiceConnection: carmodechange: false => false: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.038 768 768 I Telecom : EmergencyCallHelper: ShouldGrantTemporaryLocationPermission, disabled by config: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.038 768 768 I Telecom : EmergencyInCallServiceConnection: Attempting to bind to InCall [ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl} supportsExternal? true supportsSelfMg?false], with Intent { act=android.telecom.InCallService cmp=com.android.dialer/com.android.incallui.InCallServiceImpl }: (...->CS.c
rCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.044 768 768 I Telecom : IncomingCallNotifier: updateIncomingCall: foundIncomingcall = null: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:16.922 682 993 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
05-15 11:02:17.044 14286 14286 I Dialer : ProximitySensor.updateProximitySensorMode - screenOnImmediately: false, dialPadVisible: false, offHook: false, horizontal: false, uiShowing: false, audioRoute: EARPIECE
05-15 11:02:17.044 14286 14286 I Dialer : ProximitySensor.turnOffProximitySensor - wake lock already released
05-15 11:02:17.045 14286 14286 I Dialer : InCallPresenter.onCallListChange - Phone switching state: NO_CALLS -> NO_CALLS
05-15 11:02:17.045 14286 14286 I Dialer : VideoPauseController.setUp - enter
05-15 11:02:17.046 768 768 I Telecom : PhoneStateBroadcaster: Broadcasted state change: 1: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.047 768 768 I Telecom : TelecomWakeLock: Acquiring WakeLock with id: 26: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.047 768 910 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x1000010 (has extras) } to ProcessRecord{cd3f601 1434:com.android.systemui/u0a33} (pid=1434, uid=10033) requires android.permission.READ_PHONE_STATE due to sender android (uid 1000)
05-15 11:02:17.047 768 768 I Telecom : InCallWakeLockController: Acquiring full wake lock: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.048 768 768 I Telecom : BluetoothPhoneService: updateHeadsetWithCallState numActive 0, numHeld 0, callState 4, ringing number [****], ringing type 128: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC@E-E-E9U
05-15 11:02:17.055 768 1702 I Telecom : CallAudioModeStateMachine: Message received: NEW_RINGING_CALL.: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC->CAMSM.pM_2002@E-E-E9U
05-15 11:02:17.055 768 1702 I Telecom : CallAudioModeStateMachine: Audio focus entering RINGING state: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC->CAMSM.pM_2002@E-E-E9U
05-15 11:02:17.056 768 1698 I Telecom : CallAudioRouteStateMachine: Message received: UPDATE_SYSTEM_AUDIO_ROUTE=1201, arg1=0: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC->CARSM.pM_UPDATE_SYSTEM_AUDIO_ROUTE@E-E-E9U
05-15 11:02:17.057 768 1698 I Telecom : CallAudioRouteStateMachine: setSystemAudioState: changing from [AudioState isMuted: false, route: EARPIECE, supportedRouteMask: EARPIECE, SPEAKER] to [AudioState isMuted: false, route: EARPIECE, supportedRouteMask: EARPIECE, SPEAKER]: (...->CS.crCo->H.CS.crCo->H.CS.crCo.pICR)->CSW.hCCC->ABCF.oPE->ICF.oCFC->CARSM.pM_UPDATE_SYSTEM_AUDIO_ROUTE@E-E-E9U
05-15 11:02:17.066 768 3269 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x1000010 (has extras) } to at.bitfire.nophonespam/.CallReceiver requires android.permission.READ_PRIVILEGED_PHONE_STATE due to sender android (uid 1000)
05-15 11:02:17.066 768 910 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x1000010 (has extras) } to com.google.android.ims/.receivers.PhoneStateChangedReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1000)
05-15 11:02:17.058 1415 1920 W HeadsetStateMachine: terminateScoUsingVirtualVoiceCall: No present call to terminate
05-15 11:02:17.062 1415 1415 D Avrcp : Ignore active media session change to telecom
05-15 11:02:17.080 1415 1923 W Avrcp : playState object null, sending STOPPED
05-15 11:02:17.085 1415 1923 D Avrcp : Skip adding telecom to the media player info list
05-15 11:02:17.088 1415 1923 I Avrcp : Skipping update due to invalid playback state
05-15 11:02:17.088 1415 1923 E Avrcp : play status change 0➡0 mPlayStatusChangedNT: 1
05-15 11:02:17.092 768 768 I Telecom : InCallController: onConnected to ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}: ICSBC.oSC@E9k
05-15 11:02:17.092 14395 14395 I NoPhoneSpam: Received call: null
05-15 11:02:17.093 768 768 I Telecom : InCallController: Adding 1 calls to InCallService after onConnected: ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}, including external calls: ICSBC.oSC@E9k
05-15 11:02:17.095 768 768 I Telecom : InCallController: 1 calls sent to InCallService.: ICSBC.oSC@E9k
05-15 11:02:17.097 1613 1809 I PhoneInterfaceManager: endCall: called without modify phone state.
05-15 11:02:17.098 14395 14395 W System.err: java.lang.SecurityException: MODIFY_PHONE_STATE permission required.
05-15 11:02:17.098 14395 14395 W System.err: at android.os.Parcel.readException(Parcel.java:2004)
05-15 11:02:17.098 14395 14395 W System.err: at android.os.Parcel.readException(Parcel.java:1950)
05-15 11:02:17.098 14395 14395 W System.err: at com.android.internal.telephony.ITelephony$Stub$Proxy.endCall(ITelephony.java:2043)
05-15 11:02:17.098 14395 14395 W System.err: at at.bitfire.nophonespam.CallReceiver.rejectCall(CallReceiver.java:96)
05-15 11:02:17.098 14395 14395 W System.err: at at.bitfire.nophonespam.CallReceiver.onReceive(CallReceiver.java:57)
05-15 11:02:17.098 14395 14395 W System.err: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3187)
05-15 11:02:17.098 14395 14395 W System.err: at android.app.ActivityThread.-wrap17(Unknown Source:0)
05-15 11:02:17.098 14395 14395 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
05-15 11:02:17.098 14395 14395 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
05-15 11:02:17.098 14395 14395 W System.err: at android.os.Looper.loop(Looper.java:164)
05-15 11:02:17.098 14395 14395 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6494)
05-15 11:02:17.098 14395 14395 W System.err: at java.lang.reflect.Method.invoke(Native Method)
05-15 11:02:17.098 14395 14395 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
05-15 11:02:17.098 14395 14395 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
05-15 11:02:17.100 14395 14395 W Notification: Use of stream types is deprecated for operations other than volume control
05-15 11:02:17.100 14395 14395 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
05-15 11:02:17.112 14286 14286 I Dialer : InCallPresenter.shouldAttemptBlocking - not attempting to block incoming call because framework blocking is in use
05-15 11:02:17.116 14286 14286 I Dialer : CallList.onIncoming - [DialerCall_1, INCOMING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:], children:[], parent:null, conferenceable:[], videoState:Audio Only, mSessionModificationState:0, CameraDir:-1]
05-15 11:02:17.116 14286 14286 I Dialer : InCallPresenter.startOrFinishUi - Start Full Screen in call UI
05-15 11:02:17.125 736 1580 D NuPlayerDriver: NuPlayerDriver(0xeee4fb80) created, clientPid(768)
05-15 11:02:17.129 14286 14286 I Dialer : StatusBarNotifier.buildAndSendNotification - notificationType=2
05-15 11:02:17.130 14286 14286 I Dialer : StatusBarNotifier.buildAndSendNotification - Canceling old notification so this one can be noisy
05-15 11:02:17.133 14286 14286 I Dialer : StatusBarNotifier.buildAndSendNotification - displaying notification for 2
05-15 11:02:17.141 14286 14286 I Dialer : InCallPresenter.onIncomingCall - Phone switching state: NO_CALLS -> INCOMING
05-15 11:02:17.141 14286 14286 I Dialer : VideoPauseController.onIncomingCall - oldState: NO_CALLS, newState: INCOMING, call: [DialerCall_1, INCOMING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:], children:[], parent:null, conferenceable:[], videoState:Audio Only, mSessionModificationState:0, CameraDir:-1]