15-puzzle app reverted to usage of old CvCameraViewListener implementation;

super.onPause() call moved to begining of onPause method according Google recomandations.
This commit is contained in:
Alexander Smorkalov
2013-02-08 09:43:21 +04:00
parent f8720ec60e
commit 076941bb07
10 changed files with 14 additions and 15 deletions

View File

@@ -130,9 +130,9 @@ public class FdActivity extends Activity implements CvCameraViewListener2 {
@Override
public void onPause()
{
super.onPause();
if (mOpenCvCameraView != null)
mOpenCvCameraView.disableView();
super.onPause();
}
@Override