fixed proximity enable status message
This commit is contained in:
@@ -195,7 +195,7 @@ export class HeadsetSettingsComponent implements OnInit {
|
||||
disableProximity(shouldEnable) {
|
||||
this.runAdbCommand('am broadcast -a com.oculus.vrpowermanager.' + (shouldEnable ? 'automation_disable' : 'prox_close'))
|
||||
.then(() => {
|
||||
this.statusService.showStatus('Disable proximity message sent OK!!');
|
||||
this.statusService.showStatus((shouldEnable ? 'Enable' : 'Disable') + ' proximity message sent OK!!');
|
||||
})
|
||||
.catch(e => this.statusService.showStatus(e, true));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user