commit | f039efa0da92fe6df1b8f130ee37c2add0361ef0 | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Wed Jul 05 09:26:25 2017 +0200 |
committer | Robin Lee <rgl@google.com> | Wed Jul 05 07:42:49 2017 +0000 |
tree | 9b6f7f1b9485e66a27dd8992b6006704afb353f1 | |
parent | 1a9fa0e1be010e437d315a9682d28d5d25a5c5d9 [diff] |
Don't assume device has a status bar (TVs don't) If this block of code doesn't find a StatusBar, it crashes the ActivityThread, which restarts every couple of seconds right up until the OS has had enough and decides to reboot. Test: flashall && adb logcat | grep '.SystemUIService: java.lang.NullPointerException' Bug: 62940302 Change-Id: Ib0adbadbc467df4941e03c7506762a7ec302d673