History

Mute when entering a domain

Gabriel Calero committed 8 years ago

Commit 611881e1 parent db45ace4 files · +12 −6Browse files

Showing the changes to interface/src/AndroidHelper.cpp (1 of 4 files). Show all

Unified · Split

interface/src/AndroidHelper.cpp+8−0
@@ -73,6 +73,14 @@ void AndroidHelper::notifyHeadsetOn(bool pluggedIn) { · 72 unmodified lines
7373 #endif
7474 }
7575
76+void AndroidHelper::muteMic() {
77+ auto audioClient = DependencyManager::get<AudioClient>();
78+ if (audioClient) {
79+ QMetaObject::invokeMethod(audioClient.data(), "setMuted", Q_ARG(bool, true), Q_ARG(bool, true));
80+ }
81+}
82+
83+
7684 void AndroidHelper::signup(QString email, QString username, QString password) {
7785 JSONCallbackParameters callbackParams;
7886 callbackParams.callbackReceiver = this;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t