OSDN Git Service

Don't update conditions on background threads
authorJason Monk <jmonk@google.com>
Wed, 25 May 2016 16:53:34 +0000 (12:53 -0400)
committerJason Monk <jmonk@google.com>
Wed, 25 May 2016 16:53:34 +0000 (12:53 -0400)
commit6cb280d14641327b32378504544d125bbc3bcaf3
tree464eb2281f9a52de3ebd757c0eb1f048c9ed08de
parent9579274cda38c552b43febe0980f0ec6bd07277d
Don't update conditions on background threads

Instead build a list and set it on the main thread to avoid
concurrent modification crashes.

Change-Id: I936fbeb70359583e55ae8ddcb0ea46b5753cb3b0
Fixes: 28794277
src/com/android/settings/dashboard/conditional/ConditionManager.java