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

Commit eae92167 authored by Christopher Tate's avatar Christopher Tate Committed by Christopher Tate
Browse files

Logspam is spam

This turns out to happen a lot in normal usage, but we're logging
copiously about it each time.  It's reporting "oh hey we're already
in this state" -- and so the log is not useful anyway.

Logspam is spam.

Bug 15169507

Change-Id: Ie2d01ff1b0b3600dd9c15ccf83d60875558f1dc2
parent edcb2d0e
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -11370,15 +11370,12 @@ public class PackageManagerService extends IPackageManager.Stub {
                    if (cur.mPref.mAlways && cur.mPref.mComponent.equals(activity)
                            && cur.mPref.mMatch == (match&IntentFilter.MATCH_CATEGORY_MASK)
                            && cur.mPref.sameSet(set)) {
                        // Setting the preferred activity to what it happens to be already
                        if (DEBUG_PREFERRED) {
                            Slog.i(TAG, "Replacing with same preferred activity "
                                    + cur.mPref.mShortComponent + " for user "
                                    + userId + ":");
                            filter.dump(new LogPrinter(Log.INFO, TAG), "  ");
                        } else {
                            Slog.i(TAG, "Replacing with same preferred activity "
                                    + cur.mPref.mShortComponent + " for user "
                                    + userId);
                        }
                        return;
                    }