1
0
mirror of https://gitlab.com/neothefox/LayTray synced 2026-03-23 21:54:54 +03:00

Hide notification from lockscreen

This commit is contained in:
NeoTheFox 2018-07-12 11:14:03 +03:00
parent a16083b21d
commit ab6068975d

View File

@ -94,6 +94,7 @@ implements SharedPreferences.OnSharedPreferenceChangeListener{
.setContentTitle(toast)
.setOngoing(true)
.setPriority(Integer.parseInt(options.getString("notificationImportance", "0")))
.setVisibility(Notification.VISIBILITY_SECRET)
.build();
}
iconManager.notify(0, indicator);