Add null check to StreamUtils.inputStreamToStringSafe

HttpUrlConnecion.getInputStream/getErrorStream could return null on
connection issues.

Bug: 182298836
Test: atest
Change-Id: Id3bda6e79b62847710be223356cb51bd776a1069
2 files changed
tree: 46b74efb1d61212adc623e4a9da3bc073b172c27
  1. java/
  2. tests/
  3. Android.bp
  4. OWNERS
  5. PREUPLOAD.cfg
  6. README.md
  7. TEST_MAPPING
README.md

Service Entitlement

Service entitlement library exports the APIs for querying the service status, based on GSMA TS.43 spec.

How to debug

Log TAG to filter:

  • ServiceEntitlement

Enable logging the PII data:

Grand the permission:

adb root

Enable by system property:

adb shell setprop dbg.se.pii_loggable true

NOTE Debug option only available on devices which is built as userdebug.