Revert "Revert "media: add a flag for ion compatibility""

This reverts commit 9e2e55a7610ccfc5e875ae3d18859a3cfa39c084.

Change-Id: Ifbbf1cceac3e2dd2f864fcf6a92b097e9217bb9a