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

Commit c56096fe authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 5878 into donut

* changes:
  Add new attribute 'searchSettingsDescription' for use within an app's searchable.xml. This attribute defines the string to be shown as the description a searchable in the 'searchable items' section of system search settings.
parents 65363830 f763e8f4
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -3408,17 +3408,6 @@
 visibility="public"
>
</field>
<field name="donut_resource_pad22"
 type="int"
 transient="false"
 volatile="false"
 value="16843402"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="donut_resource_pad3"
 type="int"
 transient="false"
@@ -7302,6 +7291,17 @@
 visibility="public"
>
</field>
<field name="searchSettingsDescription"
 type="int"
 transient="false"
 volatile="false"
 value="16843402"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="searchSuggestAuthority"
 type="int"
 transient="false"
+5 −0
Original line number Diff line number Diff line
@@ -2880,6 +2880,11 @@
             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
        <attr name="queryAfterZeroResults" format="boolean" />
        
        <!-- If provided, this string will be used to describe the searchable item in the
             searchable items settings within system search settings. <i>Optional
             attribute.</i> -->
        <attr name="searchSettingsDescription" format="string" />

    </declare-styleable>

    <!-- In order to process special action keys during search, you must define them using
+1 −0
Original line number Diff line number Diff line
@@ -1123,6 +1123,7 @@
  <public type="attr" name="progressBarStyleInverse" />
  <public type="attr" name="progressBarStyleSmallInverse" />
  <public type="attr" name="progressBarStyleLargeInverse" /> 
  <public type="attr" name="searchSettingsDescription" />

  <public-padding type="attr" name="donut_resource_pad" end="0x0101029f" />