NEW_API: Expose queryAfterZeroResults searchable attribute.

If this attribute is provided and true, the searchable activity will be invoked for all queries in a particular session.
If set to false and the activity returned zero results for a query, it will not be invoked again in that session for supersets of that zero-results query. For example, if the activity returned zero results for "bo", it would not be queried again for "bob" as an optimization.

The default value is false.
This commit is contained in:
Satish Sampath
2009-06-11 16:33:05 +01:00
parent 35379abd46
commit d82108993f
2 changed files with 13 additions and 12 deletions

View File

@@ -3518,17 +3518,6 @@
visibility="public"
>
</field>
<field name="donut_resource_pad30"
type="int"
transient="false"
volatile="false"
value="16843394"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="donut_resource_pad4"
type="int"
transient="false"
@@ -6840,6 +6829,17 @@
visibility="public"
>
</field>
<field name="queryAfterZeroResults"
type="int"
transient="false"
volatile="false"
value="16843394"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="radioButtonStyle"
type="int"
transient="false"
@@ -62837,7 +62837,7 @@
type="float"
transient="false"
volatile="false"
value="0.0010f"
value="0.001f"
static="true"
final="true"
deprecated="not deprecated"

View File

@@ -1115,6 +1115,7 @@
<public type="attr" name="backupAgent" />
<public type="attr" name="allowBackup" />
<public type="attr" name="glEsVersion" />
<public type="attr" name="queryAfterZeroResults" />
<public-padding type="attr" name="donut_resource_pad" end="0x0101029f" />