commit | fbc46dc3c2be5f89041d9e4d3447bc65d303d43a | [log] [tgz] |
---|---|---|
author | Jim Miller <jaggies@google.com> | Thu Mar 01 16:15:27 2012 -0800 |
committer | Jim Miller <jaggies@google.com> | Thu Mar 01 16:15:27 2012 -0800 |
tree | 3ffb3162a55efdb995b2d746e42a9e0a75015fe9 | |
parent | 62f24df57a6240135cfd27c86430e1dda6c81916 [diff] |
Fix 6028595: Fix reboot loop in AccountUnlock due to null callback This fixes a bug where the device would get into a reboot loop due to having a null callback. The problem was that a recent change caused the callback to be used indirectly by the constructor before being set. The solution is to pass the callback to the KeyguardViewBase constructor which ensures it's ready by the time we call getCallback(). Change-Id: I2598fc5338be99977980e4dea41a096fb2a7ef7e