diff options
| author | nathch <nathch@google.com> | 2019-06-17 12:21:00 +0100 |
|---|---|---|
| committer | nathch <nathch@google.com> | 2019-06-17 18:02:10 +0100 |
| commit | e0e4c8238516d3995c0c754fd980a6b597c6ea51 (patch) | |
| tree | 284e5742a74a653a4c5c5852e6a122472a99f90b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 462f70fd7c24e90da4d27012b0d2d846b744a375 (diff) | |
Unsubscribe listeners when stopping UserBackupManagerService and remove unused code
Unsubscribe listeners as otherwise they schedule work on a stopped handler thread
after the user backup manager service is stopped
Also cleanup by removing unused code:
a) mBackupThread from BackupManagerService
b) TAG from BackupAgentTimeoutParameters
c) getRunningFullBackupTask from UserBackupManagerService
Bug: 135261178
Bug: 135180752
Test: 1. atest -v RunBackupFrameworksServicesRoboTests
2. atest -v $(find frameworks/base/services/tests/servicestests/src/com/android/server/backup -name '\''*Test.java'\'')
3. atest -v CtsBackupTestCases
4. atest -v CtsBackupHostTestCases
Change-Id: Ie199dd49c336a2519c0f8e6c8dda12d8cba8350a
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
