Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdb6a194 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Read "enabled" attribute of Key from <key-style>

This is follow up change of I1ea82d9f.

Bug: 3384942
Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d
parent ea6c2e33
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -188,6 +188,7 @@ public class KeyStyles {
            readBoolean(keyAttr, R.styleable.Keyboard_Key_isModifier);
            readBoolean(keyAttr, R.styleable.Keyboard_Key_isSticky);
            readBoolean(keyAttr, R.styleable.Keyboard_Key_isRepeatable);
            readBoolean(keyAttr, R.styleable.Keyboard_Key_enabled);
        }

        private void readDrawable(TypedArray a, int index) {