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

Commit 2faf6081 authored by Dave Bort's avatar Dave Bort
Browse files

Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
parent 7680d67d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@ import android.text.TextUtils;
import android.text.TextUtils.SimpleStringSplitter;
import android.text.style.CharacterStyle;
import android.text.util.Regex;
import android.util.Config;
import android.util.Log;

import java.io.UnsupportedEncodingException;
@@ -61,6 +60,9 @@ import java.util.regex.Pattern;
 * @hide
 */
public final class Gmail {
    // Set to true to enable extra debugging.
    private static final boolean DEBUG = false;

    public static final String GMAIL_AUTH_SERVICE = "mail";
    // These constants come from google3/java/com/google/caribou/backend/MailLabel.java.
    public static final String LABEL_SENT = "^f";
@@ -1195,7 +1197,7 @@ public final class Gmail {

        @Override
        public void onChange(boolean selfChange) {
            if (Config.DEBUG) {
            if (DEBUG) {
                Log.d(TAG, "MailCursor is notifying " + mObservers.size() + " observers");
            }
            for (MailCursorObserver o: mObservers) {