Fix CTS Test Breakages for BarringInfo and RegFail

-Invoke barring info and reg failure with shell permission
 since they both require READ_PRECISE_PHONE_STATE.
-Store the result of onBarringInfoChanged() in a local variable.
 I don't how this got lost and not tested (since this was a
 straightforward breakage).

Bug: 149969906
Test: atest PhoneStateListenerTest
Merged-In: Ifcfda7e3caba4dd20a1acf89f332fed2624a1412
Change-Id: Ifcfda7e3caba4dd20a1acf89f332fed2624a1412
(cherry picked from commit 383444aa0ab1d253fa976ecba87136e33b91cd64)
1 file changed