Make request role dialog compatible with SmsDefaultDialog.

This change makes request role dialog compatible with
SmsDefaultDialog, by reading package name from getCallingPackage() and
only allowing reading package name from extras if the calling package
is the current default SMS app.

Bug: 110557011
Test: build
Change-Id: Ic7d3c27cc0dcee14b833a7f165b00971ee9077ab
2 files changed