Move starting window dim layers behind the activity window layers

- Currently, the dim layer is shown directly behind the requested window,
  which for translucent snapshot starting windows can cause the dim layer
  to show above the app window which is animating behind the starting
  window. Instead, when applying the dim layer to the starting window,
  override the layer to be behind the last window layer for the activity
  that the starting window represents.
- Also fix issue where the dim amount was not being copied for the snapshot
  starting window.

Bug: 63076430
Test: Launch assistant from Recents
Change-Id: I1f031e517a51ef7e1d6243b792c69997e10ea5b2
5 files changed