DescriptionAdd a way to reset cached command line arguments
Command line arguments are set at runtime in instrumentation tests
(see base.test.util.CommandLineFlags.java) and caching them breaks
some tests.
Added a reset counter, so that code caching the command line result
can check the counter to know when to checks the arguments again
TBR=yfriedman@chromium.org
BUG=514155
Committed: https://crrev.com/bef1072f72220ebc4c9a790f572c71ba86bf1777
Cr-Commit-Position: refs/heads/master@{#340457}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Use listeners instead of an atomic counter #
Total comments: 2
Patch Set 3 : Replace separate notify method call with posting a new message #
Total comments: 2
Messages
Total messages: 15 (3 generated)
|