libcore wants int, not bool.