Skip to content

Commit

Permalink
fixed proximity enable status message
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Harris committed Aug 5, 2022
1 parent e578e44 commit 50bcaaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 50bcaaf

Please sign in to comment.