Move screenshot capture to Java-side.

Currently, the post-test screenshots are taken on the python after
the test has finished (and Activity destroyed). Moving the
screenshot capture into Android code so we can snap a pic before
Activity is gone.

Review-Url: https://codereview.chromium.org/2854823007
Cr-Commit-Position: refs/heads/master@{#470816}


CrOS-Libchrome-Original-Commit: fc8efc725e151ffc2f2584b75d9c52fd16cf3721
2 files changed
tree: 0e1ceed72ce81a181650a25ee5f57c2535aa28cb
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/