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

Commit 7342e481 authored by Gary Mai's avatar Gary Mai Committed by android-build-merger
Browse files

Merge \"Contact editor RTL rendering fixes\" into nyc-mr1-dev

am: ae86b246

Change-Id: I3f1cdf332773a5daa2cf7ab2281cf561f570487b
parents e32ebcc7 ae86b246
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.net.Uri;
import android.provider.ContactsContract.Contacts;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
@@ -104,6 +105,8 @@ public class AggregationSuggestionView extends LinearLayout {
            dataText = suggestion.emailAddress;
        } else if (suggestion.phoneNumber != null) {
            dataText = suggestion.phoneNumber;
            // Phone numbers should always be in LTR mode.
            data.setTextDirection(View.TEXT_DIRECTION_LTR);
        }
        data.setText(dataText);
    }
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ public class TextFieldsEditorView extends LabeledEditorView {
            // Show the "next" button in IME to navigate between text fields
            // TODO: Still need to properly navigate to/from sections without text fields,
            // See Bug: 5713510
            fieldView.setImeOptions(EditorInfo.IME_ACTION_NEXT);
            fieldView.setImeOptions(EditorInfo.IME_ACTION_NEXT | EditorInfo.IME_FLAG_NO_FULLSCREEN);

            // Read current value from state
            final String column = field.column;