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
This commit is contained in:
jackqdyulei
2017-12-19 14:09:29 -08:00
parent 444989ad35
commit 15765a97fe

View File

@@ -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;
}