Hang up call when screen is locked

This commit is contained in:
Josh Perez
2022-01-24 15:32:09 -05:00
committed by GitHub
parent 884bfc0594
commit 44bfb77635
4 changed files with 37 additions and 0 deletions
+3
View File
@@ -22,5 +22,8 @@ export class PowerChannel {
powerMonitor.on('resume', () => {
send('power-channel:resume');
});
powerMonitor.on('lock-screen', () => {
send('power-channel:lock-screen');
});
}
}