OSDN Git Service

Refresh state after loading conditions from xml.
authorFan Zhang <zhfan@google.com>
Mon, 25 Jul 2016 19:55:36 +0000 (12:55 -0700)
committerFan Zhang <zhfan@google.com>
Mon, 25 Jul 2016 20:58:39 +0000 (13:58 -0700)
commita0ebd1a9f0a628aaffcde9b9fcc7fb16c6f85f26
tree8c9729c677c49ca23b652068167b45480db195c8
parentd5b3043bba8d9e254f58f954cbe976485d5fe177
Refresh state after loading conditions from xml.

Fixes: 30330909

When start Settings, conditions is loaded from a xml with potentially
stale state. ConditionLoader needs to refresh states after reading xml
to make sure they are up to date.

Change-Id: Ice1b8bacb0486c5dd230b83670c1494710d1c061
src/com/android/settings/dashboard/conditional/ConditionManager.java