Skip to content

Commit 5eb509e

Browse files
authored
Release/7.1.2 (#547)
* Release 7.1.2-beta2 * Release 7.1.2-beta3 * Add comment for prioritization of the push iam * Release 7.1.2
1 parent 4359ff2 commit 5eb509e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

AndroidSDKCore/src/main/java/com/leanplum/actions/LeanplumActions.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ object LeanplumActions {
3535
*
3636
* Default value is true.
3737
*
38+
* If you set [useWorkerThreadForDecisionHandlers] flag as true, calling this method won't have
39+
* any effect and opening a chained message from a push notification won't dismiss currently shown
40+
* message.
41+
*
3842
* @param flag If true in-app is dismissed, otherwise push action goes into the queue.
3943
*/
4044
@JvmStatic
@@ -118,6 +122,12 @@ object LeanplumActions {
118122
@JvmStatic
119123
fun isQueueEnabled() = ActionManager.getInstance().isEnabled
120124

125+
/**
126+
* Setting this flag as true would have the methods of [MessageDisplayController] and
127+
* [MessageDisplayListener] to be invoked in a worker thread. Also the chained message from a push
128+
* notification won't have priority over the currently shown message and will go into the queue,
129+
* so calling [setDismissOnPushOpened] wouldn't have any effect.
130+
*/
121131
@JvmStatic
122132
var useWorkerThreadForDecisionHandlers = false
123133
}

sdk-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.1.1
1+
7.1.2

0 commit comments

Comments
 (0)