summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2020-02-03 19:03:43 +0000
committerGavin Corkery <gavincorkery@google.com>2020-02-07 10:56:36 +0000
commit333136cf334b54c90eba84c72e704465321ac76b (patch)
tree49282a8a78b24d870105f6bc12bf8baea97d662c /tools/aapt2/java/JavaClassGenerator.cpp
parent9f06ebc7910f43847f3d45c337fa8cdf6b0ffe8d (diff)
Log apexd reverts to StatsLog
When resuming sessions in StagingManager, check whether any apex sessions have an associated crashing native process, which indicates the session has been reverted by apexd. Keep track of this failure reason (there will be only one), and the one or more package names which have been reverted. Wait until the BOOT_COMPLETED broadcast (which needs to occur to know that StatsLog is ready) before logging through WatchdogRollbackLogger. Only log once per logging parent package, in the case that multiple packages with the same parent have been reverted. Test: atest WatchdogRollbackLoggerTest Test: atest ApexRollbackTests#testAutomaticBootLoopRecovery, check logcat to ensure revert is being correctly logged Bug: 138782888 Change-Id: I57999260a826e476e0a75abe1304a83768b4c819
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions