diff options
| author | 2023-11-23 07:35:46 +0000 | |
|---|---|---|
| committer | 2024-08-13 06:59:28 +0000 | |
| commit | dedce7197023f81d410b8849375550e2d0e9d493 (patch) | |
| tree | c139070274c8f9b196229d8d6ead63c5902a8242 /api/api.go | |
| parent | 62253d6f1096b35ea88a50ef052451cba60b1ae0 (diff) | |
Correct argument order of wm density
Previous change mistakenly thought the arguments are:
 density [-d DISPLAY_ID] [-u UNIQUE_ID] [reset|DENSITY]
But the hint in help info is:
 density [reset|DENSITY] [-d DISPLAY_ID] [-u UNIQUE_ID]
Bug: 186124236
Bug: 355647098
Flag: EXEMPT bugfix
Test: Create a virtual display.
      Change the density of the display:
        adb shell wm density 300 -d 2
        adb shell wm density 300 -u "virtual:a.test,1000,VD,2"
      Print the density of the display
        adb shell wm density -d 2
        adb shell wm density -u "virtual:a.test,1000,VD,2"
Change-Id: Iaa3d0dc45958981d27f2bcdb7c095836ce2fcbe2
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions