commit | df315180f0653702b470beea62f27927e45fab4b | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Wed Oct 21 17:50:22 2015 -0700 |
committer | Tony Wickham <twickham@google.com> | Wed Oct 21 17:50:22 2015 -0700 |
tree | 346143a3a1c19ee571dd751bede8d37950822b2e | |
parent | d5d7fa10af06518c055d0ce3199c6b65fd21429b [diff] |
Don't add cells to FocusLogic sparse matrix if they aren't focusable. Previously, any child of ShortcutAndWidgetContainer was added to the matrix, causing widgets (which aren't focusable) to be considered as potential targets to gain focus when an arrow key was pressed. But if the algorithm chose them, they couldn't take the focus so nothing happened (i.e. the focus stayed on the app/folder it was on before). Bug: 25126768 Change-Id: Id55fc310f7f58fb8795cce51dcefe4fd1210f788