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:
parent
a16083b21d
commit
ab6068975d
@ -94,6 +94,7 @@ implements SharedPreferences.OnSharedPreferenceChangeListener{
|
|||||||
.setContentTitle(toast)
|
.setContentTitle(toast)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setPriority(Integer.parseInt(options.getString("notificationImportance", "0")))
|
.setPriority(Integer.parseInt(options.getString("notificationImportance", "0")))
|
||||||
|
.setVisibility(Notification.VISIBILITY_SECRET)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
iconManager.notify(0, indicator);
|
iconManager.notify(0, indicator);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user