Other than the issue above, the PR seems to work correctly. Thank you.
Added a setting for fullscreen.
Requires a restart though.
Full-screen option is now available. On devices without hardware menu button, the action bar will still be shown because there’s no other way to go to Settings. The main activity will be re-started automatically when full-screen settings is changed.
Thanks for your patch.