summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2018-05-15 13:32:06 -0700
committerPaul Lawrence <paullawrence@google.com>2018-05-15 20:38:45 +0000
commitb1a13f80936891b129b5afa6a167b2aaff27f213 (patch)
tree1a5380621f24f0ce65748d370c1c84a4deb9b1d7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent19c4ef269f454e953acc6be3b1c9a03d179ec4d3 (diff)
Don't cause infinite loop if windows manager crashes in safe mode
We set ro.sys.safemode=1 on startup in windows manager in safe mode so that safemode will be carried over to the second bounce for fde (see b/28008032). However, if windows manager restarts for any reason, it cannot set this value twice (read only) and throws. Don't set if already set. Bug: 79608610 Test: Kill Windows Manager in safe mode. Before this change, windows manager would reboot indefinitely. After this change, system comes back up quickly Change-Id: I05f3adfa801eef0e5a1357a19fb7a3bf61ce02eb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions