{"action":"created","issue":{"url":"https://api.github.com/repos/Blankj/AndroidUtilCode/issues/606","repository_url":"https://api.github.com/repos/Blankj/AndroidUtilCode","labels_url":"https://api.github.com/repos/Blankj/AndroidUtilCode/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/Blankj/AndroidUtilCode/issues/606/comments","events_url":"https://api.github.com/repos/Blankj/AndroidUtilCode/issues/606/events","html_url":"https://github.com/Blankj/AndroidUtilCode/issues/606","id":353325831,"node_id":"MDU6SXNzdWUzNTMzMjU4MzE=","number":606,"title":"调用修复软键盘内存泄漏（fixSoftInputLeaks ）内存依然泄漏","user":{"login":"qianshengta","id":29747624,"node_id":"MDQ6VXNlcjI5NzQ3NjI0","avatar_url":"https://avatars3.githubusercontent.com/u/29747624?v=4","gravatar_id":"","url":"https://api.github.com/users/qianshengta","html_url":"https://github.com/qianshengta","followers_url":"https://api.github.com/users/qianshengta/followers","following_url":"https://api.github.com/users/qianshengta/following{/other_user}","gists_url":"https://api.github.com/users/qianshengta/gists{/gist_id}","starred_url":"https://api.github.com/users/qianshengta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qianshengta/subscriptions","organizations_url":"https://api.github.com/users/qianshengta/orgs","repos_url":"https://api.github.com/users/qianshengta/repos","events_url":"https://api.github.com/users/qianshengta/events{/privacy}","received_events_url":"https://api.github.com/users/qianshengta/received_events","type":"User","site_admin":false},"labels":[{"id":416776477,"node_id":"MDU6TGFiZWw0MTY3NzY0Nzc=","url":"https://api.github.com/repos/Blankj/AndroidUtilCode/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-23T10:46:45Z","updated_at":"2018-08-30T07:12:30Z","closed_at":"2018-08-24T07:00:46Z","author_association":"NONE","body":"  'com.blankj:utilcode:1.19.0'\r\n\r\n    @Override\r\n    protected void onDestroy() {\r\n        super.onDestroy();\r\n        //修复软键盘内存泄漏\r\n        KeyboardUtils.fixSoftInputLeaks(this);\r\n    }\r\n我在Activity调用onDestroy()的时候调用 KeyboardUtils.fixSoftInputLeaks(this);\r\n但是Leaks依然会报InputMethodManager内存泄漏\r\n![screenshot_2018-08-23-18-44-08](https://user-images.githubusercontent.com/29747624/44521200-df212800-a704-11e8-92d3-e61e7c5d7386.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Blankj/AndroidUtilCode/issues/comments/417213998","html_url":"https://github.com/Blankj/AndroidUtilCode/issues/606#issuecomment-417213998","issue_url":"https://api.github.com/repos/Blankj/AndroidUtilCode/issues/606","id":417213998,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzIxMzk5OA==","user":{"login":"Basakerone","id":17926247,"node_id":"MDQ6VXNlcjE3OTI2MjQ3","avatar_url":"https://avatars0.githubusercontent.com/u/17926247?v=4","gravatar_id":"","url":"https://api.github.com/users/Basakerone","html_url":"https://github.com/Basakerone","followers_url":"https://api.github.com/users/Basakerone/followers","following_url":"https://api.github.com/users/Basakerone/following{/other_user}","gists_url":"https://api.github.com/users/Basakerone/gists{/gist_id}","starred_url":"https://api.github.com/users/Basakerone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Basakerone/subscriptions","organizations_url":"https://api.github.com/users/Basakerone/orgs","repos_url":"https://api.github.com/users/Basakerone/repos","events_url":"https://api.github.com/users/Basakerone/events{/privacy}","received_events_url":"https://api.github.com/users/Basakerone/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T07:12:30Z","updated_at":"2018-08-30T07:12:30Z","author_association":"NONE","body":" fixSoftInputLeaks中view.getContext() == context   按照程序正常启动会从SplashActivity到MainActivity，那么view.getContext()就是mainactivity,所以你永远执行不了 declaredField.set(imm, null);，但是如果你放开判断那么就会出现输入法不弹出得问题，这个希望有个好得解决办法。"}}
{"actor":{"display_login":"Basakerone"}}