Skip to content
Commit 6dad90e5 authored by Winson Chung's avatar Winson Chung
Browse files

Pre-emptively take a snapshot when finishing an activity before changing visibility

- Finishing an activity in force landscape will normally trigger a
  visibility change and configuration change before the closing apps
  are handled (when snapshots are normally taken) resulting in snapshots
  showing for the wrong orientation.  Preemptively take the screenshot
  if we know that we are finishing the activity and ignore the subsequent
  closing app snapshot.

Bug: 132687470
Test: Go into forced landscape app, back out of the app, then go to
      Overview and ensure that the full snapshot is shown in the right
      orientation

Change-Id: I8f9283188da00a09e499c3c16eff5b45fcaa73d1
parent 8fa9dd81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment