fixed more old buttons, added some feedback changes too

This commit is contained in:
Shane Harris
2022-08-01 14:10:45 +01:00
parent 2b3efca3d2
commit 008d958976
18 changed files with 394 additions and 393 deletions
@@ -192,8 +192,8 @@ export class HeadsetSettingsComponent implements OnInit {
})
.catch(e => this.statusService.showStatus(e, true));
}
disableProximity() {
this.runAdbCommand('am broadcast -a com.oculus.vrpowermanager.prox_close')
disableProximity(shouldEnable) {
this.runAdbCommand('am broadcast -a com.oculus.vrpowermanager.' + (shouldEnable ? 'automation_disable' : 'prox_close'))
.then(() => {
this.statusService.showStatus('Disable proximity message sent OK!!');
})