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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user