{"push_id":621424402,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b53de6e3959844d62c448aeffd6edd0e879c002e","before":"a703fcaa0f405861ee5f747287c5693cec9488f1","commits":[{"sha":"b53de6e3959844d62c448aeffd6edd0e879c002e","author":{"email":"7f9b5782f3ed23ae4e88501fb13a17622ef1a8b4@gmail.com","name":"Jack Palevich"},"message":"Make V11-V20 show/hide actionbar overlay work again.\n\nThe actionbar overlay show/hide works by swapping the main view\nbetween two custom styles, Theme.Holo and Theme.Holo.ActionBarOverlay.\n\nIt turns out that action bar styles must show the window title,\notherwise the actionBar will be invisible and code that calls\ngetActionBar will get a null action bar.\n\nThe bug was that when I updated the custom themes to support Material\nDesign, I mistakenly changed the custom theme Theme.Holo to inherit\nfrom the custom theme Theme, which hides the window title.\n\nHence, the window had a theme which hid the window title, and\ngetActionBar() returned null.\n\nFixed by undoing the earlier change of theme inheritance. Now the\ncustom Theme.Holo theme inherits from the system\nandroid:style/Theme.Holo (as it did originally) and this means that\nthe code gets a non-null action bar, and the actionbar can be\nshown/hidden again.\n\nFixes issue #409 \"action bar issue\". Tested on emulator running\nAPI level 19.\n\nI'm going to leave the extra actionBar == null checks that people\nadded to work around this bug. They're harmless and will help in\ncase there's ever some other reason that actionBar is null.","distinct":true,"url":"https://api.github.com/repos/jackpal/Android-Terminal-Emulator/commits/b53de6e3959844d62c448aeffd6edd0e879c002e"}]}