In prerelease, enable background throttling when not on a call
This commit is contained in:
parent
2f7226e200
commit
942ce16610
7 changed files with 59 additions and 2 deletions
|
@ -15,7 +15,11 @@ export class Context {
|
|||
|
||||
public readonly nativeThemeListener;
|
||||
|
||||
constructor(ipc: MinimalIPC) {
|
||||
constructor(private readonly ipc: MinimalIPC) {
|
||||
this.nativeThemeListener = createNativeThemeListener(ipc, window);
|
||||
}
|
||||
|
||||
setIsCallActive(isCallActive: boolean): void {
|
||||
this.ipc.send('set-is-call-active', isCallActive);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue