updates for Android to handle missing focus query