Bug 505920 - JobManager.beginRule leaks the interrupted state.

Continue to clear and react to the interrupted flag if it may
have been set by the job framework, but don't react to
interruptions that were definitely triggered outside the Job
framework (this is a workaround for the fact that some
existing unit tests are incorrectly interrupting their main
thread).

Change-Id: I31c9eb0c0172f0b478ef21bc07cf653a28281f30
Signed-off-by: Stefan Xenos <sxenos@gmail.com>
3 files changed
tree: 22a54f6e31e8c940ced6d4ce8eeb3b1e3493b953
  1. bundles/
  2. features/
  3. tests/
  4. .gitignore
  5. CONTRIBUTING.md
  6. pom.xml