diff options
author | JW Wang <wangchun@google.com> | 2020-03-19 11:12:36 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-03-19 11:12:36 +0800 |
commit | 8cb6fe8c21afc3032a1f8a027ffbefbd83099e92 (patch) | |
tree | 8c0120c3f709f79ce77b1f44c2f781102897e92c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2490ec4d136686f6ab533b5882e0bc0b964fccf1 (diff) |
Override phenotype flags during tests
https://g3doc.corp.google.com/experiments/g3doc/mobile/phenotype/android/testing.md?cl=head#hermetic
Phenotype talks to a server to override the device config changes made
by the tests. Therefore, rollback expiration didn't happen as expected
and caused the test to fail.
We need to override the flags on our own during tests so the
device config values ('rollback_lifetime_in_millis' in this case)
won't be changed in an unexpected way.
Note this is the same fix as ag/10467568.
Bug: 151890602
Test: atest RollbackTest
Change-Id: Ie884e4807999d105f6224c46a39434e1f437ed1b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions