Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Sep 6, 2024
1 parent 5c3adaf commit 73b932d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private void resolveRestrictions() {

if (appRestrictions.containsKey("automatic_inventory")) {
editor.putBoolean("autoStartInventory", appRestrictions.getBoolean("automatic_inventory"));
enterpriseFeedback(getApplicationContext(), "automatic_inventory", "automatic_inventory option set successfully", appRestrictions.getBoolean("automatic_inventory").toString(), KeyedAppState.SEVERITY_INFO);
enterpriseFeedback(getApplicationContext(), "automatic_inventory", "automatic_inventory option set successfully", appRestrictions.getBoolean("automatic_inventory") ? "true" : "false", KeyedAppState.SEVERITY_INFO);
AgentLog.e("EMM - set automatic inventory to " + appRestrictions.getBoolean("automatic_inventory"));
editor.apply();
}
Expand All @@ -197,7 +197,7 @@ private void resolveRestrictions() {

if (appRestrictions.containsKey("auto_start_on_boot")) {
editor.putBoolean("boot", appRestrictions.getBoolean("auto_start_on_boot"));
enterpriseFeedback(getApplicationContext(), "auto_start_on_boot", "auto_start_on_boot option set successfully", appRestrictions.getBoolean("auto_start_on_boot").toString(), KeyedAppState.SEVERITY_INFO);
enterpriseFeedback(getApplicationContext(), "auto_start_on_boot", "auto_start_on_boot option set successfully", appRestrictions.getBoolean("auto_start_on_boot") ? "true" : "false", KeyedAppState.SEVERITY_INFO);
AgentLog.e("EMM - set auto start on boot to " + appRestrictions.getBoolean("auto_start_on_boot"));
editor.apply();
}
Expand Down

0 comments on commit 73b932d

Please sign in to comment.