diff options
author | Justin Yun <justinyun@google.com> | 2020-07-31 23:07:17 +0900 |
---|---|---|
committer | Justin Yun <justinyun@google.com> | 2020-07-31 23:07:17 +0900 |
commit | 32f053b97ead0ed9660a9a38073b5788cc1906aa (patch) | |
tree | 2d0840b7859ef73422ca85b6eadffed81735dd31 /java/sdk_test.go | |
parent | 359d4f3374f4c985d999d51dd8115f5ecc4dddc5 (diff) |
Disable() must not be enabled unexpectedly
When a module is disabled by calling Disable(), it could be
unexpectedly enabled by the archMutator. For example, a module has
```
enabled : false,
arch : {
arm64 : {
enabled : true,
},
}
```
When this modules is disabled by calling Disable() before the
archMutator, it became enabled again ignoring Disable() command.
By defining the `ForcedDisabled` property, we can disable a module
regardless of `Enabled` property.
Bug: 161565086
Test: m
Change-Id: I443720715edbac25cb6d7c3d9eb1bc9806719161
Diffstat (limited to 'java/sdk_test.go')
0 files changed, 0 insertions, 0 deletions