summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRuslan Tkhakokhov <rthakohov@google.com>2019-03-08 12:17:49 +0000
committerRuslan Tkhakokhov <rthakohov@google.com>2019-03-15 11:37:43 +0000
commit57263a6c34bffb20ee371818fefbbb164b048756 (patch)
tree34b04c063aa049c0c468ba5d184f124a6476d11e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8e0fb7d86df53614ea490ebb8a4ec32497968450 (diff)
Fix runtime restart: at com.android.server.backup.restore.FullRestoreEngine
When a full backup operation times out, resources are cleaned up including closing and nullifying pipes. However FullRestoreEngine.restoreOneFile() doesn't stop execution and can access the pipes causing RuntimeException. This CL adds a flag to show whether the operation has timed out and checks it before accessing the pipes. Bug: 126244736 Test: 1) atest RunBackupFrameworksServicesRoboTests 2) atest CtsBackupTestCases 3) atest CtsBackupHostTestCases 4) atest GtsBackupTestCases 5) atest GtsBackupHostTestCases 6) Manual: Test full backup/restore flow using Flipboard app Change-Id: If400142a6fceaa4065409774bbff1cad8b4c6163
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions