Check calling package before checking permission protection
Using the name of a third-party package targeting a lower API level can bypass the whole permission check in TelecomServiceImpl#getCallStateUsingPackage. Check the calling package first to avoid this. Bug: 190400974 Test: Unit test, test with debug app Change-Id: I2b0bfde41f006c2010381a85100ce931366abf57
Loading