//leakcanary/leakcanary/AndroidLeakFixes/PERMISSION_CONTROLLER_MANAGER
PERMISSION_CONTROLLER_MANAGER¶
PERMISSION_CONTROLLER_MANAGER()
PermissionControllerManager stores the first context it’s initialized with forever. Sometimes it’s an Activity context which then leaks after Activity is destroyed.
This fix makes sure the PermissionControllerManager is created with the application context.
For Pixel devices the issue can be tracked here https://issuetracker.google.com/issues/318415056
Properties¶
Name | Summary |
---|---|
name | val name: String |
ordinal | val ordinal: Int |