commit | 59595d1cad16653e73bfdf811386b037f8925569 | [log] [tgz] |
---|---|---|
author | Wu-cheng Li <wuchengli@google.com> | Fri Dec 11 20:00:15 2009 +0800 |
committer | Wu-cheng Li <wuchengli@google.com> | Mon Dec 14 14:45:01 2009 +0800 |
tree | 4bb1c70c5eeb014a0dcd958f2aa6e1503c7d317a | |
parent | b65537df206fd69317109ab8147440b0ba9f9c25 [diff] |
Avoid initializeRecorder during onPause. When on-screen setting is visible and home key is pressed, onPause will set mSetting to invisible and initializeRecorder() will be called in onVisibilityChanged(). That will cause exception if surface holder is still null. bug 2319111