Is there any way to expand/collapse status bar of Android phone over ADB
?
Shell into the device (with adb shell
) and use the following commands to expand/collapse status bar:
# Expand status bar
service call statusbar 1
# Collapse status bar
service call statusbar 2
Note: If device is rooted the commands may need to be called as su
(with adb shell su
).
The service call was tested on a non-rooted device.
Another way. By using "adb shell cmd
"
adb shell cmd statusbar expand-notifications
adb shell cmd statusbar collapse
adb shell cmd statusbar expand-settings
Please check help for more:
adb shell cmd statusbar help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With