Today I found the status bar in android 4.2.2 emulator is broken.I cannot pull it down. I have no idea what happened.
Try to make a little app wich pulls it down:
StatusBarManager statusBar = (StatusBarManager) getSystemService(STATUS_BAR_SERVICE);
statusBar.expand();
Permission is required in manifest:
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
abhishekmukherg
For what it's worth, as per this SO, it seems like it might be a bug in android. No response from Google as of the writing of this comment.
来源:https://stackoverflow.com/questions/15484062/my-status-bar-in-android-4-2-2-emulator-is-broken