commit | 9b8ae8038be65c2ec236bc04590716fbcd5363f6 | [log] [tgz] |
---|---|---|
author | Alistair Strachan <alistair.strachan@imgtec.com> | Wed Jul 17 10:34:36 2013 -0700 |
committer | Doug Zongker <dougz@android.com> | Mon Nov 18 09:51:32 2013 -0800 |
tree | 6340b6b0d4a5c088280eb8778ae13a355e8fa0da | |
parent | 9690e2b370f3f303ef75e1fd5c7fdbea8787d46a [diff] |
Fix rare crash seen when dereferencing backgroundIcon[NONE]. Because backgroundIcon[] is not initialized by the ScreenRecoveryUI constructor, it should be initialized explicitly to NULL in Init(). If it is not initialized, ScreenRecoveryUI::SetBackground() can fail for the NONE icon because the NULL test can fail and junk will be dereferenced. Change-Id: I4e3738d2e241ed90df43c984fb41e0072933f50a