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

Commit 4ec454a1 authored by lijilou's avatar lijilou Committed by Jilou li
Browse files

No need to make non-empty judgment.

In the BoundServiceInfo constructor, it is guaranteed that mComponentName cannot be a null value.

Flag: EXEMPT minor optimization
Change-Id: I2594ab0e0d41e1ca59c6b8b9a15b37741b3d01b2
parent 2ec10472
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -193,13 +193,9 @@ public interface ServiceWatcher {

        @Override
        public String toString() {
            if (mComponentName == null) {
                return "none";
            } else {
            return mUid + "/" + mComponentName.flattenToShortString();
        }
    }
    }

    /**
     * Creates a new ServiceWatcher instance.