commit | 91c4cd51b4808e87c2634b3f98b60f1d6e62e43f | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Tue Oct 29 13:24:41 2013 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Oct 29 16:56:30 2013 -0700 |
tree | dc23f46c109e29690119d706f130f774a9d5d50e | |
parent | 69920427ea01421d34f3a7576bdd135527b20859 [diff] |
Always initialize local boolean variables when possible It's currently possible to reference deviceModeChanged in InputReader while it's in an unknown state. Change the style of initialization here and a few other places to better prevent this type of error. (cherry-pick of f583d0dcc6e5c1968c472c844f6c8fbbe036ad78.) Bug: 11433748 Change-Id: Ic450ca4afe50987b022db9d20bb1cb18ccf060cc