Fix possible thread visibility issue in CellConstraintObserver.
Related to #9030.
This commit is contained in:
parent
8b99af3eef
commit
cd007a20d7
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ public class CellServiceConstraintObserver implements ConstraintObserver {
|
|||
|
||||
private static final String REASON = CellServiceConstraintObserver.class.getSimpleName();
|
||||
|
||||
private Notifier notifier;
|
||||
private ServiceState lastKnownState;
|
||||
private volatile Notifier notifier;
|
||||
private volatile ServiceState lastKnownState;
|
||||
|
||||
private static CellServiceConstraintObserver instance;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue