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

Commit 15765a97 authored by jackqdyulei's avatar jackqdyulei
Browse files

Fix bug in SummaryLoader

It should use msg.obj to detect whether to start listening, not
msg.arg1.

Bug: 70607303
Test: Build
Change-Id: I55c4d988f0ebb35f4be9039055eba7803c0b082f
parent 444989ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ public class SummaryLoader {
                    makeProviderW(tile);
                    break;
                case MSG_SET_LISTENING:
                    boolean listening = msg.arg1 != 0;
                    boolean listening = msg.obj != null && msg.obj.equals(1);
                    setListeningW(listening);
                    break;
            }