Fix bug #15877 - int->GravityFlags in DrawerLayout methods.