Fix a incorrect type cast for alert dialog

Change-Id: I2265c4510785f88ef7950cd29779848eb2e58dc4
Fixes: 111488148
Test: manual
3 files changed