Revert "modify cooper checks"

This reverts commit 9589955a511257f4a0c40e6e7b24b81269f2dfa1.
Fix previous commit (Convert to aosp)

forgot this