File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
AndroidSDKCore/src/main/java/com/leanplum/actions Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments