Skip to content
Commit 793cef95 authored by Garfield Tan's avatar Garfield Tan
Browse files

Remove activity leak.

mState can be used across activities on configuration changes. This is
because even though we put it into Bundle, the bundle never leaves the
process so when we take State object, it's still the old one.

Test: No more activity leak after fixing. Auto tests pass.
Bug: 62147171
Change-Id: Ie805a85a56dc5b009dd0903e094fc5b8976f6b75
(cherry picked from commit 1071cea6)
parent ca4b65c1
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