Application.Quit() causes exception on Android

Hi all.

In our game we call Application.Quit() if the user presses the back button from the main menu. It appears that it does not work properly though and throws an exception inside Unity. The app looks like it quit, but if I take a look at the most recent apps, I can see my game still listed there with my dialog box asking whether or not I actually want to quit the game. If I select the game from the most recent app list, the game will launch from the beginning.

Do I need to do anything special with the notification manager before I quite the game?

This is what I see in adblogcat

11-30 14:50:01.277 14588-14617/? I/Unity: NullReferenceException: Object reference not set to an instance of an object
at NotificationManager.ClearAllLocalNotifications () [0x00000] in :0
at NotificationManager.OnApplicationQuit () [0x00000] in :0

(Filename: Line: -1)
11-30 14:50:01.442 582-31458/? D/NuPlayerDriver: notifyListener_l(0xf46ab080), (3, 98, 0), loop setting(0, 0)
11-30 14:50:01.660 14588-14875/? E/Unity: java.io.EOFException

(Filename: Line: 386)

Thanks
John Lawrie

Nevermind. This is actually in code I have access to.