commit | 4ce11e2d314a7e8cc20a1a2ded0b807d03aff02b | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Wed Sep 25 19:02:46 2019 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Thu Sep 26 14:54:19 2019 +0800 |
tree | b91d8e6ebf231429b9f0fab7ca86c1a955edc9d3 | |
parent | 679e5c0dca4f1cdb2b8dfdc92677591582b16bbf [diff] |
Fix crash on easter egg debug mode Because we use Androidx Toolbar so Activity.getActionBar will get null. It should use getSupportActionBar but this function only implement on AppCompatActivity and this need more change. Remove the set color call to prevent crash first and update the status bar color to suitable one. Fix: 141465269 Test: manual Test: atest DocumentsUIGoogleTests Change-Id: Ib23e0e46fec29b1079e053921bbd88e84ac8fdb2