aboutsummaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2012-12-17 10:52:58 -0800
committerDoug Zongker <dougz@android.com>2012-12-17 10:52:58 -0800
commitbb01d0c12b29e6ff4a9169c21c95408e7eb882c5 (patch)
treecb8243d9d034d18d84b66e7ece1435b1069cf2af /minui
parentaa0dbb25a0ae51a8e53018fe05bf59164d9804cb (diff)
downloadbootable_recovery-bb01d0c12b29e6ff4a9169c21c95408e7eb882c5.zip
bootable_recovery-bb01d0c12b29e6ff4a9169c21c95408e7eb882c5.tar.gz
bootable_recovery-bb01d0c12b29e6ff4a9169c21c95408e7eb882c5.tar.bz2
add NextCheckKeyIsLong() and EnqueueKey() methods
NextCheckKeyIsLong() is called right before each call to CheckKey() to tell the implementation if the key is a long-press or not. (To be used on devices with few buttons.) It's done as a separate method (rather than a parameter to CheckKey) to not break existing recovery UI implementations. EnqueueKey() can be called from CheckKey() to put arbitrary code codes in the synchronous queue (to be processed by HandleMenuKey). Change-Id: If8a83d66efe0bbc9e2dc178e5ebe12acd216324b
Diffstat (limited to 'minui')
0 files changed, 0 insertions, 0 deletions