Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche
authorAndrzej Hunt <ahunt@mozilla.com>
Mon, 01 Feb 2016 15:37:47 -0800
changeset 319179 4260f9f8a7181f212170275acd5286dd6c4c0282
parent 319178 507881a938b9db5f89f83892f0f66f9fd6236162
child 319180 38af002bb7340fc73b1d2d2c7e261cbf610a3bf7
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersliuche
bugs1243307
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche
mobile/android/base/java/org/mozilla/gecko/prompts/Prompt.java
--- a/mobile/android/base/java/org/mozilla/gecko/prompts/Prompt.java
+++ b/mobile/android/base/java/org/mozilla/gecko/prompts/Prompt.java
@@ -541,11 +541,16 @@ public class Prompt implements OnClickLi
             try {
                 list[i] = items.getBoolean(i);
             } catch(Exception ex) { }
         }
         return list;
     }
 
     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);
     }
 }