fixed more old buttons, added some feedback changes too
This commit is contained in:
@@ -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!!');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user