Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fc31ea6d authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Fix command format of wm density

The getNextOption consumes an argument, which causes the format
becomes "wm density -d -d 2".

So change to not read the next argument too early. It only need
to get if a "-d" option is found.

Bug: 186124236
Flag: EXEMPT bugfix
Test: Create a virtual display.
      adb shell wm density -d 2
      It should output the density of the display
Change-Id: I41f7c4301693e189d2f819643dc9bea2e7d15439
parent bd5e0d91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment