Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
feat(policy): disable microphone policy
Browse files Browse the repository at this point in the history
Signed-off-by: Domingo Oropeza <[email protected]>
  • Loading branch information
DIOHz0r committed Jul 24, 2018
1 parent 46ccb5a commit 2a92965
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions install/policies/userInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,24 @@
'apple_max_version' => '0',
],

[
'name' => __('Disable microphone', 'flyvemdm'),
'symbol' => 'disableMicrophone',
'group' => 'ui',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => $category,
'comment' => __('Set microphone muted', 'flyvemdm'),
'default_value' => '0',
'recommended_value' => '0',
'is_android_system' => '0',
'android_min_version' => '1.0',
'android_max_version' => '0',
'apple_min_version' => '0',
'apple_max_version' => '0',
],

[
'name' => __('Disable ringer sounds', 'flyvemdm'),
'symbol' => 'disableStreamRing',
Expand Down
1 change: 1 addition & 0 deletions tests/src/Flyvemdm/Tests/CommonTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ public static function policyList() {
'Policy/disableScreenCapture',
'Policy/disableSpeakerphone',
'Policy/disableUnknownAppSources',
'Policy/disableMicrophone',
'Policy/disableStreamMusic',
'Policy/disableStreamRing',
'Policy/disableStreamAlarm',
Expand Down

0 comments on commit 2a92965

Please sign in to comment.