Skip to content

Commit

Permalink
removes disable device call
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Greer committed Jan 16, 2025
1 parent cfb2f48 commit 161f8e7
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,7 @@ private void onForeground() {

if (sharedInstance.isInitialized()) {
if (sharedInstance.config.autoPushRegistration && hasStoredPermission && (isNotificationEnabled != systemNotificationEnabled)) {
if (!systemNotificationEnabled) {
sharedInstance.disablePush();
} else {
sharedInstance.registerForPush();
}
sharedInstance.registerForPush();
}

SharedPreferences.Editor editor = sharedPref.edit();
Expand Down

0 comments on commit 161f8e7

Please sign in to comment.