commit | 0e4418f1329dd765dd8eed4927e2c04504442839 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Mon Jan 18 11:02:18 2016 +0000 |
committer | Rubin Xu <rubinxu@google.com> | Mon Jan 18 11:02:18 2016 +0000 |
tree | b792e2ab85622ec0878a33b7ffe874b42d09749c | |
parent | b68d2d5b68dc58fb7b75ce94af74de58a1b9d3f9 [diff] |
Reload active profiles when constructing WorkModeTile There seems to cases when after QSTile is constructed, handleUpdateState() is called without setListening(true) being called first. In the WorkModeTile case it leads to the tile removing itself. The fix is to reload active profile list in the constructor so handleUpdateState() would not remove itself because it thinks there is no active profile. Bug: 26178050 Change-Id: I3516c85ffcf00730c3afd67f9fdec1d41c781c0a