commit | e9819e6d5df372323582cf9ae7567062ffc6fca8 | [log] [tgz] |
---|---|---|
author | Jun Mukai <mukai@google.com> | Wed Jun 17 10:58:59 2015 -0700 |
committer | Jun Mukai <mukai@google.com> | Wed Jun 17 11:26:54 2015 -0700 |
tree | bbb942273425056c7bad7e0b432d46786ca57ff4 | |
parent | 4919827990b16ae22595d0b7cb123a875961d9be [diff] |
Add null-check for workspace/hotseat. I assumed that they are non-null, but reportedly it was wrong. This method can be invoked before the views are fully initialized. Also hotseat can be null as far as I see setupViews(), therefore null-check and 'importance stored' flag check should be done separately. Bug: 21779078 Change-Id: I3f17226f887c38adf2b1fb7ee2a016e00ffc0eb4