Fix internal tests from flickerlib

The flickerlib currently crashes on its internal tests. It fails due to:
- Invalid use of Mockito's @InjectMocks
- Orphaned layers with parent Id 0 or -1
- Null pointer exception on screen recording.

Test: atest FlickerLibTest
Change-Id: I934219ea749c7d0d24ab5f738de74cb242696178
4 files changed
tree: a203f789d0839d52e2b9c1b3f16b5d6fdf27279c
  1. build/
  2. docs/
  3. emu_test/
  4. libraries/
  5. scripts/
  6. tests/
  7. utils/
  8. PREUPLOAD.cfg