fixes #16999, ref #15878. Test existence of the stopImmediatePropagation method, which is not available in Android 2.x. !strict.