mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Update target SDK to 34.
This commit is contained in:
committed by
mtang-signal
parent
6424c6bc99
commit
dc7208922c
@@ -23,9 +23,13 @@ object PendingIntentFlags {
|
||||
return mutable() or PendingIntent.FLAG_CANCEL_CURRENT
|
||||
}
|
||||
|
||||
/**
|
||||
* Flag indicating that this [PendingIntent] can be used only once. After [PendingIntent.send] is called on it,
|
||||
* it will be automatically canceled for you and any future attempt to send through it will fail.
|
||||
*/
|
||||
@JvmStatic
|
||||
fun oneShot(): Int {
|
||||
return mutable() or PendingIntent.FLAG_ONE_SHOT
|
||||
return immutable() or PendingIntent.FLAG_ONE_SHOT
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user