diff options
author | Ruslan Tkhakokhov <rthakohov@google.com> | 2020-07-14 16:50:01 +0100 |
---|---|---|
committer | Ruslan Tkhakokhov <rthakohov@google.com> | 2020-07-14 22:29:27 +0100 |
commit | b0a213ef066a04181510c65cb8b71eacbd7712cf (patch) | |
tree | 3b76ebf8a1bdf35e14f609f698ce5694629eddeb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 77c7e4858ae60e988d5a28a4f1d904114b5a7d54 (diff) |
Refactor AppBackupUtils into BackupEligibilityRules
AppBackupUtils contains static utility methods for checking backup
eligibility of packages. Refactor it into an instance class called
BackupEligibilityRules to better reflect the responsibilities of the
class, encapsulate eligibility-related state as well as logic and
simplify testing. See the bug description for full rationale.
Bug: 161241479
Test: atest AppBackupUtilsTest
Change-Id: I8ae47ac2a15e3c70da8feab752dd8354951224ea
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions