commit | f583d0dcc6e5c1968c472c844f6c8fbbe036ad78 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Tue Oct 29 13:24:41 2013 -0700 |
committer | Michael Wright <michaelwr@google.com> | Tue Oct 29 14:17:54 2013 -0700 |
tree | dd87f8c468d5dac363f8ff35bcc0c75a03f82822 | |
parent | 62ce65d6edbc2c34c63b0e2f2fef9cb08e28c783 [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. Bug: 11433748 Change-Id: Ib332406aefb7cdb16b6a21e00dceaeca34679853