diff options
author | zachh <zachh@google.com> | 2017-12-11 13:57:57 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-11 15:21:25 -0800 |
commit | 05b6a53db23cf8c2d90442d1c84c14fd09519390 (patch) | |
tree | f9bdf99f330393d3f5a8e2798ae0f97557296e46 /assets | |
parent | 04e88264e69ec2b6974a4d9d6acfa7cd27934e5a (diff) |
Don't save UI executor in UiListener.
When an activity is killed by the system, a new UiListener is created and attached, but it doesn't have its executor set. Rather than save it as an instance field, just get the Ui executor when needed, by passing the context to the listen method.
Bug: 70510707
Test: unit and manual via "don't keep activities" developer option
PiperOrigin-RevId: 178668338
Change-Id: I5360b525377edab5f3a117d1f0f50bf6da6a6f0c
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions