AppCompatDelegate - fix cast exception am: 9262400138 am: 16e0e2e102
am: 8a7510637f

Change-Id: Ie005d596f05dbf5d1051ead0a546af6bf423e801