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

Commit f3b844b6 authored by Felipe Leme's avatar Felipe Leme
Browse files

Improved log when notifyViewEntered() is ignored because service is disabled.

Test: manual verification
Bug: nope

Change-Id: Ieb26fb2bdc6a6f5a59aa3e6ad041b252f43aae3a
parent d538e6b8
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -803,10 +803,6 @@ public final class AutofillManager {
                return true;
            }
        }
        if (sVerbose) {
            Log.v(TAG, "not ignoring notifyViewEntered(flags=" + flags + ", view=" + id
                    + ", state " + getStateAsStringLocked() + ", enteredIds=" + mEnteredIds);
        }
        return false;
    }

@@ -845,6 +841,9 @@ public final class AutofillManager {
        ensureServiceClientAddedIfNeededLocked();

        if (!mEnabled) {
            if (sVerbose) {
                Log.v(TAG, "ignoring notifyViewEntered(" + id + "): disabled");
            }
            if (mCallback != null) {
                callback = mCallback;
            }
@@ -995,6 +994,9 @@ public final class AutofillManager {
        ensureServiceClientAddedIfNeededLocked();

        if (!mEnabled) {
            if (sVerbose) {
                Log.v(TAG, "ignoring notifyViewEntered(" + id + "): disabled");
            }
            if (mCallback != null) {
                callback = mCallback;
            }