Skip to content

Conversation

@simonschiller
Copy link
Contributor

Proposed Changes

  • Detect calls to Fragment#setRetainInstance

Testing

Test: See FragmentStrictModeTest#detectSetRetainInstance

Issues Fixed

Fixes: 153737954

@simonschiller
Copy link
Contributor Author

Similarly to #139, we could only detect calls to Fragment#setRetainInstance, or we could broaden the scope and also detect calls to Fragment#getRetainInstance. What are your opinions on this?

@dlam dlam requested a review from jbw0033 March 15, 2021 19:19
@simonschiller simonschiller deleted the feature/set-retain-instance branch March 23, 2021 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants