SliceStore initialization get Looper from Phone

Use phone.getLooper() instead of Looper.myLooper() to prevent potential
NPEs. Looper.myLooper() might not have been initialized or called Looper.prepare() when SliceStore is first created/initialized, but the Looper from Phone is guaranteed to exist.

Bug: 255687685
Test: atest TelephonyManagerReadNonDangerousPermissionTest#testPremiumCapabilities
Test: manually verified no NPE
Change-Id: I5dc69be94cfab5fb7d99ea9834c2dca707b0c316
1 file changed