commit | 875a6675a76182baafb3c04a40bd245737a7374c | [log] [tgz] |
---|---|---|
author | Urvang Joshi <urvang@google.com> | Mon Jun 05 11:59:35 2017 -0700 |
committer | Urvang Joshi <urvang@google.com> | Mon Jun 05 20:52:20 2017 +0000 |
tree | 9e2eedec92ec6fe5e59b618ebab4906d1b18aa30 | |
parent | e251825e6dc0a7ec31664f79d947253884b34a89 [diff] |
is_directional_mode: Check for directional modes directly. Earlier, the condition was negating all non-directional modes to check if a mode is directional. This was error-prone, e.g. when a new non-directional mode is added. By checking for directional modes directly, we avoid such errors. Change-Id: Ia4a62e278cd73078c53ed5096db646eff77f054e