void Awake()
    {
        // Destroy this GameObject on platforms different from Android. Keep this handler in the editor for flow tests.
        if (Application.platform != RuntimePlatform.Android && !Application.isEditor)
        {
            Destroy(gameObject);

            return;
        }

        if (instance != null)
        {
            Debug.LogWarning("[AndroidAudioEventsHandler] Another instance of this singleton is present in the scene: " + Application.loadedLevelName);
            Destroy(this.gameObject);

            return;
        }

        instance = this;
        GameObject.DontDestroyOnLoad(gameObject);

        AndroidAppEventsBinding.RegisterAudioMgrEventsHandler(name, strRingerModeChangedEventName);
    }
	void Awake()
	{
		// Destroy this GameObject on platforms different from Android. Keep this handler in the editor for flow tests.
		if (Application.platform != RuntimePlatform.Android && !Application.isEditor)
		{
			Destroy(gameObject);
			
			return;
		}
		
		if (instance != null) 
		{
			Debug.LogWarning("[AndroidAudioEventsHandler] Another instance of this singleton is present in the scene: " + Application.loadedLevelName);
			Destroy(this.gameObject);
			
			return;
		}
		
		instance = this;
		GameObject.DontDestroyOnLoad(gameObject);
		
		AndroidAppEventsBinding.RegisterAudioMgrEventsHandler(name, strRingerModeChangedEventName);
	}