Skip to content
Commit b582b693 authored by Matt Pietal's avatar Matt Pietal
Browse files

Controls UI - Reuse behaviors

SysUI could crash when adding/removing listeners while state was being
refereshed. No longer add new behaviors on every state change. Keep
change of any existing behavior, and only create a new instance if
necessary.

Bug: 149577051
Test: Use togglerange over and over
Change-Id: I28a71ada9f1c26e2077b1c7ab2f843667bc071ff
parent 60892133
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment