diff options
author | Vishnu Nair <vishnun@google.com> | 2018-11-16 13:28:14 -0800 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2018-11-16 13:29:28 -0800 |
commit | e626d58c1b0d09c10d7b5992f5860f7158589ddd (patch) | |
tree | bfea4e1f7ab6e2a006dad38ea26a94a459bb2d84 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5c0f4012cea82bace3b2c5c5d1944cdfc4286d0b (diff) |
ViewRoot: Notify app when surface is released from setWindowStopped
NativeActivities do not receive onNativeWindowDestroyed callback when the activity is stopped. If
the app still uses the window object after the window is destroyed, the app can crash.
Test: run native-plasma from Android NDK. Launch activity & press home. Verify from the logs app
receives onNativeWindowDestroyed callback when its stopped.
Bug: b/111948775
Change-Id: I1de76feb7f4974b77b42b56e592ff6444713c699
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions