[Huawei Ascend P6, Mate] blacklord9:
Even after I disable the lockscreen sound it still happens. It seems to have something to do with the bluetooth version also for example my headphones are old and and cheap but my sony soundbar is new and probably has bluetooth 3.0 or 4.0 and it happens only 1/5 tines with the lock sound on. It still happens but its much better.

Edit: It started happening on the Soundbar after a while also...

Edit2: I don't think it happened on 4.2... It started from B510 onward.

Logcat:

From what I can see for some reason not shown in logcat the bluetooth audio just stops for no apparent reason when unlocking the device.

I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
E/v_gralloc( 134): FBIOPAN_DISPLAY failed
W/ContextImpl( 3364): Implicit intents with startService are not safe: Intent {
act=com.musixmatch.android.services.RemoteScrobblingService } android.content.Co
ntextWrapper.bindService:517 com.b.a.a.e:-1 com.tbig.playerpro.MediaPlaybackActi
vity.onResume:-1
I/ ( 5559): vendor op - 7
E/v_gralloc( 134): FBIOPAN_DISPLAY failed
E/WifiHW ( 538): wifi_send_command ret:0
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
E/v_gralloc( 134): FBIOPAN_DISPLAY failed
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
E/WifiHW ( 538): wifi_send_command ret:0
W/audio_hw_primary( 138): adev_set_parameters: unknown kvpairs: screen_state=on

E/audio_hw_primary( 138): adev_set_parameters: unknown kvpairs: screen_state=on

I/audio_a2dp_hw( 138): adev_set_parameters: state 1
I/audio_a2dp_hw( 138): out_set_parameters: state 1
I/str_params( 138): key: 'screen_state' value: 'on'
E/v_gralloc( 134): FBIOPAN_DISPLAY failed
I/ ( 5559): vendor op - 7
I/PhoneGlobals( 782): isJustRestoreFactory' value is false
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/PowerManagerService( 538): state=0
E/WifiHW ( 538): wifi_send_command ret:0
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8

I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
W/ContextImpl( 3500): Implicit intents with startService are not safe: Intent {
act=com.clarion.android.appmgr.service.IClarionService } android.content.Context
Wrapper.bindService:517 jp.co.asbit.pvstar.VideoActivity.onStart:521 android.app
.Instrumentation.callActivityOnStart:1175
I/ ( 5559): vendor op - 7
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
E/WifiHW ( 538): wifi_send_command ret:0
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/HwUpdateMonitor( 607): unRegisterCallback com.android.huawei.hwlockscreen.inf
ocenter.InfoCenterView$1@425b9a48, callback size = 1
I/HwUpdateMonitor( 607): unRegisterMonitor
E/WifiHW ( 538): wifi_send_command ret:0
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8
I/ ( 5559): vendor op - 7
I/ ( 5559): vendor op - 7
I/bt_userial( 5559): Select returned = 1
I/bt_userial( 5559): Available Bytes = 8