commit | fe56d3870dedf0d0a0f72ba1da8badd33c37e705 | [log] [tgz] |
---|---|---|
author | Sanjeev Garg <sangarg@codeaurora.org> | Thu Aug 13 17:08:39 2015 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Aug 13 23:12:52 2015 -0700 |
tree | 75c9bc7ea263721fd43dc99e2a089016f721b4a6 | |
parent | aa8e71215ad358d714c13073192f754615dda54c [diff] |
SnapdragonCamera: Fixing NullPointerException in onCreate of VideoModule As per new open camera optimization, setContentView is called after init. But VideoModule has a dependency in initialization on setContentView as if setContentView is not called before using mFilmStripView then its value is null. To avoid this changed the location of using mFilmStripView from initialization to onResume. Change-Id: I6f0116fa82554b11b06d733b3952e6596daa50d3