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

Commit

Permalink
feat(notification): add enable notification message on app data
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Hernandez <rhernandez@teclib.com>
  • Loading branch information
rafaelje authored and ajsb85 committed Apr 27, 2018
1 parent 3e29501 commit 1fae649
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/src/main/java/org/flyve/mdm/agent/data/AppData.java
Expand Up @@ -83,6 +83,22 @@ public void setDisableNotification(boolean status) {
setData("disableNotification", String.valueOf(status));
}

/**
* Get if the notifications are disable
* @return boolean the value represented by the string
*/
public boolean getEnableNotificationConnection() {
return Boolean.valueOf(getData("enableNotificationConnection"));
}

/**
* Set if the notifications are disable
* @param status enable / disable
*/
public void setEnableNotificationConnection(boolean status) {
setData("enableNotificationConnection", String.valueOf(status));
}

/**
* Get if dark theme enable
* @return boolean the value represented by the string
Expand Down

0 comments on commit 1fae649

Please sign in to comment.