commit | 53b993688f3c536d76bc5040989d307dcc811fbe | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Thu Oct 05 14:58:56 2017 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Thu Oct 05 15:06:31 2017 -0700 |
tree | 813525a29cced40252d347a6d6222da33c73f06a | |
parent | a9e345f886fe73435e727ef2ff286c2363c2a3c1 [diff] |
Instead of posponing state change until onResume, applying the state change directly in onCreate and onNewIntent() > State UI do not depend on view measurement and each state is able to adapt itself based on measure/layout. We do not need to wait for first layout pass before chaning the state. Bug: 67305604 Change-Id: I8906e3245cc07aac0038fe630e2a16875d4e8949