diff options
| author | Wale Ogunwale <ogunwale@google.com> | 2014-12-09 14:02:27 -0800 |
|---|---|---|
| committer | Wale Ogunwale <ogunwale@google.com> | 2014-12-09 14:02:27 -0800 |
| commit | eacdf2ce04899b0a3abef55e4e7e1fe9c1649932 (patch) | |
| tree | 64be072bce44741b4e28a7fe1771b2c8c2ea08fb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | 432067cc4b900850c7767fa41675281dd884b74a (diff) | |
Always take an activity screenshot when pausing.
http://ag/261732 introduced an optimization where we only take
the activity screenshot if is is not the activity we took a
screenshot for last. This causes us to display a stale screenshot
for activities that change their display content (using fragments)
without going through the pause/resume cycle. It should be safe
to always take a screenshot when we are pausing since the code
path is only called once per pause/resume cycle.
Bug: 18682160
Change-Id: Ie5c43cfd806286808af4233c5917ae7071908ebb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
