[modular] Fix & renable flaky 'last_focus_time' test

This crash happens when the sessionmgr shutdown sequence races with a
different process (a session shell) requesting PuppetMaster access,
which happened to already be destroyed.

The fix is to ignore puppet master requests if sessionmgr is
in its termination sequence. Also in other places we vend services.

MF-170 #done

Test=last_focus_time passes successfully after 30x runs.

Change-Id: I052bc1775c39d1372cd1ec30d4b5de19b954469e
3 files changed
tree: 77006502ce6cde3b111304fa9d3b702abead6302
  1. .clang-format
  2. .clang-tidy
  3. .gitignore
  4. AUTHORS
  5. BUILD.gn
  6. CONTRIBUTING.md
  7. LICENSE
  8. PATENTS
  9. README.md
  10. bin/
  11. boards/
  12. build/
  13. cloud/
  14. docs/
  15. examples/
  16. infra/
  17. lib/
  18. navbar.md
  19. packages/
  20. products/
  21. public/
  22. tests/
  23. third_party/
  24. web/
README.md

Peridot

Peridot is a framework for composed, intelligent and distributed user experiences.

Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.

State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.

Read more