Fix security vulnerability in getImeiForSlot.

Check the calling package identity before other permission check so
that user can't use this method to figure out if a package is installed
or not.

Bug: 185591473
Test: Manually use test app
Change-Id: I5824a008a73549a822aea187b4be6250c3c05fb3
1 file changed