trying to get back to weird android permission flags