diff options
author | Tom Marshall <tdm@cyngn.com> | 2016-02-15 15:36:06 -0800 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2016-03-07 15:16:25 -0800 |
commit | 6c20b00105e405823aa3ec12479e52cc30c0df9c (patch) | |
tree | 607a9223c74ea58e8d62bce4874ebc281846c134 /verifier_test.cpp | |
parent | d66f66eb72fc72c17d1a292cfbeaf2ec08721327 (diff) | |
download | bootable_recovery-6c20b00105e405823aa3ec12479e52cc30c0df9c.zip bootable_recovery-6c20b00105e405823aa3ec12479e52cc30c0df9c.tar.gz bootable_recovery-6c20b00105e405823aa3ec12479e52cc30c0df9c.tar.bz2 |
recovery: Implement sysbar
Add a system bar (navigation bar) similar to the main Android system
with back and home buttons. This makes it easier for users to figure
out how to go back on devices that lack hardware buttons, and also
provides a quick way to get back to the main menu.
Note only buttons that do not have a hardware equivalent are shown, in
order to prevent redundancy and confusion.
Change-Id: I7538749978837571a8c250c3c8e54ac127b39d84
Diffstat (limited to 'verifier_test.cpp')
-rw-r--r-- | verifier_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/verifier_test.cpp b/verifier_test.cpp index 623ae64..a9d42c0 100644 --- a/verifier_test.cpp +++ b/verifier_test.cpp @@ -165,6 +165,10 @@ class FakeUI : public RecoveryUI { virtual int MenuItemStart() const { return 0; } virtual int MenuItemHeight() const { return 0; } + + virtual int GetSysbarHeight() { return 0; } + virtual int GetSysbarState() { return 0; } + virtual void SetSysbarState(int state) {} }; void |