Added a call to removeSplashScreen to Main.onPause

This should take care of the "View not attached" error

closes #13

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-05-02 11:10:44 -04:00
parent ea01b1686c
commit f366f2ae09

View File

@@ -403,6 +403,8 @@ public class Main extends FragmentActivity implements RegistrationCallback, MapF
protected void onPause() {
Log.i(TAG,"onPause()");
removeSplashScreen();
//remove wake lock if it is enabled
if(mWakeLock.isHeld())
mWakeLock.release();