commit | 9955db636016e7f18358f7b5d24a14b55df4dabf | [log] [tgz] |
---|---|---|
author | Matthew Fritze <mfritze@google.com> | Tue Dec 20 09:37:21 2016 -0800 |
committer | Matthew Fritze <mfritze@google.com> | Tue Dec 20 11:39:10 2016 -0800 |
tree | c39bc6885d2dd1b8fa74ef26109942327deda094 | |
parent | ad5ccad4615457fe3f7321f71fa8741c0e509cb3 [diff] |
SearchFeatureProvider's context field is removed SearchFeatureProvider was holding on to a context and outlived the SettingsActivity, thus leaking the activity. The context was passed into most methods, and thus it makes more sense to pass it in to every method. Bug: 33677967 Test: Run MakeSettingsRoboTests Change-Id: Ia82f30e7e0b83587b4baeef28e81da6b8e4303fe