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

Commit c0b3fa6b authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Fix as-you-type formatter for new contacts"

parents 151d6bd8 ede69077
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -49,9 +49,7 @@ public final class PhoneNumberFormatter {
            if (watcher == null || isCancelled()) {
                return; // May happen if we cancel the task.
            }
            if (mTextView.getHandler() == null) {
                return; // View is already detached.
            }
            // Setting a text changed listener is safe even after the view is detached.
            mTextView.addTextChangedListener(watcher);

            // Note changes the user made before onPostExecute() will not be formatted, but