| 103 | } |
| 104 | |
| 105 | Result PlatformFinalize() |
| 106 | { |
| 107 | dmAndroid::ThreadAttacher thread; |
| 108 | JNIEnv* environment = thread.GetEnv(); |
| 109 | if (environment != NULL) |
| 110 | { |
| 111 | environment->DeleteGlobalRef(g_SoundManager.m_SoundManager); |
| 112 | } |
| 113 | return thread.Detach() ? RESULT_OK : RESULT_FINI_ERROR; |
| 114 | } |
| 115 | |
| 116 | bool PlatformIsMusicPlaying(bool is_device_started, bool has_window_focus) |
| 117 | { |