Fix crash on Android 2.3 caused by missing method

Bug: 49716