summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2020-04-17 00:56:38 +0100
committerGavin Corkery <gavincorkery@google.com>2020-04-17 16:06:42 +0000
commit6bacdcd42edd525183aa147d12de74090b70ce94 (patch)
tree1b41e135443ccdcf71e32365c92e626cf7f31adf /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2bac15965943c6815799c85f4367717e421fd8f7 (diff)
Ensure userspace reboot is supported before logging
Ensure that userspace reboot is supported before performing any actions. Any call into UserspaceRebootLogger in the case that userspace reboot is not supported should be a no-op. It is unexpected to call into this class on an unsupported device, so log with ASSERT priority in this case. Test: atest UserspaceRebootHostTest Bug: 153648276 Change-Id: Ic3041ff3abe0d2641d3d99fc8e816f1f5c491a34 Merged-In: Ic3041ff3abe0d2641d3d99fc8e816f1f5c491a34 (cherry picked from commit eb52a694445a7fd5d9267d400995ebf2e53bbc67)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions