Show notification when stub is updated to full

This commit is contained in:
vvb2060
2022-02-14 23:15:46 +08:00
committed by John Wu
parent 3956cbe2d2
commit 77a275cbcd
5 changed files with 6 additions and 12 deletions
@@ -52,6 +52,7 @@ object Notifications {
@SuppressLint("InlinedApi")
fun updateDone(context: Context) {
setup(context)
val flag = PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT
val pending = PendingIntent.getActivity(context, 0, selfLaunchIntent(context), flag)
val builder = if (SDK_INT >= 26) {