summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-08-01 15:41:37 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-08-01 15:43:32 +0800
commitfc31ea6d85223556e8511c04385c1789a209bf40 (patch)
tree5a7ad56aef85fc6d010708ff60b1243804d7ea84 /libs/androidfw/StringPool.cpp
parentbd5e0d9105f2995b7809dc2f3838885b2d1a5ee3 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions