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

Commit 82371dac authored by Li Li's avatar Li Li
Browse files

Fix misleading binderError log

The target process might be frozen or dead. Or just because the buffer isn't big enough to receive the transaction.

Flag: EXEMPT log only update
Bug: 404947736
Test: logcat
Change-Id: I886b1af5eb49c6fe3261376a61f7d620b8edb147
parent 05f66f7f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2297,8 +2297,7 @@ public class CachedAppOptimizer {
     */
    public void binderError(int debugPid, ProcessRecord app, int code, int flags, int err) {
        Slog.w(TAG_AM, "pid " + debugPid + " " + (app == null ? "null" : app.processName)
                + " sent binder code " + code + " with flags " + flags
                + " to frozen apps and got error " + err);
                + " sent binder code " + code + " with flags " + flags + " and got error " + err);

        // Do nothing if the binder error callback is not enabled.
        // That means the frozen apps in a wrong state will be killed when they are unfrozen later.