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

Commit bb8ec4f7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Contacts: Remove the function of searching for number location"

parents 3c052b72 f778f0db
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@
    -->
    <bool name="config_show_group_action_in_action_bar">false</bool>

    <!-- configuration for show location -->
    <bool name="config_show_location">true</bool>

    <!-- Help URL pointing to main TOC for People. This is intentionally empty because
         the overlay will fill this in during build time. -->
    <string name="help_url_people_main"></string>
+3 −1
Original line number Diff line number Diff line
@@ -1370,8 +1370,10 @@ public class MultiPickContactActivity extends ListActivity implements
                    numberLabel = Phone.getDisplayLabel(context, callerNumberType,
                            callerNumberLabel);
                } else {
                    if (context.getResources().getBoolean(R.bool.config_show_location)) {
                        numberLabel = geocodedLocation;
                    }
                }
                numberLabelText.setText(numberLabel);
                numberLabelText.setVisibility(TextUtils.isEmpty(numberLabel)
                        ? View.GONE : View.VISIBLE);