Frameworks: fix auto hide statusbar

Change-Id: Icfca25fe80ae568b0cabbc74e4bef040b6b84868