Skip to content

oboetester: AudioManager isSpeakerPhoneOn is flooding logcat #2316

@quicjaidshar

Description

@quicjaidshar

steps :
Open Oboe
Test Output
Check logs.
AudioManager's isSpeakerPhoneOn is flooding the logs.

It is coming via

protected class CommDeviceSniffer extends NativeSniffer {
    @Override
    public void updateStatusText() {
       showCommDeviceStatus();
    }
}

triggered from here
public void run() {
if (!isComplete()) {
updateStatusText();
}

    // When this is no longer enabled, stop calling run.
    if (mEnabled) {
        mHandler.postDelayed(this, SNIFFER_UPDATE_PERIOD_MSEC);
    }
}

->probably isComplete is not overriden in CommunicationDeviceView to mark sniffing complete.

Can you please check ?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions