Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8210899 authored by Satish Sampath's avatar Satish Sampath
Browse files

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.
parent 35379abd
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
@@ -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" />