summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Santiago Seifert <aquilescanta@google.com> 2022-09-22 19:08:27 +0000
committer Santiago Seifert <aquilescanta@google.com> 2022-09-22 19:10:12 +0000
commitee516e366dda870a482f1d526e295127df764b27 (patch)
tree27f286320261b3ebfc3bf96e7f81eb504cbb2abc /libs/androidfw/ResourceTimer.cpp
parent4f31d4f95d18ce3fd36d55eda9181513af6f93f9 (diff)
Prevent NPE in MediaRouter2ServiceImpl#dump
Replaces a use of get (expects the id) with valueAt, which expects an index. Also simplify anonymous runnable by using a lambda. Bug: 243116883 Test: adb shell dumpsys media_router Change-Id: Ib84a58bf1675ef2e60ca384a8e617e27f4ddd7de
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions