OSDN Git Service

Fix summary lifecycle
authorJason Monk <jmonk@google.com>
Thu, 28 Apr 2016 14:42:10 +0000 (10:42 -0400)
committerJason Monk <jmonk@google.com>
Thu, 28 Apr 2016 14:42:10 +0000 (10:42 -0400)
commit8d8de1490536468bbc1061abca0f78ab0b682b3b
tree5cc49f0342c2795d6a99f6cc95ec36a53b95188f
parent18fbdd023bfbd9ea7747894c2d9464f66075b703
Fix summary lifecycle

Once more and probably not for all

Don't let multiple listening state changes get queued, this can cause
rapid changes like listening->not listening->listening.  Also store
listening state on the worker thread now that we drop some state
messages and only notify summaries when there is a state change.

Change-Id: I93a5f364e9b35929f9088e044ebefd9be69740e6
Fixes: 28319383
src/com/android/settings/dashboard/SummaryLoader.java