riul88 / call-recorder-for-android

call-recorder-for-android fork
159 stars 98 forks source link

Hangs on HTC Sensation #18

Open abishai opened 9 years ago

abishai commented 9 years ago

CyanogenMod version 11-20150214

Program runs and tries to record call, but don't stop to do it after call end. Icon on notification drawer states the recording is running. Overall android interface becomes very slow and unresponsible. If I initiate another call, it throws error 'another application is using the microphone'. After the reboot, I see ~3kb 3gp file without any payload

W/PackageManager(  476): Not granting permission android.permission.WRITE_MEDIA_STORAGE to package com.android.soundrecorder (protectionLevel=18 flags=0x8be45)
W/PackageManager(  476): Unknown permission android.permission.STORAGE in package com.callrecorder.android
W/PackageManager(  476): Not granting permission android.permission.WRITE_MEDIA_STORAGE to package com.android.soundrecorder (protectionLevel=18 flags=0x8be45)
W/PackageManager(  476): Unknown permission android.permission.STORAGE in package com.callrecorder.android
W/PackageManager(  476): Not granting permission android.permission.WRITE_MEDIA_STORAGE to package com.android.soundrecorder (protectionLevel=18 flags=0x88be45)
W/PackageManager(  476): Unknown permission android.permission.STORAGE in package com.callrecorder.android
I/ActivityManager(  476): Start proc com.callrecorder.android for broadcast com.callrecorder.android/.MyPhoneReceiver: pid=1741 uid=10062 gids={50062, 1028, 1015}
D/Call recorder: ( 1741): RecordService recorderStarted
D/Call recorder: ( 1741): MyPhoneReciever phoneNumber null
D/Call recorder: ( 1741): RecordService onStartCommand
D/Call recorder: ( 1741): RecordService STATE_CALL_END
D/Call recorder: ( 1741): RecordService stopAndReleaseRecorder
W/ActivityManager(  476): Timeout executing service: ServiceRecord{425d2a48 u0 com.callrecorder.android/.RecordService}
E/ActivityManager(  476): ANR in com.callrecorder.android
E/ActivityManager(  476): Reason: Executing service com.callrecorder.android/.RecordService
E/ActivityManager(  476):   0% 1741/com.callrecorder.android: 0% user + 0% kernel / faults: 119 minor
I/ActivityManager(  476): Killing 1741:com.callrecorder.android/u0a62 (adj 0): background ANR
W/ActivityManager(  476): Scheduling restart of crashed service com.callrecorder.android/.RecordService in 404714ms
F/ProcessStats(  476): Starting service ServiceState{42556ef0 com.callrecorder.android.RecordService pkg=com.callrecorder.android proc=42556ef0} without owner
GreenLunar commented 9 years ago

Maybe related to #23