From 39666217d2c1c7fdc567c90a78b6c9512cc574d0 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Mon, 1 Feb 2016 15:37:47 -0800 Subject: [PATCH] Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche --HG-- extra : commitid : 1ngV1DKn5ym --- .../android/base/java/org/mozilla/gecko/prompts/Prompt.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mobile/android/base/java/org/mozilla/gecko/prompts/Prompt.java b/mobile/android/base/java/org/mozilla/gecko/prompts/Prompt.java index a6984773eac1..7236cb97bef0 100644 --- a/mobile/android/base/java/org/mozilla/gecko/prompts/Prompt.java +++ b/mobile/android/base/java/org/mozilla/gecko/prompts/Prompt.java @@ -546,6 +546,11 @@ public class Prompt implements OnClickListener, OnCancelListener, OnItemClickLis } public interface PromptCallback { + + /** + * Called when the Prompt has been completed (i.e. when the user has selected an item or action in the Prompt). + * This callback is run on the UI thread. + */ public void onPromptFinished(String jsonResult); } }